/* Layout: the logo, unrolled. Sky-paper hero with an instrument HUD over the etched logo landscape
   → forest-green band holding the chrome spice rack of photoreal swing-top jars → sky again for the
   four seasonal packs, story and FAQ → forest footer under an etched ridge. */
:root {
  --sky: #b3d4e6;          /* logo paper */
  --sky-hi: #cfe3ee;       /* sky near the top */
  --wall: #eef4f7;         /* wall behind the rack */
  --surface: #f8fbfc;
  --forest: #1e3a26;       /* logo ink */
  --band: #1f3a28;         /* forest ground */
  --on-band: #edf3ee;
  --on-band-soft: #b9cdbf;
  --moss: #4c6a3a;
  --ink-soft: #3d5547;
  --on-primary: #f4f8f5;
  --chalk: #1c1e1d;
  --chalk-text: #f3f1ea;
  --chrome-hi: #fbfdfe;
  --chrome-lo: #97a2aa;
  --glass: rgba(255, 255, 255, 0.36);
  --glass-edge: rgba(110, 135, 148, 0.55);
  --seal: #d9773a;
  --kraft: #c9a576;
  --kraft-dark: #a9844f;
  --line: rgba(30, 58, 38, 0.18);
  --shadow: rgba(20, 40, 50, 0.22);
  --warn: #9a5b12;
  --chili: #c0401f;
  --leaf-lite: #a3ad4a;

  --f-display: "Fraunces", "Cooper Black", Georgia, serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-chalk: "Gochi Hand", "Comic Sans MS", cursive;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --grid-line: rgba(30, 58, 38, 0.06);

  --step--1: 0.84rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 4.5vw, 3rem);
  --step-4: clamp(2.4rem, 6vw, 4.2rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky: #10202a; --sky-hi: #0b1820; --wall: #1a2c34; --surface: #182a32;
    --forest: #b4dcbc; --band: #11231a; --on-band: #dcebe0; --on-band-soft: #9fb8a6;
    --moss: #8fbf8f; --ink-soft: #b9cbc3; --on-primary: #0f1d18;
    --chalk: #0b0d0c; --chalk-text: #ecebe4; --chrome-hi: #d6dde2; --chrome-lo: #5d6a72;
    --glass: rgba(255, 255, 255, 0.1); --glass-edge: rgba(190, 210, 220, 0.35);
    --seal: #c0682f; --kraft: #a68558; --kraft-dark: #84663e;
    --line: rgba(180, 220, 190, 0.18); --grid-line: rgba(180, 220, 190, 0.05); --shadow: rgba(0, 0, 0, 0.5); --warn: #e2a65a; --chili: #e0623d;
    --snow: #c3d1db; --mtn-far: #3b5466; --mtn-mid: #2d4455; --mist: #15262f;
    --hill-far: #2c4a33; --hill-near: #1f3a28; --leaf: #4d7a45; --leaf-deep: #2d4d33; --leaf-lite: #7f8a3c; --bloom: #cfd0c4;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky: #10202a; --sky-hi: #0b1820; --wall: #1a2c34; --surface: #182a32;
  --forest: #b4dcbc; --band: #11231a; --on-band: #dcebe0; --on-band-soft: #9fb8a6;
  --moss: #8fbf8f; --ink-soft: #b9cbc3; --on-primary: #0f1d18;
  --chalk: #0b0d0c; --chalk-text: #ecebe4; --chrome-hi: #d6dde2; --chrome-lo: #5d6a72;
  --glass: rgba(255, 255, 255, 0.1); --glass-edge: rgba(190, 210, 220, 0.35);
  --seal: #c0682f; --kraft: #a68558; --kraft-dark: #84663e;
  --line: rgba(180, 220, 190, 0.18); --grid-line: rgba(180, 220, 190, 0.05); --shadow: rgba(0, 0, 0, 0.5); --warn: #e2a65a; --chili: #e0623d;
  --snow: #c3d1db; --mtn-far: #3b5466; --mtn-mid: #2d4455; --mist: #15262f;
  --hill-far: #2c4a33; --hill-near: #1f3a28; --leaf: #4d7a45; --leaf-deep: #2d4d33; --leaf-lite: #7f8a3c; --bloom: #cfd0c4;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background-color: var(--sky);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--forest);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: hidden;
}
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
h1, h2, h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.16em; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
/* logo-style tagline with rules either side */
.eyebrow.rule { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow.rule::before, .eyebrow.rule::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.92rem; text-decoration: none; border: 2px solid var(--forest); }
.btn-primary { background: var(--forest); color: var(--on-primary); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--sky-hi) 86%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--forest); }
.brand span { font-family: var(--f-display); font-weight: 850; font-size: 1.35rem; }
.nav { display: flex; gap: 22px; margin-right: 8px; font-family: var(--f-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; }
.nav a { color: var(--forest); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 880px) { .nav { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } }
.bag-btn, .lang-btn, .acct-btn { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 14px; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.88rem; }
.bag-btn { background: var(--forest); color: var(--on-primary); border: 0; }
.bag-btn svg, .lang-btn svg, .acct-btn svg { width: 18px; height: 18px; }
.acct-btn { position: relative; background: transparent; border: 1.5px solid var(--forest); color: var(--forest); }
.acct-dot { position: absolute; top: 4px; left: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 2px var(--sky-hi); }
@media (max-width: 640px) { .acct-label { display: none; } .acct-btn { padding: 8px 10px; } }
.bag-count { background: var(--on-primary); color: var(--forest); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.bag-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.lang { position: relative; }
.lang-btn { background: transparent; border: 1.5px solid var(--forest); color: var(--forest); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; margin: 0; padding: 6px; list-style: none; min-width: 200px; background: var(--surface); border-radius: 14px; box-shadow: 0 18px 40px -12px var(--shadow), 0 0 0 1px var(--line); }
.lang-menu li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 9px; cursor: pointer; }
.lang-menu li small { font-family: var(--f-label); color: var(--ink-soft); letter-spacing: .08em; }
.lang-menu li:hover, .lang-menu li:focus { background: color-mix(in srgb, var(--forest) 9%, transparent); outline: none; }
.lang-menu li[aria-selected="true"] { background: var(--forest); color: var(--on-primary); }
.lang-menu li[aria-selected="true"] small { color: var(--on-primary); }

/* ---------- Hero: etched landscape + instrument HUD ---------- */
.hero2 { position: relative; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(ellipse 70% 60% at 72% 42%, color-mix(in srgb, var(--sky-hi) 90%, white), transparent 70%),
    linear-gradient(180deg, var(--sky-hi), var(--sky) 78%); }
.hero2-grain { position: absolute; inset: 0; z-index: -1; background: url(img/paper.webp) 0 0 / 256px 256px; mix-blend-mode: multiply; opacity: .35; pointer-events: none; }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 28px 0; }
@media (min-width: 960px) { .hero2-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; padding-block: 52px 0; } }
.hero2-copy { min-width: 0; position: relative; z-index: 3; }
.hud-line { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; color: var(--ink-soft); margin-bottom: 18px; }
.hud-line span { display: inline-flex; align-items: center; gap: 8px; }
.hud-line span:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss) 25%, transparent); animation: blink 2.4s ease-in-out infinite; }
#hud-clock { font-variant-numeric: tabular-nums; }
.hero2 h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 860; letter-spacing: -0.025em; line-height: .98; margin-top: 12px; max-width: 13ch;
  background: linear-gradient(100deg, var(--forest) 30%, color-mix(in srgb, var(--forest) 55%, var(--moss)) 60%, var(--forest) 80%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite; }
.hero2 .lede { font-size: var(--step-1); max-width: 46ch; margin-top: 16px; color: var(--ink-soft); }
@keyframes sheen { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
@keyframes blink { 50% { opacity: .35; } }

/* command bar */
.cook.ask { margin-top: 26px; max-width: 640px; }
.ask-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--forest); margin-bottom: 10px; font-weight: 600; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--seal); }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--seal); animation: ping 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.cook.ask .cook-bar { background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-radius: 18px; padding: 8px 8px 8px 18px;
  box-shadow: 0 24px 50px -24px var(--shadow), 0 0 0 1px color-mix(in srgb, var(--forest) 35%, transparent), inset 0 1px 0 rgba(255,255,255,.6); }
.cook.ask .cook-bar::before { content: ""; position: absolute; inset: -1.5px; border-radius: 19.5px; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--seal) 82%, var(--moss) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: orbit 6s linear infinite; opacity: .9; }
.cook.ask .cook-bar:focus-within::before { animation-duration: 2.2s; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes orbit { to { --ang: 360deg; } }
.cook.ask .cook-bar input { font-size: 1.12rem; padding-block: 12px; position: relative; z-index: 1; }
.type-ph { position: absolute; left: 46px; top: 50%; transform: translateY(-50%); font-size: 1.12rem; color: color-mix(in srgb, var(--ink-soft) 70%, transparent); pointer-events: none; white-space: nowrap; overflow: hidden; max-width: calc(100% - 230px); }
.type-ph::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--seal); animation: blink 1s steps(1) infinite; }
.type-ph[hidden] { display: none; }
.kbd { font-family: var(--f-mono); font-size: .74rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--ink-soft); background: var(--surface); }
@media (hover: none), (max-width: 600px) { .kbd { display: none; } .type-ph { max-width: calc(100% - 170px); } }
@media (max-width: 480px) { .type-ph { top: 30px; max-width: calc(100% - 60px); } .cook.ask .cook-bar { border-radius: 18px; } }

/* stage */
.hero2-stage { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; display: grid; place-items: center; --mx: 0; --my: 0; z-index: 2; }
.hud-ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--forest); stroke-width: 1; transform: translate(calc(var(--mx) * -10px), calc(var(--my) * -10px)); transition: transform .4s ease-out; }
.hud-ring .ticks { opacity: .45; transform-origin: 200px 200px; animation: spin 90s linear infinite; }
.hud-ring .ticks .long { stroke-width: 1.6; opacity: 1; }
.hud-ring .arcs { transform-origin: 200px 200px; animation: spin 40s linear infinite reverse; stroke-width: 2; opacity: .7; }
.hud-ring .arcs .hot { stroke: var(--seal); stroke-width: 3; }
.hud-ring .inner { stroke-dasharray: 2 6; opacity: .45; }
.hud-ring .cross { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-emblem { position: absolute; left: 9%; right: 9%; bottom: 13%; aspect-ratio: 1049 / 409; background: url(img/etch-emblem.webp) center / contain no-repeat; filter: drop-shadow(0 20px 30px var(--shadow)); transform: translate(calc(var(--mx) * 8px), calc(var(--my) * 6px)); transition: transform .4s ease-out; }
.hero-jar { position: relative; z-index: 2; background: none; border: 0; padding: 0; margin-top: -8%; transform: translate(calc(var(--mx) * 18px), calc(var(--my) * 12px)) rotateY(calc(var(--mx) * 14deg)); transition: transform .4s ease-out; animation: float 7s ease-in-out infinite; }
.jar.real.hero { width: clamp(170px, 30vw, 236px); height: auto; aspect-ratio: 2 / 3; }
.jar.real.hero .jar-label { font-size: clamp(.62rem, 1.3vw, .86rem); }
.hero-jar:hover .jar.real .jar-lid, .hero-jar:focus-visible .jar.real .jar-lid { background-position-x: 100%; }
@keyframes float { 50% { translate: 0 -10px; } }
.tag-pin { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; color: var(--forest); white-space: nowrap; pointer-events: none; }
.tag-pin i { width: 46px; height: 1px; background: currentColor; position: relative; }
.tag-pin i::before { content: ""; position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; background: var(--sky-hi); }
.tag-pin span { background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(6px); padding: 4px 8px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.pin-a { left: 58%; top: 30%; }
.pin-b { right: 56%; top: 62%; flex-direction: row-reverse; }
.pin-b i::before { left: auto; right: -4px; }
@media (max-width: 600px) { .tag-pin { display: none; } }
.season-card { position: absolute; z-index: 4; right: -2%; bottom: 4%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 16px 10px 10px; border: 0; border-radius: 16px; color: var(--forest);
  background: color-mix(in srgb, var(--surface) 68%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 20px 40px -20px var(--shadow), 0 0 0 1px color-mix(in srgb, var(--forest) 20%, transparent), inset 0 1px 0 rgba(255,255,255,.6); transition: transform .3s ease; }
.season-card:hover, .season-card:focus-visible { transform: translateY(-4px); }
.season-card img { width: 54px; height: auto; filter: drop-shadow(0 6px 8px var(--shadow)); transform: rotate(-6deg); }
.sc-text { display: grid; gap: 2px; }
.sc-text small { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--seal); font-weight: 600; }
.sc-text small i { width: 6px; height: 6px; border-radius: 50%; background: var(--seal); animation: blink 1.6s ease-in-out infinite; }
.sc-text b { font-family: var(--f-display); font-size: 1.08rem; font-weight: 800; }
.sc-text span { font-family: var(--f-label); font-size: .84rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* stats + etched panorama */
.hud-stats { list-style: none; margin: 18px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; position: relative; z-index: 3; }
@media (min-width: 760px) { .hud-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hud-stats li { position: relative; padding: 14px 16px; border-top: 1px solid color-mix(in srgb, var(--forest) 30%, transparent); display: grid; gap: 2px; }
.hud-stats b { font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--forest); }
.hud-stats span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hud-stats i { position: absolute; top: 12px; right: 14px; font-style: normal; font-family: var(--f-mono); font-size: .62rem; color: var(--ink-soft); opacity: .7; }
.etch-pano { position: relative; margin-top: -20px; height: clamp(120px, 20vw, 300px); background: url(img/etch-panorama.webp) center bottom / cover no-repeat; overflow: hidden; }
.etch-pano img { display: none; }
.etch-pano::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--band)); }
.scan { position: absolute; top: 0; bottom: 0; width: 18%; left: -20%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); mix-blend-mode: soft-light; animation: scan 7s ease-in-out infinite; }
@keyframes scan { 0% { left: -20%; } 60%, 100% { left: 110%; } }
@media (prefers-reduced-motion: reduce) { .hero2 *, .hero2 *::before, .hero2 *::after { animation: none !important; } .hero2 h1 { color: var(--forest); background: none; } }


/* ---------- Recipe search ---------- */
.cook { margin-top: 24px; max-width: 620px; position: relative; z-index: 5; }
.cook-label { display: block; font-family: var(--f-display); font-weight: 750; font-size: 1.25rem; margin-bottom: 8px; }
.cook-bar { position: relative; display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: 0 12px 30px -14px var(--shadow), 0 0 0 1.5px var(--forest); }
.cook-bar > svg { width: 20px; height: 20px; flex: none; color: var(--ink-soft); }
.cook-bar input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--forest); font: inherit; font-size: 1.05rem; padding: 8px 4px; outline: none; }
.cook-bar input::placeholder { color: color-mix(in srgb, var(--ink-soft) 75%, transparent); }
.cook-bar .btn { padding: 10px 18px; white-space: nowrap; }
@media (max-width: 480px) { .cook-bar { flex-wrap: wrap; border-radius: 22px; padding: 8px 8px 8px 14px; } .cook-bar .btn { width: 100%; } }
.cook-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border-radius: 16px; box-shadow: 0 20px 40px -16px var(--shadow), 0 0 0 1px var(--line); z-index: 10; }
.cook-suggest li { padding: 9px 14px; border-radius: 10px; cursor: pointer; font-weight: 500; }
.cook-suggest li:hover, .cook-suggest li[aria-selected="true"] { background: color-mix(in srgb, var(--forest) 10%, transparent); }
.cook-try { margin-top: 10px; font-family: var(--f-label); font-size: 0.92rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.link-chip { background: none; border: 0; padding: 2px 4px; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; font-family: var(--f-label); font-weight: 600; }

/* ---------- Forest band ---------- */
.band { background: var(--band); color: var(--on-band); padding-block: 4px 56px; }
.band .section-head h2 { color: var(--on-band); }
.band .section-head p { color: var(--on-band-soft); }
.band .chip { border-color: var(--on-band-soft); color: var(--on-band); }
.band .chip[aria-pressed="true"] { background: var(--on-band); color: var(--band); border-color: var(--on-band); }
.trust { list-style: none; margin: 0; padding: 4px 0 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px 24px; font-family: var(--f-label); font-weight: 600; letter-spacing: .02em; color: var(--on-band); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 22px; height: 22px; flex: none; color: var(--leaf-lite); }
.etch-ridge { height: clamp(60px, 9vw, 130px); background: url(img/etch-ridge.webp) center bottom / cover no-repeat; }
.etch-ridge.flip { transform: scaleY(-1); margin-top: -1px; }
footer .etch-ridge { margin-bottom: -1px; }

/* recipe results (on the band) */
.cook-results { margin-bottom: 36px; background: var(--surface); color: var(--forest); border-radius: 20px; padding: 20px; box-shadow: 0 20px 50px -24px rgba(0,0,0,.5); scroll-margin-top: 90px; }
.cook-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.cook-head { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; }
.cook-head strong { font-weight: 850; }
.cook-serves { font-family: var(--f-label); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-weight: 700; }
.cook-none { color: var(--ink-soft); }
.cook-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.cook-list li { display: flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: 14px; padding: 4px 4px 4px 10px; position: relative; }
.cook-item { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; cursor: pointer; padding: 6px 0; }
.cook-item input { width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.cook-item-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.cook-item-text b { font-weight: 600; }
.cook-item-text small { color: var(--ink-soft); font-family: var(--f-label); font-variant-numeric: tabular-nums; }
.cook-item-text .amt { color: var(--forest); font-weight: 700; }
.in-bag { position: absolute; top: -9px; right: 10px; background: var(--moss); color: var(--on-primary); font-family: var(--f-label); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.cook-peek { background: none; border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--ink-soft); flex: none; }
.cook-peek:hover { background: color-mix(in srgb, var(--forest) 8%, transparent); }
.cook-actions { margin-top: 16px; display: flex; justify-content: flex-end; }
.swatch { width: 38px; height: 38px; flex: none; border-radius: 50%; background-color: var(--fill); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3), inset -4px -4px 8px rgba(0,0,0,.18); }

/* ---------- Section heads / toolbar ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2, .how h2, .faq h2, .about h2 { font-size: var(--step-3); font-weight: 850; }
.section-head p { color: var(--ink-soft); max-width: 56ch; margin-top: 6px; }
.section-head .eyebrow { margin-bottom: 8px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 220px; max-width: 300px; }
.search input { width: 100%; padding: 9px 14px 9px 38px; border-radius: 999px; border: 1.5px solid transparent; background: var(--surface); color: var(--forest); font: inherit; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--forest); background: transparent; color: var(--forest); padding: 6px 13px; border-radius: 999px; font-family: var(--f-label); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em; }
.chip[aria-pressed="true"] { background: var(--forest); color: var(--on-primary); }

/* ---------- The rack ---------- */
.rack-wall { position: relative; background: linear-gradient(180deg, var(--wall), color-mix(in srgb, var(--wall) 85%, var(--sky))); color: var(--forest); border-radius: 18px; padding: 24px 12px 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 0 0 1px var(--line); }
@media (min-width: 720px) { .rack-wall { padding: 32px 34px 36px; } }
.rack { position: relative; padding: 6px 10px 0; border-left: 5px solid var(--chrome-lo); border-right: 5px solid var(--chrome-lo); border-image: linear-gradient(90deg, var(--chrome-lo), var(--chrome-hi) 45%, var(--chrome-lo)) 1; }
.rack::before, .rack::after { content: ""; position: absolute; top: -12px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--chrome-hi), var(--chrome-lo)); }
.rack::before { left: -12px; } .rack::after { right: -12px; }
.shelf + .shelf { margin-top: 24px; }
.shelf-plate { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 4px 4px; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; color: var(--ink-soft); }
.shelf-plate::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--chrome-hi), var(--chrome-lo)); box-shadow: 0 0 0 1px var(--chrome-lo); }
/* each grid row is one shelf, 236px tall, wires drawn across the full width */
.shelf-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); grid-auto-rows: 262px;
  --rails: linear-gradient(180deg, transparent 186px, var(--chrome-hi) 186px, var(--chrome-lo) 188px, transparent 188px, transparent 190px, var(--chrome-hi) 190px, var(--chrome-lo) 193px, transparent 193px);
  background: var(--rails) 0 0 / 100% 262px repeat-y; }
.slot { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.slot::after { content: ""; position: absolute; left: 0; right: 0; top: 160px; height: 3px; z-index: 3; pointer-events: none; background: linear-gradient(180deg, var(--chrome-hi), var(--chrome-lo)); box-shadow: 0 1px 1px var(--shadow); }
.slot-caption { margin-top: 12px; text-align: center; font-family: var(--f-label); font-size: 0.86rem; line-height: 1.25; padding-inline: 4px; }
.slot-caption b { display: block; font-weight: 600; }
.slot-caption span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.empty-rack { padding: 30px 8px; text-align: center; color: var(--ink-soft); font-family: var(--f-label); }

/* ---------- Photoreal glass jar (pre-rendered body + lid layers) ---------- */
.jar-btn { background: none; border: 0; padding: 0; position: relative; z-index: 2; transition: transform .55s cubic-bezier(.2, .9, .25, 1.15); }
.jar.real { position: relative; display: block; width: 132px; height: 198px; }
.jar.real > img, .jar.real > .jar-lid { pointer-events: none; }
.jar.real > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; user-select: none; }
/* lid: a 5-frame sprite of the real swing-top opening on its back hinge (rendered, not faked).
   The sprite is taller than the body (31.94% headroom) so the opened lid can stand up. */
.jar.real .jar-lid { position: absolute; left: 0; width: 100%; top: -31.94%; height: 131.94%; pointer-events: none;
  background: url(img/jars/lid-sprite.webp) 0% 0 / 500% 100% no-repeat; transition: background-position .42s steps(5, jump-none); }
.jar.real.hero .jar-lid { background-image: url(img/jars/lid-sprite-hero.webp); }
.jar.real .jar-shadow { position: absolute; left: 22%; right: 22%; top: 86%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, var(--shadow), transparent); transition: transform .55s ease, opacity .55s ease; }
.jar.real .jar-label { position: absolute; left: 29.6%; top: 55.3%; width: 40.6%; height: 12.3%; display: grid; place-items: center; padding: 0 4%; transform: rotate(var(--tilt, 0deg));
  color: var(--chalk-text); font-family: var(--f-chalk); font-size: .56rem; line-height: .95; text-align: center; text-transform: uppercase; letter-spacing: .01em; overflow: hidden; text-shadow: 0 0 1px rgba(255,255,255,.35); opacity: .94; }
.jar.real .jar-label.lg { font-size: .5rem; }
.jar.real .jar-label.xl { font-size: .44rem; letter-spacing: -0.02em; }

/* lifted + opened: hover/focus on the rack, and the open jar in the product panel */
.jar-btn:hover, .jar-btn:focus-visible { transform: translateY(-26px) scale(1.06) rotate(-2deg); z-index: 6; }
.jar-btn:hover .jar-shadow, .jar-btn:focus-visible .jar-shadow { transform: translateY(26px) scale(.6); opacity: .45; }
.jar-btn:hover .jar-lid, .jar-btn:focus-visible .jar-lid, .jar.real.open .jar-lid { background-position-x: 100%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .jar.real > img { filter: brightness(.92) contrast(1.05); } }
:root[data-theme="dark"] .jar.real > img { filter: brightness(.92) contrast(1.05); }



/* grain textures */
.g-powder .jar-fill, .g-powder.swatch, .g-powder.window { background-image: radial-gradient(rgba(255,255,255,.14) .7px, transparent 1.2px), radial-gradient(rgba(0,0,0,.2) .8px, transparent 1.3px); background-size: 4px 4px, 5px 5px; background-position: 0 0, 2px 3px; }
.g-leaf .jar-fill, .g-leaf.swatch, .g-leaf.window { background-image: radial-gradient(ellipse 3px 1.4px, rgba(255,255,255,.22) 60%, transparent 70%), radial-gradient(ellipse 2.5px 1.2px, rgba(0,0,0,.3) 60%, transparent 70%), radial-gradient(ellipse 2px 1px, rgba(190,200,120,.35) 60%, transparent 70%); background-size: 9px 7px, 7px 9px, 11px 6px; background-position: 0 0, 3px 4px, 6px 2px; }
.g-seed .jar-fill, .g-seed.swatch, .g-seed.window { background-image: radial-gradient(circle at 40% 35%, rgba(255,255,255,.3) 0 1px, transparent 1.6px), radial-gradient(circle, rgba(0,0,0,.35) 0 1.6px, transparent 2.4px); background-size: 6px 6px, 6px 6px; background-position: 0 0, 3px 3px; }
.g-flake .jar-fill, .g-flake.swatch, .g-flake.window { background-image: linear-gradient(35deg, transparent 45%, rgba(255,255,255,.18) 46% 54%, transparent 55%), linear-gradient(-50deg, transparent 45%, rgba(0,0,0,.25) 46% 56%, transparent 57%), radial-gradient(rgba(240,200,120,.35) .8px, transparent 1.4px); background-size: 8px 10px, 11px 7px, 5px 6px; }
.g-flower .jar-fill, .g-flower.swatch, .g-flower.window { background-image: radial-gradient(circle, rgba(255,255,255,.45) 0 1.4px, transparent 2px), radial-gradient(circle, rgba(0,0,0,.2) 0 2px, transparent 2.8px); background-size: 9px 9px, 7px 8px; background-position: 0 0, 4px 3px; }
.g-crystal .jar-fill, .g-crystal.swatch, .g-crystal.window { background-image: linear-gradient(45deg, rgba(255,255,255,.5) 25%, transparent 25% 75%, rgba(0,0,0,.08) 75%), linear-gradient(-45deg, rgba(255,255,255,.3) 25%, transparent 25% 75%, rgba(0,0,0,.08) 75%); background-size: 7px 7px, 9px 9px; }

/* ---------- Tags, heat ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { display: inline-flex; align-items: center; font-family: var(--f-label); font-weight: 600; font-size: .84rem; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--leaf-lite) 26%, transparent); color: var(--forest); border: 0; }
.tags.quiet .tag { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.tag.link { cursor: pointer; }
.tag.link:hover { box-shadow: inset 0 0 0 1.5px var(--forest); }
.tags.sm .tag { font-size: .76rem; padding: 2px 8px; }
.heat-icons { display: inline-flex; gap: 1px; }
.heat-icons i { width: 18px; height: 18px; color: var(--line); display: grid; }
.heat-icons i svg { width: 100%; height: 100%; stroke-width: 1.4; fill: currentColor; }
.heat-icons i.on { color: var(--chili); }
.tags.sm .heat-icons i { width: 14px; height: 14px; }

/* ---------- Peek card ---------- */
.peek { position: absolute; z-index: 25; width: 260px; background: var(--surface); color: var(--forest); border-radius: 16px; padding: 14px 16px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.5), 0 0 0 1px var(--line); pointer-events: none; animation: peek-in .25s ease; }
@keyframes peek-in { from { opacity: 0; transform: translateX(var(--from, -8px)); } }
.peek[data-side="left"] { --from: 8px; }
.peek-name { font-family: var(--f-display); font-weight: 850; font-size: 1.15rem; line-height: 1.15; }
.peek-origin { font-family: var(--f-label); font-size: .86rem; color: var(--ink-soft); margin-top: 2px; }
.peek-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 8px; }
.peek-meta .heat-icons i { width: 14px; height: 14px; }
.peek-notes { font-size: .9rem; margin-top: 8px; line-height: 1.4; }
.peek ul { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 2px; }
.peek li { display: flex; justify-content: space-between; font-family: var(--f-label); font-variant-numeric: tabular-nums; }
.peek-cta { margin-top: 8px; font-family: var(--f-label); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--moss); font-weight: 700; }

/* ---------- Blends ---------- */
.blends { padding-block: 40px 24px; }
.blend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.blend-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr)); gap: 22px; }
.blend { position: relative; background: var(--surface); border-radius: 22px; padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; box-shadow: 0 16px 36px -26px var(--shadow), inset 0 0 0 1px var(--line); overflow: hidden; }
@media (min-width: 560px) { .blend { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; } }
.blend::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 210px; background: radial-gradient(ellipse at 40% 55%, color-mix(in srgb, var(--fill) 22%, transparent), transparent 70%); pointer-events: none; }
.blend.live { box-shadow: 0 22px 44px -26px var(--shadow), inset 0 0 0 2px color-mix(in srgb, var(--seal) 70%, transparent); }
.blend-visual { position: relative; display: grid; justify-items: center; gap: 10px; }
.pack-btn { background: none; border: 0; padding: 0; perspective: 900px; transition: transform .35s cubic-bezier(.2,.9,.25,1.2); }
.pack-btn:hover, .pack-btn:focus-visible { transform: translateY(-6px) rotate(-2deg); }
.pack { position: relative; display: block; width: 160px; aspect-ratio: 350 / 500; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,.9,.3,1.1); }
.pack.show-back { transform: rotateY(180deg); }
.pack-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 14px 16px var(--shadow)); }
.pack-face.back { transform: rotateY(180deg); }
.pack-turn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.pack-turn svg { width: 14px; height: 14px; }
.pack-turn[aria-pressed="true"] { color: var(--forest); border-color: var(--forest); }
.blend-copy { min-width: 0; position: relative; }
.season-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 6px !important; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--seal); font-weight: 600; }
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--seal); animation: blink 1.6s ease-in-out infinite; }
.blend .p-label { display: block; margin-top: 14px; }
.blend .ingr { margin-top: 6px; }
.blend-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.blend-price { flex-basis: 100%; font-family: var(--f-label); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.blend-price b { font-family: var(--f-display); font-size: 1.35rem; color: var(--forest); font-weight: 800; }
.blend-buy .btn { padding: 8px 16px; font-size: .84rem; }

.blend .tags { margin-top: 8px; }
.blend h3 { font-size: var(--step-1); font-weight: 850; }
.blend p { font-size: 0.93rem; color: var(--ink-soft); margin-top: 8px; }
.badge { display: inline-block; font-family: var(--f-label); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 3px 8px; border-radius: 999px; border: 1.5px solid currentColor; color: var(--moss); }
.badge-quiet { color: var(--ink-soft); }

/* ---------- How it works ---------- */
.how { padding-block: 56px 24px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; margin: 22px 0 0; padding: 0; counter-reset: s; }
.steps li { list-style: none; counter-increment: s; border-top: 2px solid var(--forest); padding-top: 14px; }
.steps li::before { content: counter(s); font-family: var(--f-display); font-weight: 850; font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 8px; }
.steps h3 { font-size: var(--step-1); font-weight: 750; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); max-width: 40ch; }

/* ---------- About ---------- */
.about { padding-block: 64px 24px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 820px) { .about-grid { grid-template-columns: 400px minmax(0, 1fr); gap: 64px; } }
.about-logo { position: relative; margin: 0; width: min(380px, 80vw); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.about-logo > img:first-of-type { width: 84%; height: 84%; object-fit: cover; border-radius: 50%; position: relative; z-index: 1; box-shadow: 0 30px 60px -28px var(--shadow), 0 0 0 6px var(--surface), 0 0 0 7.5px color-mix(in srgb, var(--forest) 30%, transparent); }
.about-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--forest) 40%, transparent); animation: spin 120s linear infinite; }
.about-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--seal); }
.about-etch { position: absolute; left: -8%; right: -8%; bottom: -10%; width: 116%; opacity: .2; z-index: 0; filter: saturate(.5); }
.about-lead { font-size: 1.18rem !important; color: var(--forest) !important; font-family: var(--f-display); line-height: 1.45; }
.collab-card { position: relative; padding: 18px 20px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px -24px var(--shadow); display: grid; gap: 10px; }
.collab-label { font-family: var(--f-mono); font-size: .7rem !important; letter-spacing: .18em; text-transform: uppercase; color: var(--seal) !important; }
.collab-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: var(--forest); }
.collab-names li + li::before { content: "×"; margin: 0 12px; color: var(--seal); font-weight: 400; }
.collab-card p:last-child { font-size: .98rem; }
.collab-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px !important; font-family: var(--f-label); font-weight: 600; letter-spacing: .02em; color: var(--forest) !important; }
.collab-x { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--seal); color: #fff; font-size: .9rem; }
.about-copy { display: grid; gap: 14px; max-width: 60ch; }
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.about-copy h2 { margin-bottom: 4px; }
.signoff { font-family: var(--f-display); font-style: italic; font-weight: 600; color: var(--forest) !important; }

/* ---------- FAQ ---------- */
.faq { padding-block: 56px 72px; }
.faq-list { margin-top: 20px; display: grid; gap: 10px; max-width: 820px; }
.faq-item { background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--f-display); font-size: 1.4rem; transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 18px 18px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Footer ---------- */
footer { color: var(--on-band); }
.footer-body { background: var(--band); padding-block: 26px 48px; font-family: var(--f-label); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px 32px; align-items: start; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { border-radius: 50%; border: 2px solid var(--on-band-soft); flex: none; }
.footer-brand strong { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 850; }
.footer-brand span { color: var(--on-band-soft); }
footer nav, .footer-contact { display: grid; gap: 6px; }
footer a { color: var(--on-band); text-decoration: none; font-weight: 600; letter-spacing: .03em; }
footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact span:first-child { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--on-band-soft); font-weight: 700; }
.footer-contact .email { user-select: all; font-weight: 600; }
.footer-contact .pay { color: var(--on-band-soft); }

/* ---------- Product panel ---------- */
dialog.product { border: 0; padding: 0; border-radius: 22px; width: min(880px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--surface); color: var(--forest); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); overflow: auto; }
dialog.product::backdrop { background: rgba(10, 25, 20, 0.55); backdrop-filter: blur(3px); }
.product-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .product-inner { grid-template-columns: 300px minmax(0, 1fr); } }
.product-stage { position: relative; background: var(--wall); display: grid; place-items: center; padding: 24px; min-height: 280px; overflow: hidden; }
@media (min-width: 700px) { .product-stage { position: sticky; top: 0; min-height: 100%; max-height: calc(100dvh - 24px); } }
.stage-emblem-img { position: absolute; left: 50%; bottom: 12%; width: 120%; max-width: none; transform: translateX(-50%); opacity: .22; pointer-events: none; filter: saturate(.6); }
.stage-item { position: relative; z-index: 1; perspective: 700px; margin-top: 30px; }
.stage-item .jar.real { width: 200px; height: 300px; transform: rotateY(-6deg); }
.stage-item .pack-btn.big .pack { width: 230px; }
.stage-shelf { position: absolute; left: 30px; right: 30px; bottom: 34%; height: 6px; display: none; }
.product-body { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.product-body h2 { font-size: var(--step-2); font-weight: 850; }
.p-notes { color: var(--ink-soft); }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--f-label); font-size: 0.92rem; color: var(--ink-soft); padding-right: 40px; }
.p-profile { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--sky) 30%, var(--surface)); }
.p-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; }
.p-label { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; color: var(--ink-soft); }
.p-uses { display: grid; gap: 8px; }
.use-list { display: flex; flex-wrap: wrap; gap: 8px; }
.use { background: none; border: 1.5px solid var(--forest); color: var(--forest); border-radius: 999px; padding: 6px 12px; font-family: var(--f-label); font-weight: 600; }
.use:hover { background: var(--forest); color: var(--on-primary); }
.p-details { border-top: 1px solid var(--line); padding-top: 10px; }
.p-details summary { cursor: pointer; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
.p-details dl { display: grid; grid-template-columns: minmax(110px, 34%) minmax(0, 1fr); gap: 8px 14px; margin: 12px 0 0; font-size: .92rem; }
.p-details dt { font-family: var(--f-label); font-weight: 700; color: var(--ink-soft); }
.p-details dd { margin: 0; }
.close-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; z-index: 3; }
.close-x.static { position: static; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 8px; }
.weights { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 8px; }
.weight { position: relative; }
.weight input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.weight label { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; font-family: var(--f-label); cursor: pointer; transition: border-color .15s, background .15s; }
.weight label b { font-size: 1.05rem; }
.weight label span { font-size: 0.88rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.weight input:checked + label { border-color: var(--forest); background: color-mix(in srgb, var(--forest) 10%, transparent); box-shadow: inset 0 0 0 1px var(--forest); }
.weight input:focus-visible + label { outline: 3px solid var(--moss); outline-offset: 2px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { background: none; border: 0; width: 38px; height: 38px; font-size: 1.15rem; }
.qty output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.qty.sm button { width: 30px; height: 30px; font-size: 1rem; }
.price-big { font-family: var(--f-display); font-weight: 850; font-size: 1.8rem; font-variant-numeric: tabular-nums; text-align: right; }
.unit-note { font-family: var(--f-label); font-size: 0.86rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; text-align: right; }
.ship-note { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- Bag drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10, 25, 20, 0.45); z-index: 40; }
.bag { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); z-index: 41; background: var(--surface); color: var(--forest); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateX(100%); transition: transform .28s ease, visibility 0s .28s; visibility: hidden; }
.bag.open { transform: none; visibility: visible; transition: transform .28s ease; }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: var(--step-2); font-weight: 850; }
.bag-lines { flex: 1; overflow-y: auto; padding: 4px 20px; }
.bag-line { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding-block: 14px; border-bottom: 1px solid var(--line); }
.bag-line h4 { margin: 0; font-family: var(--f-body); font-weight: 600; font-size: 0.97rem; line-height: 1.25; }
.bag-line small { display: block; margin-top: 2px; color: var(--ink-soft); font-family: var(--f-label); }
.bag-line-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line-total { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.remove { background: none; border: 0; color: var(--ink-soft); font-size: 0.82rem; text-decoration: underline; padding: 0; font-family: var(--f-label); }
.bag-empty { padding: 40px 0; text-align: center; color: var(--ink-soft); }
.bag-foot { border-top: 1px solid var(--line); padding: 14px 20px 20px; display: grid; gap: 8px; }
.bag-foot:empty { display: none; }
.ship-to { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--f-label); font-weight: 600; margin-bottom: 4px; }
.ship-to select { font: inherit; font-weight: 500; color: var(--forest); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; max-width: 60%; }
.sum-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.sum-row.total { font-family: var(--f-display); font-weight: 850; font-size: 1.3rem; }
.free-meter { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.free-meter i { display: block; height: 100%; background: var(--moss); border-radius: 3px; transition: width .3s; }
.bag-msg { font-size: 0.88rem; color: var(--ink-soft); }
.bag-msg.warn { color: var(--warn); font-weight: 600; }
.bag-foot .btn { margin-top: 6px; }
.bag-pay { text-align: center; font-family: var(--f-label); font-size: .82rem; color: var(--ink-soft); }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--forest); color: var(--on-primary); padding: 10px 18px; border-radius: 999px; font-family: var(--f-label); font-weight: 600; z-index: 60; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); max-width: calc(100vw - 32px); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ======================= v3 features ======================= */
.btn.sm { padding: 6px 14px; font-size: .8rem; }

/* servings scaler */
.serves { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-label); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.serves span { margin-right: 6px; }
.serve { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); background: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.serve[aria-pressed="true"] { background: var(--forest); color: var(--on-primary); border-color: var(--forest); }

/* product extras */
.p-extra { display: grid; gap: 10px; }
.p-extra .p-row { grid-template-columns: 120px minmax(0, 1fr); }
.lasts { font-family: var(--f-label); font-weight: 700; font-variant-numeric: tabular-nums; }
.tag.swap { gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fill); display: inline-block; box-shadow: 0 0 0 1.5px var(--surface); }
.drawer-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px dashed var(--line); border-radius: 999px; padding: 6px 14px; font-family: var(--f-label); font-weight: 600; color: var(--ink-soft); }
.drawer-btn svg { width: 18px; height: 18px; }
.drawer-btn:hover { border-color: var(--forest); color: var(--forest); }

/* flavour map (on the forest band) */
.map-section { padding-top: 56px; }
.map-card { position: relative; margin: 0; background: var(--surface); border-radius: 20px; padding: 10px 8px 4px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); overflow-x: auto; }
.map-plot { min-width: 640px; }
.map-plot svg { display: block; width: 100%; height: auto; stroke: none; }
.map-plot .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.map-plot .axis-mid { stroke: var(--line); stroke-width: 1.5; }
.map-plot .axis { fill: var(--ink-soft); font-family: var(--f-label); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.map-plot .pt { cursor: pointer; outline: none; }
.map-plot .pt .hit { fill: transparent; pointer-events: all; }
.map-plot .pt .dot { stroke: var(--surface); stroke-width: 2; transition: r .15s; }
.map-plot .pt text { fill: var(--forest); font-family: var(--f-label); font-weight: 600; font-size: 12.5px; pointer-events: none; }
.map-plot .pt:hover .dot, .map-plot .pt:focus-visible .dot { r: 12; }
.map-plot .pt:focus-visible .hit { stroke: var(--moss); stroke-width: 2.5; }
.map-tip { position: absolute; z-index: 3; min-width: 180px; max-width: 240px; background: var(--forest); color: var(--on-primary); border-radius: 12px; padding: 10px 12px; font-family: var(--f-label); pointer-events: none; display: grid; gap: 6px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.map-tip b { font-family: var(--f-display); font-size: 1.05rem; }
.map-tip .tag { background: color-mix(in srgb, var(--on-primary) 16%, transparent); color: var(--on-primary); }
.map-tip .heat-icons i { color: color-mix(in srgb, var(--on-primary) 30%, transparent); }
.map-tip .heat-icons i.on { color: #ff8a65; }

/* Blend Lab */
.qty button[disabled] { opacity: .35; cursor: default; }

/* Spice drawer */
.drawer { padding-block: 40px 16px; }
.drawer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.drawer-empty { color: var(--ink-soft); max-width: 60ch; padding: 18px 20px; border: 1.5px dashed var(--line); border-radius: 16px; }
.drawer-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: start; background: var(--surface); border-radius: 16px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.drawer-item h4 { margin: 0; font-weight: 600; }
.drawer-item small { color: var(--ink-soft); font-family: var(--f-label); }
.drawer-actions { display: grid; gap: 6px; justify-items: end; }
.fresh-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 8px; }
.fresh-bar i { display: block; height: 100%; border-radius: 3px; background: var(--moss); }
.drawer-item.fading .fresh-bar i { background: var(--warn); }
.fresh-state { margin-top: 6px; font-family: var(--f-label); font-size: .84rem; color: var(--ink-soft); }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.pill.peak { background: color-mix(in srgb, var(--moss) 18%, transparent); color: var(--moss); }
.pill.fading { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.pill.old { background: var(--forest); color: var(--on-primary); }


/* ---------- Account (passwordless) ---------- */
dialog.acct-dlg { border: 0; padding: 30px 26px 26px; border-radius: 22px; width: min(440px, calc(100vw - 24px)); background: var(--surface); color: var(--forest); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
dialog.acct-dlg::backdrop { background: rgba(10, 25, 20, 0.55); backdrop-filter: blur(3px); }
.acct-logo { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--forest); display: block; margin-bottom: 14px; }
.acct-dlg h2 { font-size: var(--step-2); font-weight: 850; }
.acct-sub { color: var(--ink-soft); margin-top: 8px !important; }
.acct-ok { margin-top: 10px !important; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--moss) 14%, transparent); color: var(--forest); font-weight: 600; }
.acct-perks { list-style: none; margin: 16px 0 4px; padding: 0; display: grid; gap: 8px; }
.acct-perks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.acct-perks svg { width: 18px; height: 18px; flex: none; color: var(--moss); stroke-width: 2.4; }
.acct-form { display: grid; gap: 10px; margin-top: 18px; }
.acct-form input { font: inherit; font-size: 1.05rem; color: var(--forest); background: var(--wall); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: none; }
.acct-form input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss) 25%, transparent); }
.acct-form .btn { width: 100%; padding: 13px 18px; }
.code-input { font-family: var(--f-mono) !important; font-size: 1.8rem !important; letter-spacing: .5em; text-align: center; padding-left: calc(14px + .5em) !important; }
.acct-msg { min-height: 1.3em; margin-top: 10px !important; font-family: var(--f-label); color: var(--warn); }
.acct-links { font-family: var(--f-label); color: var(--ink-soft); }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.drawer-acct { margin-bottom: 16px; }
.drawer-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -24px var(--shadow); }
.drawer-cta svg { width: 30px; height: 30px; color: var(--seal); }
.drawer-cta p { font-weight: 600; }
.drawer-cta small { display: block; font-weight: 400; color: var(--ink-soft); font-family: var(--f-label); margin-top: 2px; }
@media (max-width: 560px) { .drawer-cta { grid-template-columns: auto minmax(0, 1fr); } .drawer-cta .btn { grid-column: 1 / -1; } }
.sync-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--moss) 14%, transparent); font-family: var(--f-label); font-weight: 600; }
.sync-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }

/* powder dust: fine specks and a soft haze lifting out of the open mouth (not bubbles) */
.aroma { position: absolute; left: 24%; right: 24%; top: 4%; height: 18%; z-index: 4; pointer-events: none; --on: 0; }
.aroma i { position: absolute; left: calc(50% + var(--x)); bottom: 0; width: var(--s); height: calc(var(--s) * .8); border-radius: 40% 60% 55% 45%;
  background: color-mix(in srgb, var(--fill) 55%, #f3e6d3 45%); box-shadow: 0 0 1.5px color-mix(in srgb, var(--fill) 60%, transparent); opacity: 0; transform: translate(-50%, 0); }
.aroma b { position: absolute; left: 10%; right: 10%; bottom: -10%; height: 70%; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fill) 45%, rgba(243,230,211,.6)), transparent); filter: blur(6px); }
.jar-btn:hover .aroma i, .jar-btn:focus-visible .aroma i, .jar.real.open .aroma i, .hero-jar:hover .aroma i, .hero-jar:focus-visible .aroma i {
  animation: dust var(--t) cubic-bezier(.2, .6, .4, 1) var(--d) infinite; animation-delay: calc(var(--d) + .35s); }
.jar-btn:hover .aroma b, .jar-btn:focus-visible .aroma b, .jar.real.open .aroma b, .hero-jar:hover .aroma b, .hero-jar:focus-visible .aroma b {
  animation: haze 2.6s ease-out .3s infinite; }
@keyframes dust {
  0% { opacity: 0; transform: translate(-50%, 4px) rotate(0); }
  15% { opacity: 1; }
  60% { opacity: .7; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(var(--dy) * -1)) rotate(140deg) scale(.6); }
}
@keyframes haze { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 30% { opacity: .75; } 100% { opacity: 0; transform: translateY(-34px) scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .aroma { display: none; } }

/* How it works: four steps with icons */
.steps.steps4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.steps4 li::before { display: none; }
.step-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 12px; background: var(--surface); color: var(--forest); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.step-ico svg { width: 24px; height: 24px; }
.step-ico::after { counter-increment: none; content: counter(s); position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--seal); color: #fff; font: 700 .72rem/22px var(--f-mono); text-align: center; }
