/* ==========================================================================
   ZEROMYTH · SHARED DESIGN SYSTEM (every page)
   Colour rule from the blueprint: one bold beat per page, then a calm
   charcoal / cream canvas where yellow and green appear as accents.
   Type: Fredoka (bubbly display, echoes the wordmark) + Montserrat (brand
   body face) + JetBrains Mono for label / nutrition data only.
   ========================================================================== */

@font-face {
  font-family: 'Caveat Variable';
  src: url('../fonts/caveat-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: 'Montserrat Variable';
  src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat Variable';
  src: url('../fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+20A0-20C0;
}

:root {
  --yellow: #FDDB5E;
  --yellow-deep: #F5C935;
  --green: #99CA3C;
  --charcoal: #222111;
  --ink: #1B1A0D;
  --ink-2: #2A2916;
  --cream: #FBF6E9;
  --paper: #F4EEDD;
  --rust: #C24D2C;
  --orivana: #122B20;

  --line: rgba(251, 246, 233, 0.13);
  --line-strong: rgba(251, 246, 233, 0.28);
  --line-ink: rgba(34, 33, 17, 0.14);
  --muted: rgba(251, 246, 233, 0.66);
  --muted-ink: rgba(34, 33, 17, 0.66);

  --f-display: 'Montserrat Variable', 'Montserrat', system-ui, sans-serif;
  --f-script: 'Caveat Variable', 'Caveat', 'Segoe Script', cursive;
  --f-body: 'Montserrat Variable', 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1440px;
  --nav-h: 76px;
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 10px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--charcoal); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--yellow); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .xray :focus-visible { outline-color: var(--charcoal); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--charcoal); padding: 10px 16px; border-radius: 999px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.noscript { padding: 2rem var(--gutter); background: var(--yellow); color: var(--charcoal); font-weight: 600; }

/* ---------- stage canvas + cursor ---------- */
.stage {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 20;
}
.cursor { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--charcoal);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 650 15px/1 var(--f-body); letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease-out), color .35s var(--ease-out), box-shadow .35s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill, var(--cream));
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--fill-fg, var(--charcoal)); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--ink { --bg: var(--charcoal); --fg: var(--cream); --fill: var(--green); --fill-fg: var(--charcoal); }
.btn--outline-ink { --bg: transparent; --fg: var(--charcoal); --fill: var(--charcoal); --fill-fg: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--charcoal); }
.btn--cream { --bg: var(--cream); --fg: var(--charcoal); --fill: var(--yellow); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.is-added, .btn--ink.is-added, .btn--outline-ink.is-added, .btn--cream.is-added, .btn--yellow.is-added, button.is-added {
  background: var(--green) !important;
  color: var(--charcoal) !important;
  border-color: var(--green) !important;
  box-shadow: 0 6px 22px rgba(153, 202, 60, 0.45) !important;
}
.btn.is-added span, button.is-added span { color: var(--charcoal) !important; }
.btn.is-added svg, button.is-added svg { stroke: var(--charcoal) !important; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 650;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.link-arrow::after { content: '→'; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover::after { transform: translateX(4px); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid currentColor; transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.icon-btn:hover { transform: rotate(90deg); }
.icon-btn svg, .pdp__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- type ---------- */
.h-xl {
  font-family: var(--f-display);
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.7rem, 7.2vw, 7.6rem);
  line-height: .86; letter-spacing: -.048em;
}
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word { display: inline-block; will-change: transform; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px var(--gutter);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 8px 0 14px;
  background: rgba(27, 26, 13, .92);
  border: 1px solid rgba(251, 246, 233, .08);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: transform .6s var(--ease-out), background-color .4s;
}
.nav.is-hidden .nav__bar { transform: translateY(-130%); }
.nav__logo { flex: 0 0 auto; display: block; height: 46px; }
.nav__logo img { height: 100%; width: auto; }
.nav__links { display: flex; gap: 2px; margin: 0 auto; }
.nav__links a {
  position: relative; padding: 8px 10px; border-radius: 999px;
  font-size: 13.5px; font-weight: 550; color: var(--muted);
  white-space: nowrap;
  transition: color .3s, background-color .3s;
}
.nav__links a:hover { color: var(--cream); background: rgba(251, 246, 233, .06); }
.nav__links a[aria-current="page"] { color: var(--charcoal); background: var(--yellow); }
.nav__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }
.nav__sound {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px;
  border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  transition: color .3s, background-color .3s;
}
.nav__sound:hover { color: var(--cream); background: rgba(251, 246, 233, .06); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.nav__sound[aria-pressed="true"] { color: var(--yellow); }
.nav__sound[aria-pressed="true"] .eq i { animation: eq 1s var(--ease-io) infinite alternate; }
.nav__sound[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
.nav__sound[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
.nav__sound[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.8s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.nav__cart {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px;
  border-radius: 999px; background: var(--yellow); color: var(--charcoal); font-size: 14px; font-weight: 700;
  transition: transform .4s var(--ease-out);
}
.nav__cart:hover { transform: scale(1.04); }
.nav__cart-count {
  min-width: 30px; height: 30px; border-radius: 999px; padding: 0 8px;
  display: grid; place-items: center; background: var(--charcoal); color: var(--yellow);
  font: 600 13px/1 var(--f-mono);
}
.nav__cart.bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.14); } 100% { transform: scale(1); } }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; }
.nav__menu-icon { display: grid; gap: 5px; width: 20px; }
.nav__menu-icon i { display: block; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .4s var(--ease-out); }
.nav__menu[aria-expanded="true"] .nav__menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
  overflow: auto;
}
.menu[hidden] { display: none; }
.menu__inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 48px; }
.menu__links { display: grid; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 6px 0;
  font: 800 clamp(2.4rem, 9vw, 5rem)/1 var(--f-display); letter-spacing: -.02em;
  border-bottom: 1px solid var(--line);
  transition: color .3s, padding-left .45s var(--ease-out);
}
.menu__links a span { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.menu__links a:hover, .menu__links a[aria-current="page"] { color: var(--yellow); padding-left: 10px; }
.menu__aside { color: var(--muted); display: grid; gap: 12px; }
.menu__aside .link-arrow { color: var(--yellow); }


/* ---------- variable-font wave text ---------- */
.wave-word { display: inline-block; white-space: nowrap; }
[data-wave] { position: relative; }
html.is-loading .hero__title, html.is-loading [data-hero-fade] { visibility: hidden; }
.wave-char {
  display: inline-block;
  font-weight: inherit;
  font-variation-settings: 'wght' calc(var(--wb, 800) + (var(--s, 100) - 100) * var(--wd, 4));
  transform-origin: 50% 92%;
  will-change: transform;
}
/* letters toast toward the section's heat colour as the cursor warms them */
.has-cursor .wave-char { color: color-mix(in oklab, currentColor, var(--heat, #C24D2C) var(--toast, 0%)); }
.sec--ink, .ph--ink, .enter, .journey, .proof, .bridge, .sec--orivana, .orihero, .acct { --heat: #FDDB5E; }
.sec--yellow, .ph--yellow, .hero, .closer { --heat: #C24D2C; }
html.is-loading [data-intro] { visibility: hidden; }

/* ---------- heat dots & meters ---------- */
.heat { display: inline-flex; gap: 4px; }
.heat i { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .5; }
.heat i.on { background: currentColor; opacity: 1; box-shadow: none; }
.bar { position: relative; height: 4px; border-radius: 4px; background: currentColor; opacity: 1; overflow: hidden; }
.bar::before { content: ''; position: absolute; inset: 0; background: inherit; }
.bar { background: color-mix(in srgb, currentColor 20%, transparent); }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); background: currentColor; border-radius: 4px; transform-origin: 0 50%; }

/* ---------- chips & tabs (shared controls) ---------- */
.chip {
  position: relative; height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: color .3s, box-shadow .3s, background-color .3s;
}
.chip:hover { color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--charcoal); box-shadow: none; }
.chip--heat { min-width: 38px; padding: 0 12px; display: inline-flex; align-items: center; gap: 4px; }
.chip--heat svg { width: 13px; height: 13px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px; border-radius: 999px;
  font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-ink);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.tab img { width: 30px; height: 30px; object-fit: contain; }
.tab:hover { box-shadow: inset 0 0 0 1px var(--charcoal); }
.tab[aria-selected="true"] { background: var(--charcoal); color: var(--cream); box-shadow: none; }

/* ==========================================================================
   03 · X-RAY
   ========================================================================== */
.xray { position: relative; z-index: 1; background: var(--cream); color: var(--charcoal); padding: clamp(80px, 11vw, 150px) 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.xray__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.xray__head p { color: var(--muted-ink); font-size: 17px; max-width: 46ch; justify-self: end; }
.xray__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.xray__panel {
  --x: 50%; --y: 50%; --r: 0px;
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: clamp(520px, 62vh, 680px);
  background: var(--charcoal); color: var(--cream);
  touch-action: pan-y;
}
.xray__front, .xray__back { position: absolute; inset: 0; padding: clamp(24px, 4vw, 56px); }
.xray__front { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; z-index: 1; transition: opacity .4s ease; }
.xray__panel.is-full .xray__front { opacity: 0; pointer-events: none; }
.xray__front-copy { display: grid; gap: 18px; align-content: center; }
.xray__front-k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.xray__front-name { font: 900 clamp(2.6rem, 6.4vw, 6.6rem)/.86 var(--f-display); letter-spacing: -.045em; text-transform: uppercase; color: var(--accent, var(--yellow)); }
.xray__front-hook { font: 500 clamp(1.1rem, 1.8vw, 1.5rem)/1.35 var(--f-body); max-width: 22ch; }
.xray__front-claims { display: flex; flex-wrap: wrap; gap: 8px; }
.xray__art { justify-self: center; width: min(100%, 460px); }
.xray__front-claims span { font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.xray__art .kart__k { filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .5)); }
.xray__back {
  z-index: 2;
  background: var(--paper); color: var(--charcoal);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 97%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 97%, transparent 100%);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 48px); align-content: start;
  background-image:
    linear-gradient(var(--line-ink) 1px, transparent 1px);
  background-size: 100% 44px;
}
.label__k { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; opacity: .65; }
.label__list { display: grid; }
.label__item { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-ink); }
.label__item b { font: 800 clamp(1.25rem, 2.2vw, 2rem)/1.1 var(--f-display); letter-spacing: -.01em; }
.label__item span { font: 400 12px/1.4 var(--f-mono); opacity: .7; text-align: right; max-width: 28ch; }
.label__not { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.label__not span { font: 600 15px/1.4 var(--f-body); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--rust); opacity: .8; }
.nutri { font-family: var(--f-mono); font-size: 13px; border-top: 6px solid var(--charcoal); }
.nutri__head { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 3px solid var(--charcoal); font-weight: 500; }
.nutri__row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line-ink); }
.nutri__row b { font-weight: 500; }
.nutri__kcal { font: 800 44px/1 var(--f-display); padding: 8px 0 4px; }
.xray__toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 4;
  height: 42px; padding: 0 16px; border-radius: 999px; background: var(--cream); color: var(--charcoal);
  font-size: 13px; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.xray__toggle[aria-pressed="true"] { background: var(--charcoal); color: var(--cream); }
.xray__lens-ring {
  position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none;
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(34, 33, 17, .5), 0 0 0 9px rgba(253, 219, 94, .35);
  transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%));
  opacity: 0; transition: opacity .3s;
}
.xray__panel.is-lensing .xray__lens-ring { opacity: 1; }

/* ==========================================================================
   05 · PROOF
   ========================================================================== */
.proof { background: var(--ink); padding: 0 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.marquee { border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__group span { font: 700 clamp(1.4rem, 3vw, 2.6rem)/1 var(--f-display); white-space: nowrap; color: var(--cream); }
.marquee__group i { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); flex: 0 0 auto; }
.marquee__group i:nth-of-type(3n) { background: var(--green); }
.proof__title { font: 800 clamp(2rem, 4.4vw, 4.2rem)/1 var(--f-display); letter-spacing: -.02em; max-width: 18ch; margin: clamp(60px, 8vw, 110px) 0 48px; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 28px 0 0; border-right: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__num { font: 800 clamp(3.4rem, 7vw, 7rem)/.9 var(--f-display); color: var(--yellow); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .38em; margin-left: .08em; letter-spacing: 0; color: var(--cream); }
.stat__txt { color: var(--muted); font-size: 15px; }
.stat__txt b { color: var(--cream); font-weight: 650; }

/* ==========================================================================
   06 · BRIDGE
   ========================================================================== */
.bridge { background: var(--ink); padding: 0 0 clamp(80px, 10vw, 140px); }
.bridge__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bridge__card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 56px); min-height: 440px;
  display: grid; align-content: end; gap: 18px; justify-items: start;
}
.bridge__card--quiz { background: var(--green); color: var(--charcoal); }
.bridge__card--orivana { background: var(--orivana); color: var(--cream); }
.bridge__card p:not(.bridge__k) { max-width: 40ch; font-size: 16px; opacity: .85; }
.bridge__k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.bridge__title { font: 800 clamp(2.2rem, 4.2vw, 4rem)/.95 var(--f-display); letter-spacing: -.02em; max-width: 14ch; }
.bridge__card--orivana .btn { --bg: #FFA843; --fill: var(--cream); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--charcoal); padding: clamp(64px, 8vw, 110px) 0 32px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.foot__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.foot__news { display: grid; gap: 12px; max-width: 520px; }
.foot__news-title { font: 800 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--f-display); }
.foot__news > p { color: var(--muted); }
.foot__news-row { display: flex; gap: 8px; margin-top: 6px; }
.foot__news input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(251, 246, 233, .04); color: var(--cream);
}
.foot__news input:focus { outline: none; border-color: var(--yellow); }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot__cols > div { display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot__cols a, .foot__cols button { color: var(--muted); font-size: 15px; transition: color .3s; text-align: left; }
.foot__cols a:hover, .foot__cols button:hover { color: var(--yellow); }
.foot__h { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.foot__giant {
  margin: clamp(56px, 8vw, 110px) 0 28px;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 9.4vw, 10.6rem); line-height: .84; letter-spacing: -.05em;
  color: var(--yellow);
}
.foot__giant > span { display: block; }
.foot__giant > span:last-child { color: var(--green); padding-left: 8vw; }
.foot__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot__legal p:first-child { max-width: 80ch; }
.foot__legal a { color: var(--yellow); }

/* ==========================================================================
   DIALOGS — shared
   ========================================================================== */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: inherit; background: transparent; }
dialog::backdrop { background: rgba(14, 13, 6, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- PDP ---------- */
.pdp { width: 100vw; height: 100dvh; margin: 0; inset: 0; }
.pdp::backdrop { background: rgba(14, 13, 6, .8); }
.pdp__shell {
  --accent: var(--yellow); --on-accent: var(--charcoal);
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
  background: var(--cream); color: var(--charcoal);
}
.pdp__close {
  position: absolute; right: 18px; top: 18px; z-index: 6;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--charcoal); color: var(--cream);
  transition: transform .45s var(--ease-out), background-color .3s;
}
.pdp__close:hover { transform: rotate(90deg); background: var(--rust); }
.pdp__media {
  grid-row: 1 / span 2; position: relative; overflow: hidden;
  background: var(--charcoal); color: var(--cream);
  display: grid; grid-template-rows: 1fr auto;
}
.pdp__media::before {
  content: ''; position: absolute; inset: auto -20% -40% -20%; height: 80%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
  opacity: .55; pointer-events: none;
}
.pdp__media { cursor: grab; touch-action: pan-y; }
.pdp__media.is-dragging { cursor: grabbing; }
.specimen { position: absolute; inset: 0 0 26% 0; display: grid; place-items: center; perspective: 1200px; pointer-events: none; }
.specimen__pop { position: relative; width: min(56%, 52vh); aspect-ratio: 1; transform-style: preserve-3d; }
.specimen__k { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.specimen__slice, .specimen__back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; user-select: none; }
.specimen__slice { transform: translateZ(var(--z)); filter: brightness(var(--b)); }
.specimen__back { transform: translateZ(var(--z)) rotateY(180deg); }
.specimen__shadow { position: absolute; left: 18%; right: 18%; bottom: -4%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(8px); transform-origin: 50% 50%; }
.specimen__sats { position: absolute; inset: 0; }
/* a real kernel with a body (factory hero and friends) */
.solid { position: absolute; inset: 14%; perspective: 1000px; pointer-events: none; }
.solid__k { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.solid__slice, .solid__back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.solid__slice { transform: translateZ(var(--z)); filter: brightness(var(--b)); }
.solid__slice:first-child { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.solid__back { transform: translateZ(var(--z)) rotateY(180deg); }
.specimen__sat { position: absolute; width: clamp(56px, 9%, 110px); filter: blur(.4px) drop-shadow(0 14px 14px rgba(0, 0, 0, .4)); animation: satFloat 6s var(--ease-io) infinite alternate; }
.specimen__sat--0 { left: 12%; top: 16%; animation-delay: -1s; }
.specimen__sat--1 { right: 13%; top: 30%; width: clamp(44px, 7%, 86px); animation-delay: -3s; }
.specimen__sat--2 { left: 20%; bottom: 8%; width: clamp(40px, 6%, 72px); animation-delay: -4.5s; filter: blur(1.4px) drop-shadow(0 10px 10px rgba(0, 0, 0, .4)); }
@keyframes satFloat { from { transform: translateY(-10px) rotate(-8deg); } to { transform: translateY(12px) rotate(10deg); } }
.pdp__drag { position: absolute; left: 50%; top: 22px; z-index: 1; pointer-events: none; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); letter-spacing: .06em; color: var(--muted); }
.pdp__media-copy { position: relative; grid-row: 2; padding: 0 clamp(24px, 3.5vw, 52px) clamp(24px, 3.5vw, 44px); pointer-events: none; }
.pdp__badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); margin-bottom: 14px; }
.pdp__name { font: 900 clamp(2.8rem, 5.8vw, 6.2rem)/.86 var(--f-display); letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; }
.pdp__name--mid { font-size: clamp(2.4rem, 4.6vw, 4.9rem); }
.pdp__name--long { font-size: clamp(2rem, 3.5vw, 3.7rem); }
.pdp__hook { margin-top: 14px; font: 500 clamp(1.05rem, 1.5vw, 1.35rem)/1.35 var(--f-body); color: var(--muted); max-width: 30ch; }
.pdp__rating { display: flex; gap: 10px; align-items: center; margin-top: 14px; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.pdp__rating b { color: var(--yellow); font-weight: 500; }
.pdp__body { grid-column: 2; overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 4vw, 64px) clamp(24px, 4vw, 64px) 40px; outline: none; }
.pdp__section { padding: 30px 0; border-bottom: 1px solid var(--line-ink); }
.pdp__section:first-child { padding-top: 54px; }
.pdp__h { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; }
.pdp__lead { font: 500 clamp(1.25rem, 1.8vw, 1.6rem)/1.4 var(--f-body); letter-spacing: -.005em; }
.notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.notes span { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; background: var(--charcoal); color: var(--cream); }
.notes span:first-child { background: var(--accent); color: var(--on-accent); }
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.meter .meter__val { font: 800 44px/1 var(--f-display); letter-spacing: -.02em; }
.meter .meter__val small { font-size: 16px; font-weight: 600; color: var(--muted-ink); margin-left: 4px; }
.meter__cells { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 12px 0 10px; }
.meter__cells i { height: 26px; border-radius: 4px; background: var(--line-ink); transform-origin: 50% 100%; }
.meter__cells i.on { background: var(--charcoal); }
.meter__cells--season { grid-template-columns: repeat(5, 1fr); }
.meter__cells--season i.on { background: var(--accent); box-shadow: inset 0 0 0 1px rgba(34, 33, 17, .15); }
.meter__scale { display: flex; justify-content: space-between; font: 500 11px/1 var(--f-mono); color: var(--muted-ink); }
.meter p { font-size: 14px; color: var(--muted-ink); margin-top: 12px; }
.ingr { display: flex; flex-wrap: wrap; gap: 8px; }
.ingr__chip {
  position: relative; height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-ink);
  font-weight: 650; font-size: 14px; transition: background-color .3s, color .3s;
}
.ingr__chip:hover, .ingr__chip:focus-visible, .ingr__chip[aria-expanded="true"] { background: var(--charcoal); color: var(--cream); }
.ingr__tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 4; width: max-content; max-width: 260px;
  transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  padding: 10px 12px; border-radius: 12px; background: var(--yellow); color: var(--charcoal);
  font: 500 13px/1.4 var(--f-body); text-align: left; white-space: normal;
  transition: opacity .25s, transform .35s var(--ease-out);
}
.ingr__chip:hover .ingr__tip, .ingr__chip:focus-visible .ingr__tip, .ingr__chip[aria-expanded="true"] .ingr__tip { opacity: 1; transform: translate(-50%, 0); }
.full-list { margin-top: 18px; font-size: 15px; line-height: 1.65; }
.not-list { margin-top: 12px; font-size: 14px; color: var(--muted-ink); }
.nutri--pdp { max-width: 420px; }
.moment { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.moment p { font-size: 15px; }
.moment__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.moment__tags span { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--charcoal); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 15px; }
.story h4 { font: 800 20px/1.1 var(--f-display); margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line-ink); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 650; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 500 22px/1 var(--f-display); transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--muted-ink); font-size: 15px; max-width: 60ch; }
.voices { display: grid; gap: 12px; }
.voice { padding: 18px; border-radius: var(--r-md); background: var(--paper); }
.voice p { font-size: 15px; }
.voice footer { margin-top: 10px; font: 500 12px/1 var(--f-mono); color: var(--muted-ink); display: flex; justify-content: space-between; }
.pack-photo { margin-top: 16px; border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.pack-photo img { width: 100%; height: auto; }

.pdp__buy {
  grid-column: 2; display: flex; align-items: center; gap: 14px;
  padding: 14px clamp(24px, 4vw, 64px); border-top: 1px solid var(--line-ink); background: var(--cream);
}
.pdp__price { display: grid; margin-right: auto; }
.pdp__price b { font: 800 32px/1 var(--f-display); }
.pdp__price small { font-size: 12px; color: var(--muted-ink); margin-top: 4px; }
.pdp__price s { opacity: .5; font-weight: 500; margin-left: 6px; font-size: 16px; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--charcoal); }
.qty button { width: 46px; height: 52px; font-size: 20px; font-weight: 600; border-radius: 999px; }
.qty button:hover { background: var(--paper); }
.qty output { min-width: 26px; text-align: center; font: 500 15px/1 var(--f-mono); }

/* ---------- CART ---------- */
.cart { margin: 0 0 0 auto; height: 100dvh; width: min(480px, 100vw); }
.cart__shell {
  height: 100%; display: grid; grid-template-rows: auto auto 1fr auto;
  background: var(--cream); color: var(--charcoal);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 14px; }
.cart__head h2 { font: 800 32px/1 var(--f-display); letter-spacing: -.01em; }
.cart__head h2 span { font: 500 14px/1 var(--f-mono); color: var(--muted-ink); vertical-align: middle; }
.ship { margin: 0 24px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); font-size: 14px; font-weight: 550; }
.ship__track { height: 6px; border-radius: 6px; margin-top: 10px; background: var(--line-ink); overflow: hidden; }
.ship__track span { display: block; height: 100%; width: 0; background: var(--charcoal); border-radius: inherit; transition: width .8s var(--ease-out), background-color .3s; }
.ship.is-free .ship__track span { background: var(--green); }
.cart__items { overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px; }
.ci { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-ink); }
.ci__img { width: 76px; height: 76px; border-radius: 14px; background: var(--charcoal); display: grid; place-items: center; overflow: hidden; }
.ci__img img { width: 88%; height: 88%; object-fit: contain; }
.ci__name { font: 800 19px/1.1 var(--f-display); }
.ci__meta { font-size: 12px; color: var(--muted-ink); margin-top: 3px; }
.ci__controls { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.ci .qty { height: 36px; }
.ci .qty button { width: 34px; height: 36px; font-size: 16px; }
.ci__remove { font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--muted-ink); }
.ci__remove:hover { color: var(--rust); }
.ci__price { font: 500 15px/1 var(--f-mono); align-self: start; padding-top: 6px; }
.cart__empty { padding: 48px 0; text-align: center; display: grid; gap: 10px; justify-items: center; }
.cart__empty b { font: 800 28px/1.05 var(--f-display); }
.cart__empty p { color: var(--muted-ink); }
.cart__foot { padding: 16px 24px 22px; border-top: 1px solid var(--line-ink); display: grid; gap: 14px; }
.coupon { display: flex; gap: 6px; }
.coupon input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-ink); background: #fff; text-transform: uppercase; }
.coupon input:focus { outline: none; border-color: var(--charcoal); }
.coupon button { height: 44px; padding: 0 18px; border-radius: 999px; background: var(--charcoal); color: var(--cream); font-weight: 650; font-size: 14px; }
.totals { display: grid; gap: 6px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals dd { margin: 0; font-family: var(--f-mono); }
.totals__grand { padding-top: 8px; border-top: 1px solid var(--line-ink); font-weight: 700; font-size: 18px; }
.totals__grand dd { font: 800 24px/1 var(--f-display); }
.cart__note { font-size: 12px; color: var(--muted-ink); text-align: center; }

/* ---------- SHEET (checkout + quiz) ---------- */
.sheet { margin: auto; width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--r-lg); }
.sheet__shell { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; background: var(--cream); color: var(--charcoal); padding: clamp(24px, 4vw, 52px); border-radius: inherit; }
.sheet__close { position: absolute; right: 18px; top: 18px; }
.sheet__title { font: 800 clamp(2.2rem, 4vw, 3.4rem)/1 var(--f-display); letter-spacing: -.02em; margin-bottom: 28px; }
.co { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.co__form { display: grid; gap: 22px; }
.co__form legend { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 10px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 650; }
.field input { height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-ink); background: #fff; font-size: 16px; }
.field input:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 4px rgba(253, 219, 94, .6); }
.field input[aria-invalid="true"] { border-color: var(--rust); }
.field__err { font-size: 12px; color: var(--rust); font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-ink); margin-bottom: 8px; cursor: pointer; background: #fff; font-weight: 650; }
.pay small { color: var(--muted-ink); font-weight: 500; }
.pay:has(input:checked) { border-color: var(--charcoal); box-shadow: 0 0 0 3px var(--yellow); }
.pay input { accent-color: var(--charcoal); width: 18px; height: 18px; }
.co__error { color: var(--rust); font-weight: 600; font-size: 14px; }
.co__summary { position: sticky; top: 0; background: var(--charcoal); color: var(--cream); border-radius: var(--r-md); padding: 22px; display: grid; gap: 12px; }
.co__summary h3 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.co__line { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co__line img { width: 44px; height: 44px; object-fit: contain; }
.co__line span:last-child { font-family: var(--f-mono); }
.co__totals { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.co__totals div { display: flex; justify-content: space-between; }
.co__totals .grand { font: 800 22px/1 var(--f-display); color: var(--yellow); padding-top: 6px; }
.receipt { text-align: center; display: grid; gap: 16px; justify-items: center; padding: 20px 0; }
.receipt__k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--green); }
.receipt h2 { font: 800 clamp(2.2rem, 5vw, 4rem)/.95 var(--f-display); letter-spacing: -.02em; max-width: 16ch; }
.receipt p { color: var(--muted-ink); max-width: 52ch; }
.receipt__box { text-align: left; width: min(100%, 520px); padding: 18px; border-radius: var(--r-md); background: var(--paper); font-size: 14px; }
.receipt__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.sheet--quiz { width: min(860px, calc(100vw - 24px)); }
.quiz__k { font: 500 12px/1 var(--f-mono); color: var(--muted-ink); letter-spacing: .06em; }
.quiz__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 26px; max-width: 280px; }
.quiz__progress i { height: 4px; border-radius: 4px; background: var(--line-ink); }
.quiz__progress i.on { background: var(--charcoal); }
.quiz__q { font: 800 clamp(2rem, 4.4vw, 3.6rem)/1 var(--f-display); letter-spacing: -.02em; max-width: 18ch; margin-bottom: 28px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opt {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; text-align: left;
  padding: 20px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-ink);
  font-weight: 600; font-size: 16px; transition: background-color .3s, color .3s, transform .4s var(--ease-out), box-shadow .3s;
}
.quiz__opt b { font: 500 13px/1 var(--f-mono); color: var(--muted-ink); }
.quiz__opt:hover, .quiz__opt:focus-visible { background: var(--charcoal); color: var(--cream); transform: translateY(-2px); box-shadow: none; }
.quiz__opt:hover b { color: var(--yellow); }
.quiz__result { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.quiz__result img { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 30px 40px rgba(34, 33, 17, .3)); }
.quiz__result h2 { font: 800 clamp(2rem, 3.6vw, 3.2rem)/.95 var(--f-display); letter-spacing: -.02em; }
.quiz__result .hook { font-size: 18px; font-weight: 600; margin: 12px 0; }
.quiz__result p { color: var(--muted-ink); }
.quiz__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.quiz__code { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 14px; }
.quiz__code b { font-family: var(--f-mono); }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 130; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 12px; border-radius: 999px;
  background: var(--charcoal); color: var(--cream); box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  font-size: 14px; font-weight: 600; border: 1px solid var(--line);
}
.toast img { width: 34px; height: 34px; object-fit: contain; }
.toast button { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--yellow); color: var(--charcoal); font-size: 13px; font-weight: 700; }
.toast--warn { background: var(--rust); }


@media (max-width: 1540px) and (min-width: 1301px) {
  .nav__links { gap: 1px; }
  .nav__links a { padding: 7px 8px; font-size: 12.8px; }
  .nav__sound-label { display: none; }
  .nav__sound { padding: 0 10px; }
}
@media (max-width: 1300px) {
  .nav__links { display: none; }
  .nav__menu { display: grid; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav { padding: 10px 12px; }
  .nav__bar { height: 56px; }
  .nav__logo { height: 42px; }
  .nav__sound-label { display: none; }
  .nav__sound { padding: 0 12px; }
  .xray__head { grid-template-columns: 1fr; }
  .xray__head p { justify-self: start; }
  .xray__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .xray__tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; white-space: nowrap; }
  .xray__panel { min-height: 0; display: grid; }
  .xray__front, .xray__back { position: relative; grid-area: 1 / 1; }
  .xray__front { grid-template-columns: 1fr; text-align: left; }
  .xray__art { width: 64%; order: -1; }
  .xray__back { grid-template-columns: 1fr; }
  .label__item span { display: none; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px 24px 0; border-bottom: 1px solid var(--line); }
  .stat + .stat { padding-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-right: 0; }
  .bridge__grid { grid-template-columns: 1fr; }
  .bridge__card { min-height: 360px; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__news-row { flex-wrap: wrap; }
  .foot__news-row input { flex: 1 1 100%; }
  .foot__news-row .btn { flex: 1 1 100%; }
  .pdp__shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .pdp__media { grid-row: 1; min-height: 46dvh; }
  .pdp__body { grid-column: 1; grid-row: 2; }
  .pdp__buy { grid-column: 1; grid-row: 3; }
  .pdp__close { width: 46px; height: 46px; right: 12px; top: 12px; }
  .meters, .story { grid-template-columns: 1fr; }
  .cart__shell { border-radius: 0; }
  .co { grid-template-columns: 1fr; }
  .co__summary { position: static; order: -1; }
  .field-row { grid-template-columns: 1fr; }
  .quiz__opts { grid-template-columns: 1fr; }
  .quiz__result { grid-template-columns: 1fr; }
  .quiz__result img { max-width: 220px; }
}
@media (max-width: 520px) {
  .proof__grid { grid-template-columns: 1fr; }
  .stat:nth-child(even) { padding-left: 0; }
  .stat { border-right: 0; }
  .nav__cart-word { display: none; }
  .nav__cart { padding: 0 6px; }
  .pdp__buy { flex-wrap: wrap; }
  .pdp__buy .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   NAV EXTRAS — search, account
   ========================================================================== */
.nav__icon, .nav__account {
  display: inline-grid; place-items: center; height: 44px; min-width: 44px; border-radius: 999px;
  color: var(--muted); transition: color .3s, background-color .3s;
}
.nav__icon:hover, .nav__account:hover { color: var(--cream); background: rgba(251, 246, 233, .06); }
.nav__icon svg, .nav__account svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav__account { display: inline-flex; gap: 8px; padding: 0 14px 0 12px; font-size: 13px; font-weight: 600; }
.nav__account.is-member { color: var(--cream); }
.auth-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--charcoal); font: 800 13px/1 var(--f-display); }
.foot__cols--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .nav__account .auth-btn-label { display: none; } .nav__account { padding: 0 10px; } }
@media (max-width: 520px) { .nav__icon { display: none; } .nav__sound { display: none; } }

/* ==========================================================================
   SEARCH PALETTE
   ========================================================================== */
.palette { margin: 12vh auto auto; width: min(680px, calc(100vw - 24px)); border-radius: var(--r-lg); }
.palette__shell { background: var(--charcoal); color: var(--cream); border-radius: inherit; border: 1px solid var(--line-strong); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
.palette__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette__field svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; }
.palette__field input { flex: 1; height: 64px; background: none; border: 0; font-size: 18px; color: var(--cream); }
.palette__field input:focus { outline: none; }
.palette__field kbd { font: 500 11px/1 var(--f-mono); padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--muted); }
.palette__results { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; }
.palette__h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.palette__item { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 8px 10px; border-radius: 12px; transition: background-color .2s; }
.palette__item:hover, .palette__item:focus-visible { background: rgba(251, 246, 233, .07); }
.palette__item img { width: 44px; height: 44px; object-fit: contain; }
.palette__item b { display: block; font-weight: 650; font-size: 15px; }
.palette__item small { display: block; color: var(--muted); font-size: 13px; }
.palette__item em { font: 500 13px/1 var(--f-mono); font-style: normal; color: var(--yellow); }
.palette__glyph { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(251, 246, 233, .06); font: 800 18px/1 var(--f-display); color: var(--yellow); }
.palette__empty { padding: 28px 12px; color: var(--muted); }

/* ==========================================================================
   AUTH MODAL (markup from auth.js)
   ========================================================================== */
.auth-modal { position: fixed; inset: 0; z-index: 160; display: none; place-items: center; padding: 16px; background: rgba(14, 13, 6, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.auth-modal.active { display: grid; animation: fadeIn .3s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } }
.auth-modal__card { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--cream); color: var(--charcoal); animation: rise .5s var(--ease-out); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.auth-modal__close { position: absolute; right: 16px; top: 16px; }
.auth-modal__k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); }
.auth-modal__title { font: 800 clamp(2rem, 4vw, 2.6rem)/1 var(--f-display); letter-spacing: -.02em; margin: 8px 0 10px; }
.auth-modal__sub { color: var(--muted-ink); font-size: 15px; margin-bottom: 20px; }
.auth-modal__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); margin-bottom: 20px; }
.auth-tab-btn { height: 42px; border-radius: 999px; font-weight: 650; font-size: 14px; color: var(--muted-ink); }
.auth-tab-btn.active { background: var(--charcoal); color: var(--cream); }
.auth-form { display: grid; gap: 4px; }
.auth-form[hidden] { display: none; }
.auth-form__row { display: flex; gap: 8px; }
.auth-form__row input { flex: 1; min-width: 0; }
.auth-form__row .btn { min-height: 50px; padding: 0 16px; }
.auth-form__otp { padding: 14px; border-radius: 14px; background: var(--paper); border: 1.5px dashed var(--charcoal); }
.auth-form__otp[hidden] { display: none; }
.auth-form__otp label { display: flex; justify-content: space-between; }
.auth-form__otp input { font: 600 22px/1 var(--f-mono); letter-spacing: .4em; text-align: center; }
.auth-form__otp small { color: var(--muted-ink); font-size: 12px; }
.auth-form .btn { margin-top: 10px; }

/* toasts raised by the older modules (toast.js) — same look as ours */
.zm-toast-container { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 170; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.zm-toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: min(520px, calc(100vw - 24px)); padding: 12px 14px; border-radius: 18px; background: var(--charcoal); color: var(--cream); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); animation: rise .45s var(--ease-out); position: relative; overflow: hidden; }
.zm-toast.dismissing { opacity: 0; transform: translateY(10px); transition: all .3s; }
.zm-toast-icon-wrap { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--charcoal); flex: 0 0 auto; }
.zm-toast-icon-wrap svg { width: 16px; height: 16px; }
.zm-toast-warning .zm-toast-icon-wrap { background: var(--rust); color: var(--cream); }
.zm-toast-crunch .zm-toast-icon-wrap { background: var(--green); }
.zm-toast-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.zm-toast-message { font-size: 14px; }
.zm-toast-close { color: var(--muted); width: 28px; height: 28px; display: grid; place-items: center; }
.zm-toast-close svg { width: 14px; height: 14px; }
.zm-toast-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.zm-toast-progress-bar { height: 100%; background: var(--yellow); animation: toastbar linear forwards; transform-origin: 0 50%; }
@keyframes toastbar { to { transform: scaleX(0); } }
.zm-icon { width: 1.1em; height: 1.1em; vertical-align: -.15em; display: inline-block; }

/* ==========================================================================
   PAGE PATTERNS — used across the content pages
   ========================================================================== */
.ph { position: relative; padding: calc(var(--nav-h) + clamp(48px, 9vw, 120px)) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.ph--cream { background: var(--cream); color: var(--charcoal); }
.ph--yellow { background: var(--yellow); color: var(--charcoal); }
.ph--ink { background: var(--ink); }
.ph__k { display: flex; gap: 16px; justify-content: space-between; border-top: 1.5px solid currentColor; padding-top: 12px; margin-bottom: clamp(28px, 5vw, 60px); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ph__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.9rem, 8.4vw, 9.2rem); line-height: .84; letter-spacing: -.05em; max-width: 14ch; }
.ph__title, .h-xl, .h-l, .foot__giant { --wb: 900; --wd: -7; }
.ph__title--m { font-size: clamp(2.7rem, 7vw, 7.4rem); max-width: 16ch; }
.ph__lede { margin-top: clamp(24px, 4vw, 44px); max-width: 46ch; font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; line-height: 1.5; }
.ph__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.ph__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.ph .ph__lede { opacity: .85; }

.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec--cream { background: var(--cream); color: var(--charcoal); }
.sec--paper { background: var(--paper); color: var(--charcoal); }
.sec--ink { background: var(--ink); }
.sec--yellow { background: var(--yellow); color: var(--charcoal); }
.sec--green { background: var(--green); color: var(--charcoal); }
.sec--orivana { background: var(--orivana); color: var(--cream); }
.sec__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head > p { max-width: 44ch; justify-self: end; font-size: 17px; opacity: .78; }
.sec__k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 14px; }
.h-l { font: 900 clamp(2.2rem, 5vw, 5.2rem)/.88 var(--f-display); letter-spacing: -.045em; text-transform: uppercase; }
.h-m { font: 800 clamp(1.8rem, 3.2vw, 3rem)/1 var(--f-display); letter-spacing: -.02em; }
.muted { opacity: .72; }
.mono { font-family: var(--f-mono); }

.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 650; }
.field input, .field select, .field textarea {
  min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-ink); background: #fff; font-size: 16px; color: var(--charcoal);
}
.field textarea { padding: 14px 16px; min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 4px rgba(253, 219, 94, .6); }
.field--dark input, .field--dark select, .field--dark textarea { background: rgba(251, 246, 233, .05); border-color: var(--line-strong); color: var(--cream); }
.field--dark select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF6E9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.field--dark select option { background: var(--charcoal); }
.field--dark input:focus, .field--dark select:focus, .field--dark textarea:focus { border-color: var(--yellow); box-shadow: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--ink { color: var(--muted-ink); box-shadow: inset 0 0 0 1px var(--line-ink); }
.chip--ink:hover { color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.chip--ink[aria-pressed="true"], .chip--ink[aria-checked="true"] { background: var(--charcoal); color: var(--cream); box-shadow: none; }

.acc details { border-bottom: 1px solid currentColor; border-color: var(--line-ink); }
.acc summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 650; font-size: 18px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font: 500 26px/1 var(--f-display); transition: transform .35s var(--ease-out); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 0 20px; max-width: 64ch; opacity: .8; }

.marquee--yellow { background: var(--yellow); }
.marquee--yellow .marquee__group span { color: var(--charcoal); }
.marquee--yellow .marquee__group i { background: var(--charcoal); }

.empty-note { padding: 40px 24px; border-radius: var(--r-md); border: 1.5px dashed var(--line-strong); text-align: center; color: var(--muted); }
.empty-note b { display: block; font: 800 24px/1.1 var(--f-display); color: var(--cream); margin-bottom: 6px; }

@media (max-width: 900px) {
  .sec__head { grid-template-columns: 1fr; }
  .sec__head > p { justify-self: start; }
  .foot__cols--4 { grid-template-columns: 1fr 1fr; }
}

/* ---------- bite page transitions ---------- */
html.is-biting body::after { content: ''; position: fixed; inset: 0; z-index: 300; background: var(--yellow); }
.bite-veil { position: fixed; inset: 0; z-index: 310; background: var(--yellow); display: grid; place-items: center; pointer-events: none; will-change: clip-path; }
.bite-veil__inner { display: grid; justify-items: center; gap: 14px; color: var(--charcoal); }
.bite-veil__inner img { width: 104px; height: auto; }
.bite-veil__inner span { font: 800 clamp(2.4rem, 6vw, 5rem)/.9 var(--f-display); letter-spacing: -.03em; }
.bite-crumb { position: fixed; z-index: 320; border-radius: 45% 55% 40% 60%; background: #F3E3BE; box-shadow: inset -2px -2px 0 rgba(160, 110, 40, .35); pointer-events: none; }

/* ==========================================================================
   SIGNATURE INTERACTIONS (signature.js)
   ========================================================================== */
.crumbs { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 119; }
.crack-layer { position: absolute; pointer-events: none; z-index: 4; display: block; }
.crack-half { position: absolute !important; inset: 0; margin: 0 !important; width: 100%; max-width: none !important; will-change: transform; }

/* premium cards: sprung tilt + depth layers + glare + lit edge (signature.js) */
.zcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --lift: 0; --glow: 0; --press: 0;
  position: relative; transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(calc(var(--lift) * 10px)) scale(calc(1 - var(--press) * 0.025));
  box-shadow:
    calc(var(--ry) * -1.6) calc(18px + var(--lift) * 22px + var(--rx) * 1.6) calc(40px + var(--lift) * 40px) rgba(34, 33, 17, calc(0.10 + var(--lift) * 0.14)),
    0 2px 6px rgba(34, 33, 17, .06);
  will-change: transform;
}
.zcard [data-depth] { transform: translateZ(calc(var(--lift) * var(--d, 30px))); transition: none; }
.zcard > :not(.zcard__glare):not(.zcard__edge) { transform-style: preserve-3d; }
.zcard [data-depth="1"] { --d: 20px; } .zcard [data-depth="2"] { --d: 46px; } .zcard [data-depth="3"] { --d: 80px; }
.zcard__glare, .zcard__edge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; backface-visibility: hidden; transform: translateZ(2px); }
.zcard__glare {
  opacity: var(--glow);
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .12) 26%, rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: soft-light;
}
.zcard__edge {
  padding: 1.5px; opacity: var(--glow);
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 255, 255, .95), rgba(253, 219, 94, .55) 30%, rgba(255, 255, 255, 0) 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.zcard:focus-visible, .zcard:focus-within { outline: none; }
@media (prefers-reduced-motion: reduce) { .zcard { transform: none; } }

[data-puff] { position: relative; overflow: hidden; isolation: isolate; }
.puff__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; cursor: crosshair; }
[data-puff] > :not(canvas) { position: relative; z-index: 1; }
[data-hatch] { position: relative; }
.hatch__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; display: block; }
@media (prefers-reduced-motion: reduce) { .crumbs, .hatch__canvas { display: none; } }

/* ---------- kernel art: real makhana + flavour seasoning ---------- */
.kart { position: relative; width: 100%; aspect-ratio: 1; }
.kart__dust { position: absolute; inset: 0; }
.kart__dust i { position: absolute; border-radius: 40% 60% 55% 45%; opacity: .85; }
.kart__k { position: absolute; height: auto; filter: drop-shadow(0 18px 18px rgba(40, 30, 5, .28)); user-select: none; -webkit-user-drag: none; will-change: transform; }
.kart__k--a { width: 50%; left: 25%; top: 10%; z-index: 3; }
.kart__k--b { width: 37%; left: 0%; top: 52%; z-index: 2; transform: rotate(-24deg); }
.kart__k--c { width: 35%; left: 63%; top: 56%; z-index: 1; transform: rotate(31deg); }
.kart--single .kart__k--a { width: 74%; left: 13%; top: 14%; }
.kart--single .kart__dust { opacity: .7; }
