/* ============================================================
   ANNAPURNA — Balinese snacks
   Design system adapted from palmo.co.in:
   cream ground, dark-brown ink, Khand display, Inter body,
   Patrick Hand accents, pill buttons with clip-path reveal,
   bordered stat tiles, pack-picker product cards, marquees.
   Balinese layer: Barong red, temple gold, poleng checker.
   Layout: full-bleed bands, 1440px content column, vw-scaled type.
   ============================================================ */

:root {
  --bg: #f8f4e8;          /* cream */
  --ink: #3b2a16;         /* dark brown foreground */
  --ink-soft: #6b5438;
  --sand: #ecdfb3;        /* light beige */
  --beige: #ffe386;       /* yellow beige (Palmo) */
  --gold: #d9a21b;        /* temple gold */
  --gold-deep: #946c3c;
  --red: #c8372d;         /* Barong red */
  --red-deep: #8f231c;
  --black: #17130f;       /* poleng black */
  --white: #fffdf7;

  --font-display: "Khand", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Patrick Hand", "Comic Sans MS", cursive;

  --max: 1440px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --pad: clamp(16px, 4vw, 64px);

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter-l), var(--pad));
  padding-right: max(var(--gutter-r), var(--pad));
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.hand { font-family: var(--font-hand); letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-hand);
  font-size: clamp(18px, 1.5vw, 26px);
  color: var(--red);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.eyebrow::before {
  content: ""; width: 2.2em; height: 2px; background: currentColor; border-radius: 2px;
}
.lede { font-size: clamp(17px, 1.3vw, 22px); line-height: 1.5; max-width: 34em; color: var(--ink-soft); }

/* ---------- Balinese ornament bands ---------- */
.poleng {
  --sq: 14px;
  height: var(--sq);
  background:
    repeating-conic-gradient(var(--black) 0 25%, var(--white) 0 50%) 0 0 / calc(var(--sq) * 2) calc(var(--sq) * 2);
  opacity: 0.92;
}
.ornament-band {
  background: var(--black);
  color: var(--gold);
}
.ornament-band .carve {
  height: clamp(28px, 3.4vw, 52px);
  background-color: var(--black);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'><g fill='none' stroke='%23d9a21b' stroke-width='1.6' stroke-linecap='round'><path d='M0 20 Q10 4 20 20 T40 20 T60 20 T80 20'/><path d='M0 20 Q10 36 20 20 T40 20 T60 20 T80 20' opacity='.55'/></g><g fill='%23d9a21b'><circle cx='20' cy='20' r='2.6'/><circle cx='60' cy='20' r='2.6'/><path d='M40 12 l5 8 -5 8 -5 -8z' opacity='.9'/><path d='M0 12 l4 8 -4 8z' opacity='.9'/><path d='M80 12 l-4 8 4 8z' opacity='.9'/></g></svg>");
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: center;
}

/* ---------- Buttons (Palmo pill with clip-path reveal) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  isolation: isolate;
  font-family: var(--font-hand);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.1;
  padding: 0.6em 1.5em 0.72em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.4s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: -2px; z-index: -1;
  background: var(--beige);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::after { clip-path: inset(0 0 0 0); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red::after { background: var(--beige); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn--light { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.btn--light::after { background: var(--beige); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: clamp(44px, 3.6vw, 60px); aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--bg);
  position: relative; isolation: isolate; overflow: hidden;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.icon-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--beige); transform: scale(0); border-radius: 50%;
  transition: transform 0.45s var(--ease);
}
.icon-btn:hover { color: var(--ink); }
.icon-btn:hover::after { transform: scale(1.05); }
.icon-btn svg { width: 45%; height: 45%; }

.link-arrow {
  font-family: var(--font-hand);
  font-size: clamp(18px, 1.3vw, 24px);
  display: inline-flex; align-items: center; gap: 0.4em;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.05em;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(0.3em); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 10px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: clamp(46px, 4.6vw, 70px); width: auto; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 40px); }
.nav a {
  font-family: var(--font-hand);
  font-size: clamp(18px, 1.3vw, 23px);
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 24px); }
.say-hello { display: flex; flex-direction: column; line-height: 1.1; text-align: right; }
.say-hello .hand { font-size: 1.1em; }
.say-hello a { font-size: 0.85em; color: var(--ink-soft); }
.basket-btn { position: relative; }
.basket-btn .count {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-family: var(--font-hand); font-size: 15px; line-height: 22px; text-align: center;
  border: 2px solid var(--bg);
  transform: scale(0); transition: transform 0.3s var(--ease-out);
}
.basket-btn .count.show { transform: scale(1); }
.menu-btn { display: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; top: 0; z-index: 40;
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    background: var(--bg);
    padding-top: env(safe-area-inset-top, 0px);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0s 0.5s;
  }
  .menu-open .nav { transform: translateY(0); visibility: visible; transition-delay: 0s; }
  .nav a { font-size: clamp(32px, 9vw, 44px); font-family: var(--font-display); text-transform: uppercase; font-weight: 600; }
  .say-hello { display: none; }
  .menu-btn { display: inline-grid; position: relative; z-index: 45; }
  .site-header .brand { position: relative; z-index: 45; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .container {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 96px) clamp(40px, 5vw, 80px);
}
.hero h1 {
  font-size: clamp(64px, 10.5vw, 168px);
  line-height: 0.88;
}
.hero h1 .accent { color: var(--red); }
.hero h1 .hand-word {
  font-family: var(--font-hand); text-transform: none; font-weight: 400;
  font-size: 0.5em; letter-spacing: 0; display: block; color: var(--gold-deep);
  margin-bottom: 0.1em;
}
.hero-copy { display: grid; gap: clamp(18px, 2vw, 32px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero-points li {
  font-family: var(--font-hand); font-size: clamp(18px, 1.4vw, 25px);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.hero-points svg { width: 1.3em; height: 1.3em; color: var(--red); flex: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-stage { position: relative; aspect-ratio: 1 / 1; max-width: 100%; }
.hero-stage .blob {
  position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--beige), var(--sand) 60%, transparent 72%);
  filter: blur(2px);
}
.hero-stage .pouch {
  position: absolute; width: 52%; left: 24%; top: 4%;
  filter: drop-shadow(0 30px 40px rgba(59, 42, 22, 0.28));
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.hero-stage .pouch img { width: 100%; }
.hero-stage .pouch--l { left: 2%; top: 14%; width: 44%; transform: rotate(-12deg); z-index: 1; }
.hero-stage .pouch--r { left: auto; right: 2%; top: 14%; width: 44%; transform: rotate(12deg); z-index: 1; }
.hero-stage .pouch--c { z-index: 2; }
.hero-stage .stamp {
  position: absolute; z-index: 3; right: 0; bottom: 4%;
  width: clamp(116px, 12vw, 176px); aspect-ratio: 1;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 14px rgba(59, 42, 22, 0.25));
}
.hero-stage .stamp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.stamp-ring { transform-origin: 100px 100px; animation: spin 24s linear infinite; }
.stamp-plate { fill: var(--beige); stroke: var(--ink); stroke-width: 3; }
.stamp-dots { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1 6; stroke-linecap: round; }
.stamp-text {
  fill: var(--red); font-family: var(--font-display); font-weight: 700;
  font-size: 19px; text-transform: uppercase; letter-spacing: 0.04em;
}
.stamp-core { fill: var(--red); stroke: var(--ink); stroke-width: 3; }
.stamp-core-line { fill: none; stroke: var(--beige); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0.8; }
.stamp-crumbs { fill: var(--gold); stroke: var(--ink); stroke-width: 1.2; transform-origin: 150px 58px; animation: crumbs 2.4s var(--ease-out) infinite; }
.stamp-pop {
  fill: var(--beige); font-family: var(--font-hand); font-size: 30px; text-anchor: middle;
  transform-origin: 100px 100px; animation: pop 2.4s var(--ease-out) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0%, 60%, 100% { transform: rotate(-6deg) scale(1); } 70% { transform: rotate(4deg) scale(1.18); } 80% { transform: rotate(-3deg) scale(0.96); } }
@keyframes crumbs { 0%, 62% { transform: translate(0, 0); opacity: 0; } 70% { opacity: 1; } 100% { transform: translate(10px, -12px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stamp-ring, .stamp-pop, .stamp-crumbs { animation: none; } .stamp-crumbs { opacity: 1; } }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-stage { max-width: 520px; margin-inline: auto; width: 100%; }
}

/* ---------- Stats tiles ---------- */
.stats { padding-block: clamp(32px, 5vw, 80px); }
.stats-head { text-align: center; display: grid; gap: 10px; justify-items: center; margin-bottom: clamp(24px, 3vw, 48px); }
.stats h2 { font-size: clamp(40px, 6vw, 96px); }
.tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px);
}
.tile {
  position: relative;
  border: 4px solid color-mix(in srgb, var(--ink) 60%, transparent);
  border-radius: clamp(18px, 1.8vw, 28px);
  background: var(--bg);
  padding: clamp(24px, 2.6vw, 40px) clamp(16px, 2vw, 32px);
  display: grid; justify-items: center; align-content: center; text-align: center; gap: 10px;
  min-height: clamp(180px, 20vw, 300px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.tile:hover { transform: translateY(-6px); background: var(--white); }
.tile::before, .tile::after {
  content: ""; position: absolute; top: 14px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--ink);
}
.tile::before { left: 14px; }
.tile::after { right: 14px; }
.tile svg { width: clamp(34px, 3.4vw, 54px); height: auto; color: var(--gold); }
.tile .num { font-size: clamp(44px, 4.4vw, 72px); line-height: 0.95; }
.tile .num small { font-size: 0.5em; vertical-align: top; letter-spacing: 0; }
.tile .label { font-family: var(--font-hand); font-size: clamp(18px, 1.5vw, 26px); color: var(--ink-soft); line-height: 1.1; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tile { padding: 20px 10px; } }

/* ---------- Story / category features ---------- */
.story { padding-block: clamp(32px, 5vw, 80px); }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(24px, 5vw, 96px);
  padding-block: clamp(28px, 4vw, 64px);
}
.feature + .feature { border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media {
  position: relative; aspect-ratio: 4 / 3; max-width: 100%;
  display: grid; place-items: center;
}
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 32px rgba(59, 42, 22, 0.25)); transition: transform 1.2s var(--ease-out); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-media .tag {
  position: absolute; left: 16px; top: 16px;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-hand); font-size: clamp(15px, 1.1vw, 19px);
  padding: 6px 14px 8px; border-radius: 999px;
}
.feature-copy { display: grid; gap: clamp(14px, 1.6vw, 24px); }
.feature-copy h3 { font-size: clamp(44px, 5.6vw, 92px); }
.feature-copy h3 .accent { color: var(--red); }
.feature-copy p { max-width: 36em; color: var(--ink-soft); font-size: clamp(16px, 1.15vw, 19px); }
.feature-list { display: grid; gap: 8px; }
.feature-list li { display: flex; gap: 10px; align-items: baseline; font-family: var(--font-hand); font-size: clamp(17px, 1.3vw, 22px); }
.feature-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding-block: clamp(10px, 1.2vw, 20px);
  border-block: 2px solid var(--ink);
  background: var(--beige);
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 28s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  font-size: clamp(30px, 4.2vw, 68px); line-height: 1; letter-spacing: -0.01em;
  padding-inline: 0.4em; display: inline-flex; align-items: center; gap: 0.5em;
}
.marquee-track span::after { content: ""; width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Products ---------- */
.products { padding-block: clamp(40px, 6vw, 96px); }
.products-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 20px; margin-bottom: clamp(24px, 3vw, 48px);
}
.products-head h2 { font-size: clamp(44px, 7vw, 120px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font-family: var(--font-hand); font-size: clamp(16px, 1.2vw, 21px);
  padding: 8px 18px 10px; border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--ink) 30%, transparent);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.category { margin-top: clamp(24px, 3vw, 48px); }
.category-head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: clamp(16px, 2vw, 28px);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.category-head h3 { font-size: clamp(30px, 3.6vw, 56px); }
.category-head p { font-family: var(--font-hand); color: var(--ink-soft); font-size: clamp(16px, 1.25vw, 22px); }
.category-head .cat-count { margin-left: auto; font-family: var(--font-hand); color: var(--ink-soft); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 28px); }
.grid[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
.grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .grid, .grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid, .grid[data-count="4"], .grid[data-count="2"] { grid-template-columns: 1fr; } }

/* a category with a single snack gets a wide, landscape card */
.grid[data-count="1"] { grid-template-columns: 1fr; }
.grid[data-count="1"] .card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: none; gap: clamp(16px, 2vw, 32px); }
.grid[data-count="1"] .card-media { aspect-ratio: auto; min-height: 100%; }
.grid[data-count="1"] .card-body { padding: clamp(12px, 1.6vw, 28px) clamp(12px, 1.6vw, 28px) clamp(12px, 1.6vw, 28px) 0; align-content: center; }
.grid[data-count="1"] .card-title { font-size: clamp(32px, 3.4vw, 56px); }
.grid[data-count="1"] .card-desc { font-size: 1em; max-width: 40em; }
@media (max-width: 760px) {
  .grid[data-count="1"] .card { grid-template-columns: 1fr; }
  .grid[data-count="1"] .card-media { aspect-ratio: 4 / 5; min-height: 0; }
  .grid[data-count="1"] .card-body { padding: 4px 6px 6px; }
}

.card {
  --accent: var(--sand);
  display: grid; grid-template-rows: auto 1fr;
  background: color-mix(in srgb, var(--accent) 62%, var(--black)); color: var(--bg);
  border-radius: clamp(18px, 1.8vw, 28px);
  padding: clamp(10px, 0.9vw, 14px);
  gap: 12px;
  transition: transform 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card-media {
  position: relative; border-radius: clamp(12px, 1.2vw, 18px); overflow: hidden;
  aspect-ratio: 4 / 5; max-width: 100%;
  display: grid; place-items: center;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 70%, var(--white)) 0%, transparent 100%);
}
.card-media img {
  position: relative; width: 82%; height: 92%; object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.7s var(--ease-out);
}
.card:hover .card-media img { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
.card-media .badge {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  font-family: var(--font-hand); font-size: 15px; line-height: 1;
  padding: 7px 12px 8px; border-radius: 999px;
  background: var(--bg); color: var(--ink);
}
.card-media .badge--hot { left: auto; right: 12px; background: var(--red); color: #fff; }
.card-media .weight {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  font-family: var(--font-hand); font-size: 15px; color: var(--ink);
  background: color-mix(in srgb, var(--bg) 80%, transparent); padding: 4px 10px; border-radius: 999px;
}
.card-body { display: grid; gap: 10px; padding: 4px 6px 6px; align-content: start; }
.card-title { font-size: clamp(28px, 2.4vw, 38px); line-height: 0.95; }
.card-flavour { font-family: var(--font-hand); color: var(--beige); font-size: clamp(17px, 1.25vw, 21px); line-height: 1.1; }
.card-desc { font-size: 0.92em; color: color-mix(in srgb, var(--bg) 70%, transparent); line-height: 1.45; }
.pack-label { font-family: var(--font-hand); color: var(--beige); font-size: 1.05em; margin-top: 4px; }
.packs { display: grid; gap: 2px; }
.pack {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left;
  padding: 7px 8px; border-radius: 8px;
  font-family: var(--font-hand); font-size: clamp(16px, 1.2vw, 20px);
  transition: background 0.3s, color 0.3s;
}
.pack:hover { background: var(--sand); color: var(--ink); }
.pack[aria-checked="true"] { background: var(--beige); color: var(--ink); }
.pack .name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pack .best { font-size: 0.72em; background: var(--red); color: #fff; padding: 2px 8px 3px; border-radius: 999px; }
.pack .price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid color-mix(in srgb, var(--sand) 25%, transparent);
  padding-top: 10px; margin-top: 2px;
}
.card-foot .total { font-family: var(--font-hand); font-size: clamp(20px, 1.5vw, 26px); color: var(--beige); font-variant-numeric: tabular-nums; }
.add-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-hand); font-size: clamp(16px, 1.2vw, 20px);
  background: var(--bg); color: var(--ink);
  padding: 8px 8px 8px 16px; border-radius: 999px;
  transition: background 0.3s;
}
.add-btn:hover { background: var(--beige); }
.add-btn .plus {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; transition: transform 0.45s var(--ease);
}
.add-btn:hover .plus { transform: rotate(90deg) scale(1.1); }
.add-btn .plus svg { width: 14px; height: 14px; }
.add-btn.added { background: var(--gold); }

/* ---------- Mission band ---------- */
.mission {
  background: var(--ink); color: var(--bg);
  position: relative; overflow: hidden;
}
.mission .container {
  display: grid; gap: clamp(20px, 3vw, 44px); justify-items: center; text-align: center;
  padding-block: clamp(56px, 8vw, 128px);
  position: relative; z-index: 1;
}
.mission h2 { font-size: clamp(44px, 7.4vw, 128px); max-width: 10em; }
.mission h2 .accent { color: var(--beige); }
.mission p { max-width: 38em; color: color-mix(in srgb, var(--bg) 75%, transparent); font-size: clamp(16px, 1.2vw, 20px); }
.mission .mask {
  position: absolute; width: clamp(240px, 36vw, 560px); opacity: 0.08;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ---------- Image strip ---------- */
.strip { padding-block: clamp(24px, 3vw, 48px); }
.strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 24px); }
.strip figure {
  margin: 0; position: relative; aspect-ratio: 4 / 5; max-width: 100%;
}
.strip figure:nth-child(2) { transform: translateY(clamp(12px, 2vw, 32px)); }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(59, 42, 22, 0.22)); transition: transform 1s var(--ease-out); }
.strip figure:hover img { transform: translateY(-6px) rotate(-2deg); }
.strip figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  font-family: var(--font-hand); font-size: clamp(15px, 1.15vw, 20px);
  background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--ink);
  padding: 8px 14px 10px; border-radius: 12px; width: fit-content; max-width: 100%;
}
@media (max-width: 700px) {
  .strip .container { grid-template-columns: 1fr 1fr; }
  .strip figure:nth-child(3) { display: none; }
}

/* ---------- Testimonials ---------- */
.voices { padding-block: clamp(40px, 6vw, 96px); overflow: hidden; }
.voices h2 { font-size: clamp(44px, 7vw, 120px); text-align: center; margin-bottom: clamp(20px, 3vw, 48px); }
.voices h2 .accent { color: var(--red); }
.voice-track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; animation: marquee 48s linear infinite; padding-inline: 10px; }
.voices:hover .voice-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .voice-track { animation: none; flex-wrap: wrap; width: auto; } }
.voice {
  width: clamp(260px, 26vw, 380px); flex: none;
  background: var(--white); border: 2px solid var(--ink);
  border-radius: clamp(18px, 1.8vw, 28px);
  padding: clamp(18px, 1.8vw, 28px);
  display: grid; gap: 14px; align-content: space-between;
  box-shadow: 6px 6px 0 var(--ink);
}
.voice q { quotes: "“" "”"; font-family: var(--font-hand); font-size: clamp(19px, 1.5vw, 26px); line-height: 1.25; }
.voice .who { display: flex; align-items: center; gap: 10px; font-size: 0.9em; color: var(--ink-soft); }
.voice .who .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--bg); font-family: var(--font-hand); font-size: 16px; }
.voice .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9em; }

/* ---------- Contact / CTA ---------- */
.contact { padding-block: clamp(40px, 6vw, 96px); }
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(44px, 6.6vw, 112px); }
.contact h2 .accent { color: var(--red); }
.contact-info { display: grid; gap: 18px; }
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.contact-info dt { font-family: var(--font-hand); color: var(--ink-soft); }
.contact-info dd { margin: 0; }
.form { display: grid; gap: 14px; background: var(--white); border: 2px solid var(--ink); border-radius: clamp(18px, 1.8vw, 28px); padding: clamp(18px, 2vw, 32px); box-shadow: 8px 8px 0 var(--beige); }
.form label { display: grid; gap: 6px; font-family: var(--font-hand); font-size: 1.1em; }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--font-body); font-size: 1rem;
  padding: 12px 14px; border-radius: 12px;
  border: 2px solid color-mix(in srgb, var(--ink) 25%, transparent);
  background: var(--bg); color: var(--ink);
  width: 100%; min-width: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .note { font-size: 0.9em; color: var(--ink-soft); }
.form .status { font-family: var(--font-hand); color: var(--red); font-size: 1.1em; min-height: 1.2em; }
@media (max-width: 900px) { .contact .container { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.cta-band { background: var(--red); color: var(--beige); overflow: hidden; }
.cta-band .container {
  display: grid; justify-items: center; text-align: center; gap: clamp(18px, 2vw, 32px);
  padding-block: clamp(48px, 7vw, 112px);
}
.cta-band h2 { font-size: clamp(56px, 11vw, 190px); line-height: 0.85; }
.cta-band p { font-family: var(--font-hand); font-size: clamp(19px, 1.6vw, 28px); max-width: 28em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); }
.site-footer .top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(40px, 5vw, 80px) clamp(24px, 3vw, 48px);
}
.site-footer .brand img { height: clamp(70px, 7vw, 110px); }
.site-footer .tagline { font-family: var(--font-hand); font-size: clamp(18px, 1.4vw, 24px); color: var(--beige); margin-top: 14px; max-width: 20em; }
.site-footer h4 { font-family: var(--font-hand); font-size: 1.2em; color: var(--beige); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer li a { opacity: 0.85; transition: opacity 0.3s, color 0.3s; }
.site-footer li a:hover { opacity: 1; color: var(--beige); }
.site-footer .wordmark {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  font-size: clamp(64px, 15.5vw, 262px); line-height: 0.8; letter-spacing: -0.02em;
  text-align: center; color: color-mix(in srgb, var(--bg) 92%, transparent);
  padding-block: clamp(16px, 2vw, 32px) 0;
  overflow: hidden;
  user-select: none;
}
.site-footer .bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 18px 24px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent);
  font-size: 0.85em; opacity: 0.8;
}
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- Basket drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(23, 19, 15, 0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(440px, 100%);
  background: var(--bg); color: var(--ink);
  display: grid; grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  padding-top: env(safe-area-inset-top, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  box-shadow: -20px 0 60px rgba(23, 19, 15, 0.25);
}
.basket-open .drawer { transform: translateX(0); }
.basket-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 2px solid var(--ink);
}
.drawer-head h2 { font-size: clamp(32px, 3vw, 44px); }
.drawer-body { overflow-y: auto; padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.drawer-empty { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 40px 0; color: var(--ink-soft); font-family: var(--font-hand); font-size: 1.2em; }
.drawer-empty img { width: 120px; opacity: 0.7; }
.line {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center;
  background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 10px;
}
.line img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--sand); }
.line .ttl { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 22px; line-height: 1; }
.line .sub { font-family: var(--font-hand); color: var(--ink-soft); font-size: 15px; }
.line .qty { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.line .qty button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--font-hand); line-height: 1; }
.line .qty button:hover { background: var(--beige); }
.line .qty span { min-width: 20px; text-align: center; font-family: var(--font-hand); }
.line .amt { font-family: var(--font-hand); font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; }
.line .rm { font-size: 13px; color: var(--red); text-decoration: underline; display: block; margin-top: 4px; margin-left: auto; }
.drawer-foot { padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 2px solid var(--ink); display: grid; gap: 12px; }
.drawer-foot .sum { display: flex; justify-content: space-between; font-family: var(--font-hand); font-size: 1.3em; }
.drawer-foot .sum strong { font-variant-numeric: tabular-nums; }
.drawer-foot .fine { font-size: 0.82em; color: var(--ink-soft); }
.drawer-foot .btn { width: 100%; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 120;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--beige);
  font-family: var(--font-hand); font-size: 1.15em;
  padding: 12px 22px 14px; border-radius: 999px;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  pointer-events: none; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* split-text line reveal (Palmo-style) */
.js .split .line-wrap { display: block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .split .line-in { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease-out); }
.js .split.in .line-in { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .js .split .line-in { transform: none; transition: none; } }

::selection { background: var(--beige); color: var(--ink); }

/* ---------- Language toggle ---------- */
.lang-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-hand); font-size: clamp(16px, 1.2vw, 20px);
  padding: 6px 12px 8px; border-radius: 999px;
  border: 2px solid var(--ink); line-height: 1;
}
.lang-btn span { opacity: 0.45; transition: opacity 0.3s; }
.lang-btn span.on { opacity: 1; color: var(--red); }
.lang-btn .sep { opacity: 0.3; }
.split-body { display: block; }
.category .empty { color: var(--ink-soft); font-size: 1.2em; padding: 16px 0; }
