/* =============================================================================
   Napfglück – stylesheet
   ========================================================================== */

@font-face { font-family: "Bricolage"; src: url(/static/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Literata"; src: url(/static/fonts/literata-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Literata"; src: url(/static/fonts/literata-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Literata"; src: url(/static/fonts/literata-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --moss: #1C3528;
  --moss-2: #274634;
  --moss-3: #3A5E49;
  --moss-ink: #DCE5DD;
  --ochre: #E8AE35;
  --ochre-2: #F2C766;
  --ochre-soft: #F7E4B4;
  --paper: #F4F5F0;
  --paper-2: #E9ECE3;
  --white: #FFFFFF;
  --red: #A8322A;
  --line: #DADFD4;
  --muted: #5A6A5F;
  --meat: #9E3B32;
  --meat-2: #C76B60;
  --veg: #6E8F4E;
  --oil: #E8AE35;
  --extra: #A2AC9B;

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(28, 53, 40, .06), 0 12px 32px -12px rgba(28, 53, 40, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--moss); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
::selection { background: var(--ochre); color: var(--moss); }

/* ---- type ----------------------------------------------------------------- */
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
.h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
.small { font-size: .9rem; color: var(--muted); }
.section__sub { color: var(--muted); font-size: 1.1rem; margin: 0; }

.link-arrow { font: 650 1rem/1 var(--display); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 2px solid currentColor; }
.link-arrow::after { content: ""; width: 18px; height: 10px; background: currentColor; clip-path: polygon(0 42%, 70% 42%, 70% 0, 100% 50%, 70% 100%, 70% 58%, 0 58%); transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---- buttons -------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 1rem/1 var(--display); padding: 15px 24px; border-radius: 999px; border: 2px solid var(--moss); background: var(--moss); color: var(--paper); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .3s var(--ease), border-color .3s var(--ease), transform .15s; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--moss-3); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.btn--ochre { background: var(--ochre); border-color: var(--ochre); color: var(--moss); }
.btn--ochre::before { background: var(--ochre-2); }
.btn--ochre:hover { color: var(--moss); border-color: var(--ochre-2); }
.btn--ghost { background: transparent; border-color: rgba(244, 245, 240, .45); color: var(--paper); }
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--moss); border-color: var(--paper); }
.btn--outline { background: transparent; color: var(--moss); }
.btn--outline::before { background: var(--moss); }
.btn--outline:hover { color: var(--paper); }
.btn--small { padding: 10px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---- topbar & header ------------------------------------------------------ */
.topbar { background: var(--moss); color: var(--moss-ink); font: 500 .82rem/1.3 var(--display); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar__row { display: flex; justify-content: space-between; gap: 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--ochre-2); text-decoration: none; }
@media (max-width: 760px) { .topbar__more { display: none; } .topbar__row { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(244, 245, 240, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--moss); border-bottom: 1px solid transparent; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, box-shadow .35s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(28, 53, 40, .5); }
.is-home .header:not(.is-scrolled):not(.is-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--paper); }
.header__row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 1.45rem/1 var(--display); letter-spacing: -0.035em; flex: none; }
.logo svg { width: 34px; height: 34px; transition: transform .5s var(--ease); }
.logo:hover { color: inherit; }
.logo:hover svg { transform: rotate(-12deg); }
.nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.nav a { position: relative; color: inherit; text-decoration: none; font: 550 .95rem/1 var(--display); padding: 10px 12px; border-radius: 999px; white-space: nowrap; transition: background .25s; }
.nav a:hover { background: rgba(28, 53, 40, .07); color: inherit; }
.is-home .header:not(.is-scrolled) .nav a:hover { background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--ochre); border-radius: 2px; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font: 600 .95rem/1 var(--display); padding: 10px 14px; border-radius: 999px; border: 1.5px solid currentColor; flex: none; transition: background .25s, color .25s; }
.cart-link svg { width: 20px; height: 20px; }
.cart-link:hover { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.cart-count { background: var(--ochre); color: var(--moss); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .78rem; font-weight: 700; padding: 0 6px; }
.cart-count.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid currentColor; background: none; color: inherit; cursor: pointer; position: relative; flex: none; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.header.is-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.header.is-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1120px) {
  .header__row { gap: 10px; min-height: 66px; }
  .nav-toggle { display: inline-block; }
  .cart-link { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); color: var(--moss); padding: 8px var(--gutter) 22px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(28, 53, 40, .4); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s .45s; }
  .header.is-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease); }
  .nav a { font-size: 1.35rem; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: none; color: var(--red); }
  .nav a[aria-current="page"]::after { display: none; }
  .header.is-open { background: var(--paper); color: var(--moss); }
}
@media (max-width: 480px) { .cart-link__label { display: none; } .logo span { font-size: 1.25rem; } }

/* ---- hero ----------------------------------------------------------------- */
.hero { position: relative; background: var(--moss); color: var(--paper); margin-top: -76px; padding: calc(76px + clamp(40px, 6vw, 90px)) 0 clamp(60px, 8vw, 120px); overflow: hidden; }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 55%, rgba(232, 174, 53, .18), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(58, 94, 73, .7), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6.3vw, 5.6rem); font-weight: 760; white-space: nowrap; line-height: .92; letter-spacing: -0.045em; margin: 0 0 .4em; }
.hero__title .hl { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .hl > span { display: block; }
.hero__title .hl:nth-child(2) > span { color: var(--ochre); }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--moss-ink); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font: 550 .92rem/1.2 var(--display); color: var(--moss-ink); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ochre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.5' fill='none' stroke='%231C3528' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; flex: none; }

/* product stage */
.stage { position: relative; aspect-ratio: 1 / .95; width: 100%; max-width: 600px; justify-self: end; }
.stage__disc { position: absolute; inset: 8% 6% 4%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--ochre-2), var(--ochre) 55%, #C98F1D); box-shadow: inset 0 -30px 60px rgba(0, 0, 0, .12); }
.stage__disc::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1.5px dashed rgba(244, 245, 240, .25); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage__can { position: absolute; will-change: transform; }
.stage__can .pack { filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .28)); }
.stage__can--left { left: 4%; top: 18%; width: 33%; }
.stage__can--right { right: 3%; top: 14%; width: 33%; }
.stage__can--front { left: 50%; top: 30%; margin-left: -21%; width: 42%; }
.stage__can--left > * { rotate: -6deg; }
.stage__can--right > * { rotate: 7deg; }
.chip { position: absolute; background: var(--paper); color: var(--moss); font: 600 .9rem/1 var(--display); padding: 12px 16px; border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); white-space: nowrap; }
.chip strong { font-weight: 800; color: var(--red); margin-right: 4px; }
.chip--a { left: -2%; bottom: 12%; }
.chip--b { right: 0; bottom: 4%; }
@media (max-width: 900px) {
  .hero { margin-top: -66px; padding-top: calc(66px + 36px); }
  .hero__grid { grid-template-columns: 1fr; }
  .stage { justify-self: center; max-width: 460px; margin-top: 12px; }
}

/* hero intro animation */
.js .hero__title .hl > span { transform: translateY(105%); }
.js .is-loaded .hero__title .hl > span { transform: none; transition: transform 1s var(--ease); }
.js .is-loaded .hero__title .hl:nth-child(2) > span { transition-delay: .09s; }
.js .is-loaded .hero__title .hl:nth-child(3) > span { transition-delay: .18s; }
.js [data-hero-fade] { opacity: 0; transform: translateY(16px); }
.js .is-loaded [data-hero-fade] { opacity: 1; transform: none; transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.js .is-loaded [data-hero-fade] + [data-hero-fade] { transition-delay: .45s; }
.js .is-loaded [data-hero-fade] + [data-hero-fade] + [data-hero-fade] { transition-delay: .55s; }
.js .stage__can > *, .js .stage__disc, .js .chip { opacity: 0; }
.js .is-loaded .stage__disc { opacity: 1; animation: pop 1.1s var(--ease) both; }
.js .is-loaded .stage__can > * { opacity: 1; animation: rise 1.1s var(--ease) both; }
.js .is-loaded .stage__can--left > * { animation-delay: .25s; }
.js .is-loaded .stage__can--right > * { animation-delay: .35s; }
.js .is-loaded .stage__can--front > * { animation-delay: .15s; }
.js .is-loaded .chip { opacity: 1; animation: pop .8s var(--ease) both; }
.js .is-loaded .chip--a { animation-delay: .8s; }
.js .is-loaded .chip--b { animation-delay: .95s; }
@keyframes pop { from { opacity: 0; scale: .85; } }
@keyframes rise { from { opacity: 0; translate: 0 60px; } }

/* ---- ticker --------------------------------------------------------------- */
.ticker { background: var(--ochre); color: var(--moss); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .08); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { list-style: none; display: flex; margin: 0; padding: 0; }
.ticker li { font: 650 clamp(1rem, 1.6vw, 1.25rem)/1 var(--display); letter-spacing: -0.01em; padding: 20px 0; white-space: nowrap; display: flex; align-items: center; }
.ticker li::after { content: ""; width: 26px; height: 14px; margin: 0 28px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 22'%3E%3Cellipse cx='20' cy='15' rx='19' ry='7'/%3E%3Ccircle cx='11' cy='4' r='3'/%3E%3Ccircle cx='20' cy='2.5' r='2.5'/%3E%3Ccircle cx='29' cy='4' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 22'%3E%3Cellipse cx='20' cy='15' rx='19' ry='7'/%3E%3Ccircle cx='11' cy='4' r='3'/%3E%3Ccircle cx='20' cy='2.5' r='2.5'/%3E%3Ccircle cx='29' cy='4' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- sections ------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--paper-2); }
.section--moss { background: var(--moss); color: var(--paper); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head .h2 { margin-bottom: .2em; }
.pagehead { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.pagehead__intro { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.empty { color: var(--muted); padding: 24px 0; }

/* scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- product cards -------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; }
.card__media { position: relative; background: var(--tint, var(--paper-2)); border-radius: var(--r-md); aspect-ratio: 4 / 4.4; display: grid; place-items: center; overflow: hidden; }
.card__media::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 8%; height: 30%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent); }
.card__img { position: relative; width: 62%; display: block; transition: transform .7s var(--ease); }
.card:hover .card__img { transform: translateY(-8px) rotate(-3deg) scale(1.03); }
.badge { position: absolute; top: 14px; left: 14px; font: 600 .78rem/1 var(--display); background: var(--white); color: var(--moss); padding: 8px 11px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.badge--muted { background: var(--moss); color: var(--paper); }
.quickadd { position: absolute; right: 12px; bottom: 12px; height: 46px; min-width: 46px; padding: 0 13px; border-radius: 999px; border: 0; background: var(--moss); color: var(--paper); display: inline-flex; align-items: center; gap: 0; cursor: pointer; font: 600 .9rem var(--display); overflow: hidden; transform: translateY(10px); opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease), gap .35s var(--ease), background .25s; }
.quickadd svg { width: 20px; height: 20px; flex: none; }
.quickadd span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease); }
.card:hover .quickadd, .quickadd:focus-visible { opacity: 1; transform: none; }
.quickadd:hover, .quickadd:focus-visible { gap: 8px; background: var(--red); }
.quickadd:hover span, .quickadd:focus-visible span { max-width: 160px; }
.quickadd.is-added { background: var(--veg); }
@media (hover: none) { .quickadd { opacity: 1; transform: none; } }
.card__body { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.15rem; margin: 0 0 4px; }
.card__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.card__title a:hover { color: var(--moss); background-size: 100% 1.5px; }
.card__meta { font-size: .9rem; color: var(--muted); margin: 0 0 12px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card__unit { font-size: .8rem; color: var(--muted); margin: 0; }
.card--out .card__img { opacity: .5; filter: grayscale(.5); }
.price { font: 700 1.2rem/1.2 var(--display); color: var(--moss); margin: 0; }
.price--big { font-size: 2.2rem; margin: 22px 0 2px; letter-spacing: -0.02em; }
.price__legal { font-size: .875rem; color: var(--muted); }
.soldout { font: 600 .95rem var(--display); color: var(--muted); }
@media (max-width: 520px) { .card__meta { display: none; } .card__title { font-size: 1rem; } .price { font-size: 1.05rem; } .card__unit { width: 100%; } .badge { top: 10px; left: 10px; font-size: .7rem; } .quickadd { right: 8px; bottom: 8px; height: 40px; min-width: 40px; padding: 0 10px; } }

/* packaging renders */
.pack { width: 100%; height: auto; overflow: visible; }
.pack--photo { object-fit: contain; aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.pk { font-family: var(--display); fill: #fff; }
.pk--brand { font-size: 12px; font-weight: 600; opacity: .92; letter-spacing: -0.01em; }
.pk--big { font-weight: 780; letter-spacing: -0.03em; }
.pk--sub { font-size: 11px; font-weight: 500; opacity: .9; }
.pk--band { font-size: 10.5px; font-weight: 600; }
.pk--dark { fill: var(--moss); opacity: 1; }
.pk--muted { fill: var(--muted); }

/* ---- bento categories ----------------------------------------------------- */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(230px, auto)); gap: clamp(12px, 1.6vw, 20px); }
.tile { position: relative; display: flex; justify-content: space-between; gap: 12px; background: var(--tone); color: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 34px); text-decoration: none; overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 85% 90%, rgba(255, 255, 255, .22), transparent 60%); z-index: -1; }
.tile:hover { color: var(--paper); }
.tile--big { grid-row: span 2; flex-direction: column; }
.tile__text { display: flex; flex-direction: column; gap: 8px; max-width: 30ch; }
.tile__name { font: 720 clamp(1.4rem, 2.2vw, 1.9rem)/1.05 var(--display); letter-spacing: -0.03em; }
.tile--big .tile__name { font-size: clamp(2rem, 3.6vw, 3rem); }
.tile__intro { font-size: 1rem; opacity: .85; }
.tile__count { font: 550 .9rem var(--display); opacity: .8; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; }
.tile__count::after { content: ""; width: 16px; height: 9px; background: currentColor; clip-path: polygon(0 42%, 70% 42%, 70% 0, 100% 50%, 70% 100%, 70% 58%, 0 58%); transition: transform .35s var(--ease); }
.tile:hover .tile__count::after { transform: translateX(5px); }
.tile__pack { width: 38%; align-self: flex-end; flex: none; transition: transform .7s var(--ease); margin: -6px -6px -16px 0; }
.tile--big .tile__pack { width: 58%; align-self: center; margin: 12px auto -30px; }
.tile__pack .pack { filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .3)); }
.tile:hover .tile__pack { transform: translateY(-10px) rotate(-4deg); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; flex-direction: row; min-height: 280px; }
  .tile--big .tile__pack { width: 36%; margin: 0 0 -24px; align-self: flex-end; }
  .tile--small { min-height: 210px; flex-direction: column; }
  .tile--small .tile__pack { width: 46%; margin: 0 -8px -24px auto; }
}
@media (max-width: 480px) { .tile--big { flex-direction: column; } .tile--big .tile__pack { width: 52%; margin: 0 auto -30px; } .tile--small .tile__pack { width: 56%; } }

/* ---- composition bar ------------------------------------------------------ */
.comp { margin: 0 0 14px; }
.comp__cap { margin-bottom: 12px; }
.comp__bar { display: flex; height: 38px; border-radius: 10px; overflow: hidden; gap: 3px; }
.comp__seg { display: block; min-width: 3px; transform-origin: left center; }
.comp__seg--meat { background: var(--meat); }
.comp__seg--meat + .comp__seg--meat { background: var(--meat-2); }
.comp__seg--meat + .comp__seg--meat + .comp__seg--meat { background: var(--meat); }
.comp__seg--meat + .comp__seg--meat + .comp__seg--meat + .comp__seg--meat { background: var(--meat-2); }
.comp__seg--veg { background: var(--veg); }
.comp__seg--oil { background: var(--oil); }
.comp__seg--extra { background: var(--extra); }
.js .comp__bar .comp__seg { transform: scaleX(0); }
.js .comp.is-in .comp__bar .comp__seg { transform: none; transition: transform .7s var(--ease) calc(var(--i, 0) * 70ms); }
.comp__list { list-style: none; padding: 0; margin: 18px 0 0; columns: 2; column-gap: 28px; font-size: .93rem; }
.comp__list li { break-inside: avoid; padding: 5px 0; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.comp__dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.comp__pct { margin-left: auto; font: 600 .9rem var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .comp__list { columns: 1; } }

.opencan { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.opencan__big { font: 780 clamp(5rem, 13vw, 10rem)/.85 var(--display); letter-spacing: -0.06em; color: var(--meat); margin: 28px 0 8px; font-variant-numeric: tabular-nums; }
.opencan__cap { font: 600 1.05rem var(--display); }
.opencan__card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.opencan__card .comp__bar { height: 64px; }
@media (max-width: 860px) { .opencan { grid-template-columns: 1fr; } }

/* ---- steps ---------------------------------------------------------------- */
.steps__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps__intro { position: sticky; top: 130px; }
.steps__intro p { color: var(--moss-ink); font-size: 1.15rem; }
.steps__meter { height: 3px; background: rgba(255, 255, 255, .14); border-radius: 3px; margin-top: 32px; max-width: 320px; overflow: hidden; }
.steps__meter span { display: block; height: 100%; background: var(--ochre); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps__list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps__list li { counter-increment: s; position: relative; padding: 0 0 clamp(36px, 5vw, 64px) 88px; }
.steps__list li::before { content: counter(s); position: absolute; left: 0; top: -6px; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid rgba(244, 245, 240, .35); display: grid; place-items: center; font: 700 1.3rem var(--display); color: var(--ochre); transition: background .5s, color .5s; }
.steps__list li.is-in::before { background: var(--ochre); color: var(--moss); border-color: var(--ochre); transition-delay: .3s; }
.steps__list li::after { content: ""; position: absolute; left: 29px; top: 60px; bottom: 6px; width: 1.5px; background: rgba(244, 245, 240, .18); }
.steps__list li:last-child::after { display: none; }
.steps__list h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .35em; }
.steps__list p { color: var(--moss-ink); }
@media (max-width: 860px) { .steps__grid { grid-template-columns: 1fr; } .steps__intro { position: static; } .steps__list li { padding-left: 74px; } .steps__list li::before { width: 50px; height: 50px; } .steps__list li::after { left: 25px; top: 54px; } }

/* ---- calculator ----------------------------------------------------------- */
.calcband { background: var(--ochre); padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.calcband::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -18vw; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 65%); }
.calcband__grid { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.calcband__text p { font-size: 1.15rem; }
.calcband__card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(80, 50, 0, .5); }
@media (max-width: 860px) { .calcband__grid { grid-template-columns: 1fr; } }

.calc { display: grid; gap: 18px; }
.calc__field { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__field > label, .calc__field > legend { display: block; font: 600 .9rem/1.2 var(--display); margin-bottom: 9px; padding: 0; }
.calc__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.calc__weight { display: flex; align-items: center; gap: 16px; }
.calc__weight input { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(var(--moss), var(--moss)) 0 / var(--fill, 12%) 100% no-repeat, rgba(28, 53, 40, .15); cursor: pointer; }
.calc__weight input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--moss); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--moss); transition: transform .2s; }
.calc__weight input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--moss); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--moss); }
.calc__weight input:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__weight output { font: 700 1.3rem/1 var(--display); min-width: 4.4ch; text-align: right; font-variant-numeric: tabular-nums; }
.seg { display: flex; background: rgba(28, 53, 40, .08); border-radius: 999px; padding: 4px; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; font: 600 .875rem/1 var(--display); padding: 10px 6px; border-radius: 999px; white-space: nowrap; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--moss); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--ochre); }
.calc__result { border-top: 1.5px solid var(--line); padding-top: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
.calc__amount { font: 800 clamp(3.6rem, 8vw, 5.2rem)/.9 var(--display); letter-spacing: -0.05em; margin: 0; font-variant-numeric: tabular-nums; }
.calc__per { font: 600 1.1rem/1 var(--display); margin: 0; color: var(--muted); }
.calc__note { grid-column: 1 / -1; margin: 12px 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 480px) { .calc__row { grid-template-columns: 1fr; } }
.calc-page { display: grid; grid-template-columns: minmax(0, 500px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.calc-page__box { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
@media (max-width: 860px) { .calc-page { grid-template-columns: 1fr; } }

/* ---- faq ------------------------------------------------------------------ */
.faqsplit { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faqsplit .section__sub { margin-bottom: 24px; }
@media (max-width: 860px) { .faqsplit { grid-template-columns: 1fr; } }
.faq { border-top: 1.5px solid var(--moss); max-width: 820px; margin-bottom: 20px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; font: 650 1.15rem/1.3 var(--display); padding: 22px 56px 22px 0; position: relative; transition: color .2s; }
.faq__item summary:hover { color: var(--red); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item p { padding-bottom: 14px; color: var(--muted); }
.faq__item[open] p { animation: fadeDown .45s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---- cta ------------------------------------------------------------------ */
.cta { padding: 0 0 clamp(64px, 9vw, 120px); }
.cta__inner { background: var(--moss); color: var(--paper); border-radius: var(--r-lg); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; }
.cta__inner::before { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: 100%; transform: translate(-50%, -40%); border-radius: 50%; background: radial-gradient(circle, rgba(232, 174, 53, .35), transparent 65%); }
.cta__title { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; max-width: 18ch; position: relative; }
.cta__inner p { color: var(--moss-ink); font-size: 1.12rem; max-width: 52ch; position: relative; margin-bottom: 30px; }

/* ---- product page --------------------------------------------------------- */
.crumbs { font: 500 .875rem var(--display); color: var(--muted); padding: 26px 0 0; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-top: 22px; padding-bottom: clamp(56px, 8vw, 110px); align-items: start; }
.product__media { background: var(--tint, var(--paper-2)); border-radius: var(--r-lg); display: grid; place-items: center; padding: clamp(40px, 7vw, 90px); position: sticky; top: 100px; overflow: hidden; }
.product__media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .75), transparent 65%); }
.product__media .pack { position: relative; width: min(320px, 72%); }
.js .product__media .pack { animation: rise 1s var(--ease) both; }
.product__info .h1 { margin-bottom: .25em; }
.product__short { font-size: 1.2rem; color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 600 .8rem/1 var(--display); background: var(--ochre-soft); padding: 8px 12px; border-radius: 999px; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.buy .btn { flex: 1; min-width: 200px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.qty input { width: 3ch; text-align: center; border: 0; font: 700 1.05rem var(--display); color: var(--moss); background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty__btn { border: 0; background: none; width: 46px; height: 52px; font: 600 1.3rem var(--display); color: var(--moss); cursor: pointer; }
.qty__btn:hover { background: var(--paper); }
.stock { font: 550 .92rem var(--display); color: var(--moss-3); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--veg); box-shadow: 0 0 0 4px rgba(110, 143, 78, .2); }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.perks li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; font: 500 .85rem/1.3 var(--display); color: var(--muted); }
.perks strong { display: block; font-weight: 700; font-size: .95rem; color: var(--moss); }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }
.acc { margin-top: 34px; border-top: 1.5px solid var(--moss); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; font: 650 1.15rem var(--display); padding: 20px 40px 20px 0; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before, .acc summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.acc summary::after { transform: rotate(90deg); }
.acc details[open] summary::after { transform: rotate(0); }
.acc__body { padding-bottom: 18px; }
.acc details[open] .acc__body { animation: fadeDown .45s var(--ease); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product__media { position: relative; top: 0; } }

/* prose, legal */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-size: 1.4rem; margin-top: 1.6em; }
.prose-wrap { max-width: var(--wrap); }
.notice { background: var(--ochre-soft); padding: 14px 16px; border-radius: var(--r-sm); }

/* ---- cart & checkout ------------------------------------------------------ */
.cart, .checkout, .thanks { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cart__lines { border-top: 1.5px solid var(--moss); }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__img { background: var(--paper-2); border-radius: var(--r-sm); padding: 8px 12px; }
.line__name { font: 650 1.1rem/1.2 var(--display); text-decoration: none; }
.line__meta { font-size: .875rem; color: var(--muted); margin: 3px 0 10px; }
.line__ctrl { display: flex; align-items: center; gap: 14px; }
.line .qty__btn { height: 38px; width: 36px; }
.line .qty input { font-size: .95rem; }
.line__remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: 400 .875rem var(--body); padding: 0; }
.line__remove:hover { color: var(--red); }
.line__total { font: 700 1.1rem var(--display); }
.summary { background: var(--white); border-radius: var(--r-lg); padding: 28px; position: sticky; top: 100px; box-shadow: var(--shadow); }
.summary__rows { margin: 0 0 12px; }
.summary__rows div { display: flex; justify-content: space-between; padding: 7px 0; }
.summary__rows dt, .summary__rows dd { margin: 0; }
.summary__rows dd { font-variant-numeric: tabular-nums; }
.summary__total { border-top: 1.5px solid var(--moss); margin-top: 8px; padding-top: 14px !important; font: 700 1.25rem var(--display); }
.freebar { height: 6px; background: var(--paper-2); border-radius: 6px; overflow: hidden; margin: 4px 0 8px; }
.freebar span { display: block; height: 100%; background: var(--veg); border-radius: 6px; transition: width .6s var(--ease); }
.mini { list-style: none; padding: 0; margin: 0 0 12px; border-bottom: 1px solid var(--line); }
.mini li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .95rem; }
.fs { border: 0; padding: 0; margin: 0 0 36px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font: 600 .9rem var(--display); }
.field--wide { grid-column: 1 / -1; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 1rem var(--body); color: var(--moss); padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9C2B5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--moss); outline: none; box-shadow: 0 0 0 4px rgba(232, 174, 53, .35); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.pay { display: grid; gap: 10px; }
.pay__opt { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; cursor: pointer; transition: border-color .2s; }
.pay__opt:has(input:checked) { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); }
.pay__opt input, .check input { accent-color: var(--moss); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.check { display: flex; gap: 10px; font-size: .9rem; margin: 18px 0; }
.form-error { color: var(--red); font: 600 .95rem var(--display); background: #F6E1DE; padding: 12px 14px; border-radius: var(--r-sm); }
.bank { background: var(--ochre-soft); border-radius: var(--r-lg); padding: 28px; }
.bank__rows { margin: 0; }
.bank__rows div { display: grid; grid-template-columns: 160px 1fr; padding: 10px 0; border-bottom: 1px solid rgba(28, 53, 40, .14); }
.bank__rows dt { font: 600 .9rem var(--display); }
.bank__rows dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .cart, .checkout, .thanks { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } .line { grid-template-columns: 64px 1fr; } .line__total { grid-column: 2; } .bank__rows div { grid-template-columns: 1fr; } }

/* ---- footer --------------------------------------------------------------- */
.footer { background: var(--moss); color: var(--moss-ink); padding: clamp(56px, 8vw, 96px) 0 28px; font-size: .95rem; overflow: hidden; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { color: var(--ochre); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__about p { max-width: 34ch; }
.footer__contact { color: var(--moss-ink); }
.footer__head { font: 650 1rem var(--display); color: var(--paper); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__mark { font: 800 clamp(4rem, 17vw, 15rem)/.8 var(--display); letter-spacing: -0.06em; color: var(--moss-2); margin: clamp(40px, 6vw, 72px) 0 0; max-width: none; white-space: nowrap; user-select: none; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--moss-2); padding-top: 22px; font-size: .85rem; }
.footer__base p { margin: 0; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---- toast ---------------------------------------------------------------- */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--moss); color: var(--paper); font: 600 .95rem var(--display); padding: 10px 10px 10px 20px; border-radius: 999px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); transition: transform .5s var(--ease), visibility 0s .5s; z-index: 80; display: flex; gap: 16px; align-items: center; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }
.toast a { background: var(--ochre); color: var(--moss); text-decoration: none; padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
.toast a:hover { background: var(--ochre-2); color: var(--moss); }

/* =============================================================================
   Phone layout (app style). Desktop is untouched above 760px.
   ========================================================================== */
.tabbar, .buybar { display: none; }

@media (max-width: 760px) {
  :root { --gutter: 18px; --tab-h: 64px; --safe: env(safe-area-inset-bottom, 0px); }
  body { padding-bottom: calc(var(--tab-h) + 24px + var(--safe)); }
  .h2 { font-size: 1.85rem; }
  .section { padding: 56px 0; }

  /* header: logo + menu only, cart lives in the tab bar */
  .topbar { font-size: .76rem; }
  .topbar__row { padding-top: 7px; padding-bottom: 7px; }
  .header__row { min-height: 60px; }
  .header .cart-link { display: none; }
  .nav-toggle { margin-left: auto; width: 42px; height: 42px; }
  .nav-toggle span:first-child { top: 16px; }
  .nav-toggle span:last-child { top: 23px; }
  .logo span { font-size: 1.3rem; }
  .logo svg { width: 30px; height: 30px; }
  .nav { padding-bottom: 28px; }

  /* tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + var(--safe)); height: var(--tab-h); padding: 6px; border-radius: 22px; background: rgba(28, 53, 40, .92); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .4s var(--ease); }
  .tabbar.is-hidden { transform: translateY(calc(100% + 24px)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 16px; color: rgba(244, 245, 240, .7); text-decoration: none; font: 600 .7rem/1 var(--display); transition: background .25s, color .25s; }
  .tabbar a[aria-current="page"] { color: var(--moss); background: var(--ochre); }
  .tabbar a:active { transform: scale(.94); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .tabbar__icon { position: relative; display: block; }
  .tabbar__badge { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 .68rem/18px var(--display); text-align: center; box-shadow: 0 0 0 2px var(--moss); }
  .tabbar__badge.is-bump { animation: bump .5s var(--ease); }
  .toast { bottom: calc(var(--tab-h) + 24px + var(--safe)); font-size: .86rem; width: calc(100vw - 24px); justify-content: space-between; border-radius: 18px; }
  .toast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

  /* hero: compact, product first-class */
  .hero { margin-top: -60px; padding: calc(60px + 26px) 0 36px; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.3rem); margin-bottom: .3em; }
  .hero__lead { font-size: 1rem; line-height: 1.55; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
  .hero__actions .btn--lg { padding: 15px 8px; font-size: .86rem; white-space: nowrap; letter-spacing: -0.01em; }
  .hero__trust { display: none; }
  .stage { max-width: 380px; margin: 8px auto 0; aspect-ratio: 1 / .82; }
  .stage__disc { inset: 6% 10% 2%; }
  .stage__disc::after { display: none; }
  .chip { font-size: .8rem; padding: 9px 12px; }
  .chip--a { left: 0; bottom: 6%; }
  .chip--b { right: 0; bottom: 0; }
  .ticker li { padding: 14px 0; font-size: .95rem; }
  .ticker li::after { margin: 0 18px; }

  /* section heads: title left, link right, like an app */
  .section__head { flex-wrap: nowrap; align-items: flex-end; margin-bottom: 20px; }
  .section__head .h2 { margin: 0; }
  .section__head .section__sub { display: none; }
  .section__head .link-arrow { font-size: .9rem; white-space: nowrap; border-bottom-width: 1.5px; flex: none; }

  /* swipe rails */
  .grid--rail, .bento, .steps__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; gap: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .grid--rail::-webkit-scrollbar, .bento::-webkit-scrollbar, .steps__list::-webkit-scrollbar { display: none; }
  .grid--rail > *, .bento > *, .steps__list > * { scroll-snap-align: start; flex: none; }
  .js .grid--rail [data-reveal], .js .bento [data-reveal], .js .steps__list [data-reveal] { opacity: 1; transform: none; }
  .js .grid--rail, .js .bento, .js .steps__list { animation: railIn .9s var(--ease) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes railIn { from { opacity: 0; } }

  /* product cards */
  .grid--rail > .card { width: 64vw; max-width: 280px; }
  .card__media { border-radius: 20px; }
  .grid--rail .card__meta { display: -webkit-box; font-size: .85rem; }
  .grid--rail .card__title { font-size: 1.05rem; }
  .card__foot { flex-wrap: nowrap; }
  .quickadd { opacity: 1; transform: none; background: var(--moss); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .35); }
  .grid:not(.grid--rail) { gap: 18px 12px; }

  /* category cards */
  .bento { grid-template-rows: none; }
  .tile, .tile--big, .tile--small { width: 70vw; max-width: 300px; min-height: 340px; flex-direction: column; grid-column: auto; padding: 22px; border-radius: 24px; }
  .tile--big .tile__intro { display: none; }
  .tile__name, .tile--big .tile__name { font-size: 1.7rem; }
  .tile__pack, .tile--big .tile__pack, .tile--small .tile__pack { width: 62%; margin: auto auto -34px; align-self: center; }
  .tile__count { margin-top: 0; }

  /* open can */
  .opencan__big { font-size: 6.5rem; margin-top: 12px; }
  .opencan__card { padding: 20px; border-radius: 22px; }
  .opencan__card .comp__bar { height: 46px; }

  /* steps as swipe cards */
  .steps__intro p { font-size: 1rem; }
  .steps__meter { display: none; }
  .steps__grid { gap: 20px; }
  .steps__list li { width: 78vw; max-width: 320px; padding: 22px; background: var(--moss-2); border-radius: 22px; }
  .steps__list li::before { position: static; display: grid; width: 44px; height: 44px; margin-bottom: 18px; font-size: 1.1rem; background: var(--ochre); color: var(--moss); border-color: var(--ochre); }
  .steps__list li::after { display: none; }
  .steps__list h3 { font-size: 1.35rem; }
  .steps__list p { font-size: .95rem; margin: 0; }

  /* calculator */
  .calcband { padding: 52px 0; }
  .calcband__card { padding: 20px; border-radius: 22px; }
  .calcband__text p { font-size: 1rem; }

  /* faq + cta */
  .faq__item summary { font-size: 1.05rem; padding: 18px 44px 18px 0; }
  .cta { padding-bottom: 48px; }
  .cta__inner { border-radius: 24px; padding: 40px 22px; }
  .cta__title { font-size: 2rem; }
  .cta__inner p { font-size: 1rem; }

  /* footer */
  .footer { padding-top: 48px; }
  .footer__grid { gap: 28px 20px; }
  .footer__mark { font-size: 22vw; margin-top: 36px; }

  /* product page: full-bleed image, sticky buy bar instead of tab bar */
  .is-product .tabbar { display: none; }
  .is-product .toast { bottom: calc(96px + var(--safe)); }
  .crumbs { display: none; }
  .product { padding-top: 0; gap: 22px; }
  .product__media { margin: 0 calc(var(--gutter) * -1); border-radius: 0 0 32px 32px; padding: 36px 0 44px; }
  .product__media .pack { width: 56%; }
  .product__info .h1 { font-size: 2.1rem; }
  .product__short { font-size: 1.05rem; }
  .price--big { font-size: 1.9rem; margin-top: 14px; }
  .buy > .btn { display: none; }
  .perks { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .perks li { padding: 10px; font-size: .74rem; }
  .perks strong { font-size: .82rem; }
  .buybar { display: flex; align-items: center; gap: 12px; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + var(--safe)); padding: 10px 10px 10px 18px; border-radius: 22px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 18px 40px -12px rgba(28, 53, 40, .45), inset 0 0 0 1px rgba(28, 53, 40, .08); animation: rise .6s var(--ease) .3s both; }
  .buybar__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .buybar__name { font: 600 .82rem/1.2 var(--display); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__price { font: 750 1.2rem/1.2 var(--display); }
  .buybar .btn { padding: 14px 18px; font-size: .92rem; border-radius: 16px; flex: none; }

  /* other pages */
  .pagehead { padding: 30px 0 22px; }
  .pagehead__intro { font-size: 1rem; }
  .summary { border-radius: 22px; padding: 22px; }
}

/* ---- reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  [data-speed] { transform: none !important; }
}
.tabbar__badge[data-n="0"] { display: none; }

/* =============================================================================
   v6: real logo, product photos, brands
   ========================================================================== */

/* logo */
.logo .logo__mark { width: 44px; height: 44px; transition: transform .5s var(--ease); }
.logo__leaf { fill: #5E8466; }
.logo__heart { fill: #E3A53A; }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.04); }
.is-home .header:not(.is-scrolled):not(.is-open) .logo__leaf { fill: #9DBFA3; }
.logo--footer { color: var(--paper); margin-bottom: 18px; font-size: 1.5rem; }
.logo--footer .logo__mark { width: 52px; height: 52px; }
.logo--footer .logo__leaf { fill: #9DBFA3; }
.logo--footer:hover { color: var(--paper); }

/* product cards with photos */
.card--photo .card__media { aspect-ratio: 4 / 5; display: block; background: #E7E2D9; }
.card--photo .card__media::before { display: none; }
.card--photo .card__img { width: 100%; height: 100%; }
.card--photo .card__img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card--photo:hover .card__img { transform: none; }

.card--photo .badge { background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card__brand { font: 600 .78rem/1.2 var(--display); color: var(--muted); margin: 0 0 3px; letter-spacing: .01em; }
.line__brand { display: block; font: 600 .75rem/1.2 var(--display); color: var(--muted); margin-bottom: 2px; }
.line__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.line__img:has(img) { padding: 0; overflow: hidden; }

/* product page photo */
.product__media--photo { padding: 0; aspect-ratio: 4 / 5; background: #E7E2D9; }
.product__media--photo::before { display: none; }
.product__media--photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.js .product__media--photo > img { animation: photoIn 1.1s var(--ease) both; }
@keyframes photoIn { from { opacity: 0; scale: 1.06; } }
.product__brand { font: 650 1rem/1.2 var(--display); margin: 18px 0 6px; }
.product__brand a { color: var(--moss-3); text-decoration: none; border-bottom: 1.5px solid var(--ochre); }
.product__brand a:hover { color: var(--red); }
.product__info .h1 { margin-top: 0; }

/* hero with photo cards */
.stage--photos .stage__card { position: absolute; will-change: transform; }
.stage__card > div { border-radius: 22px; overflow: hidden; box-shadow: 0 40px 60px -24px rgba(0, 0, 0, .55), 0 0 0 6px rgba(244, 245, 240, .9); background: #E7E2D9; }
.stage__card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stage__card--left { left: 2%; top: 16%; width: 36%; }
.stage__card--left > div { rotate: -8deg; }
.stage__card--right { right: 1%; top: 12%; width: 34%; }
.stage__card--right > div { rotate: 7deg; }
.stage__card--front { left: 50%; top: 22%; width: 42%; margin-left: -21%; z-index: 2; }
.stage--photos .chip { z-index: 3; }
.js .stage__card > div { opacity: 0; }
.js .is-loaded .stage__card > div { opacity: 1; animation: rise 1.1s var(--ease) both; }
.js .is-loaded .stage__card--front > div { animation-delay: .15s; }
.js .is-loaded .stage__card--left > div { animation-delay: .28s; }
.js .is-loaded .stage__card--right > div { animation-delay: .38s; }

/* ticker: brand names */
.ticker li { font-weight: 700; letter-spacing: -0.015em; }

/* category tiles with photos */
.bento--3 { grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, minmax(260px, auto)); }
.tile--photo { padding: 0; background: var(--tone); color: #fff; min-height: 260px; }
.tile--photo .tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile--photo::before { z-index: -1; background: linear-gradient(180deg, transparent 25%, color-mix(in srgb, var(--tone) 70%, transparent) 55%, color-mix(in srgb, var(--tone) 96%, #000) 100%); }
.tile--photo .tile__name { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.tile--photo:hover .tile__img { transform: scale(1.06); }
.tile--photo .tile__text { position: relative; margin-top: auto; padding: clamp(22px, 2.6vw, 34px); max-width: 36ch; }
.tile--photo.tile--small { flex-direction: column; }
.tile--photo .tile__count { opacity: .9; margin-top: 6px; }
.tile--photo .tile__intro { opacity: .92; }
.tile--photo.tile--big { flex-direction: column; }

/* brands */
.brands { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.brands__intro { position: sticky; top: 120px; }
.brands__intro p { color: var(--muted); font-size: 1.1rem; }
.brands__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--moss); }
.brands__list a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease), background .35s; }
.brands__list a:hover { padding-left: 16px; padding-right: 16px; background: var(--white); color: var(--moss); }
.brands__name { font: 720 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 var(--display); letter-spacing: -0.03em; }
.brands__thumbs { display: flex; }
.brands__thumbs img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); margin-left: -12px; transition: transform .35s var(--ease); }
.brands__list a:hover .brands__thumbs img { transform: translateY(-3px); border-color: var(--white); }
.brands__list a:hover .brands__thumbs img:nth-child(2) { transition-delay: .04s; }
.brands__list a:hover .brands__thumbs img:nth-child(3) { transition-delay: .08s; }
.brands__count { font: 550 .9rem var(--display); color: var(--muted); min-width: 6.5em; text-align: right; }

/* brand filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filter { font: 600 .9rem/1 var(--display); text-decoration: none; padding: 11px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.filter span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.filter:hover { border-color: var(--moss); color: var(--moss); }
.filter[aria-current="true"] { background: var(--moss); border-color: var(--moss); color: var(--paper); }
.filter[aria-current="true"] span { color: var(--ochre-2); }

@media (max-width: 900px) {
  .brands { grid-template-columns: 1fr; gap: 24px; }
  .brands__intro { position: static; }
}
@media (max-width: 760px) {
  .logo .logo__mark { width: 38px; height: 38px; }
  .stage--photos { aspect-ratio: 1 / .9; }
  .stage__card--front { width: 44%; margin-left: -22%; top: 18%; }
  .stage__card > div { border-radius: 16px; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .55), 0 0 0 4px rgba(244, 245, 240, .9); }
  .tile--photo, .tile--photo.tile--big, .tile--photo.tile--small { padding: 0; min-height: 360px; }
  .tile--photo .tile__text { padding: 22px; }
  .brands__list a { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 2px; }
  .brands__count { grid-column: 1; grid-row: 2; text-align: left; font-size: .82rem; }
  .brands__thumbs { grid-row: 1 / 3; grid-column: 2; }
  .brands__thumbs img { width: 40px; height: 40px; }
  .brands__list a:hover { padding-left: 2px; padding-right: 2px; background: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 22px; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .product__media--photo { padding: 0; margin: 0 calc(var(--gutter) * -1); border-radius: 0 0 28px 28px; }
  .product__brand { margin-top: 4px; }
}
.nowrap { white-space: nowrap; }

/* v7: minimum order, boxes */
.btn.is-disabled { background: var(--paper-2); border-color: var(--paper-2); color: var(--muted); cursor: not-allowed; }
.btn.is-disabled::before { display: none; }
.freebar span { background: var(--ochre); }
.cart:has(.btn:not(.is-disabled)) .freebar span { background: var(--veg); }
.pack-note { display: inline-flex; align-items: center; gap: 8px; font: 600 .85rem/1.2 var(--display); background: var(--ochre-soft); color: var(--moss); padding: 8px 12px; border-radius: 10px; margin: 14px 0 0; }
.pack-note svg { width: 18px; height: 18px; flex: none; }
.card__piece { display: block; font: 500 .75rem/1.3 var(--display); color: var(--muted); margin-top: 2px; }
@media (max-width: 520px) {
  .card__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card__piece { display: inline; margin: 0 0 0 6px; }
  .perks li { font-size: .72rem; }
}
.toast strong { color: var(--ochre-2); font-weight: 700; }

/* =============================================================================
   v9: uncropped photos + gallery
   ========================================================================== */
.ph { position: absolute; inset: 0; display: block; overflow: hidden; background: #E7E2D9; }
.ph__bg { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(22px) saturate(1.1); opacity: .85; transform: scale(1.05); }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* cards */
.card--photo .card__img { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.card--photo .card__img .ph__img { transition: transform .9s var(--ease); }
.card--photo:hover .card__img .ph__img { transform: scale(1.04); }
.ph--alt { opacity: 0; transition: opacity .5s var(--ease); }
@media (hover: hover) { .card--photo:hover .ph--alt { opacity: 1; } }
.card__count { position: absolute; right: 12px; top: 14px; font: 600 .72rem/1 var(--display); color: #fff; background: rgba(28, 53, 40, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 7px 9px; border-radius: 999px; z-index: 2; }
.card__media .badge, .card__media .quickadd { z-index: 2; }

/* product gallery */
.product__media--photo { display: block; }
.gallery { position: absolute; inset: 0; }
.gallery__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline: 3px solid var(--ochre); outline-offset: -3px; }
.gallery__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.js .product__media--photo .gallery__slide:first-child .ph__img { animation: photoIn 1.1s var(--ease) both; }
.gallery__nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--moss); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); transition: opacity .25s, transform .25s var(--ease); z-index: 2; }
.gallery__nav svg { width: 22px; height: 22px; }
.gallery__nav:hover { transform: scale(1.08); }
.gallery__nav[disabled] { opacity: 0; pointer-events: none; }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; pointer-events: none; }
.gallery__dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); transition: width .35s var(--ease), background .35s; }
.gallery__dots span.is-on { width: 26px; background: #fff; }
@media (max-width: 760px) { .gallery__nav { display: none; } }
.product__media--photo { aspect-ratio: var(--ratio, .8); }

/* v10: card frame follows the photo's own proportions (no bands, no crop).
   All media areas keep the same height, photos sit on the bottom edge so
   names and prices stay aligned. */
.card--photo .card__media { aspect-ratio: 4 / 5; background: none; display: flex; align-items: flex-end; overflow: visible; border-radius: 0; }
.card__frame { position: relative; width: 100%; }
.card--photo .card__frame { aspect-ratio: var(--ratio, .8); max-height: 100%; border-radius: var(--r-md); overflow: hidden; background: #E7E2D9; margin: 0 auto; }
.card--photo .card__frame .card__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease), opacity .5s var(--ease); }
.card--photo:hover .card__pic { transform: scale(1.04); }
.card__pic--alt { opacity: 0; }
@media (hover: hover) { .card--photo:hover .card__pic--alt { opacity: 1; } }
.card:not(.card--photo) .card__frame { height: 100%; display: grid; place-items: center; }
