/* ==========================================================
   POUCHFOLK: chunky, colourful, animated.
   One colour (--theme) follows the featured flavour in the hero
   and tints the logo, badges and buttons across the page.
   ========================================================== */

@property --theme { syntax: '<color>'; inherits: true; initial-value: #22e6d2; }

:root {
  --ink: #10142a;
  --cream: #fff6e6;
  --white: #ffffff;
  --sky-soft: #bfe3ff;
  --sun: #ffd23f;
  --coral: #ff7a59;
  --theme: #22e6d2;
  --radius: 20px;
  --bw: 2px;
  --font-display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-pop: cubic-bezier(.2, 1.4, .4, 1);
  transition: --theme .9s ease;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, dialog.gate :focus-visible { outline-color: var(--cream); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 12px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream); --shc: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7em 1.5em;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
  color: var(--fg); background: var(--bg);
  border: var(--bw) solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--shc);
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shc); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shc); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-primary { --bg: var(--ink); --fg: var(--cream); }
.btn-ghost { --bg: var(--white); --fg: var(--ink); }
.btn-theme { --bg: var(--theme); --fg: var(--ink); }
.btn-sm { min-height: 44px; padding: .5em 1.1em; font-size: .9375rem; box-shadow: 3px 3px 0 var(--shc); }
.btn-block { width: 100%; }
.on-dark .btn-primary { --bg: var(--theme); --fg: var(--ink); --shc: var(--cream); border-color: var(--cream); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--theme); }
.icon-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.icon-btn.sm { width: 44px; height: 44px; }

.link-btn {
  background: none; border: 0; padding: 0; min-height: 44px;
  font-weight: 700; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 2px; background-position: 0 88%; background-repeat: no-repeat;
  transition: background-size .25s;
}
.link-btn:hover { background-size: 0 2px; background-position: 100% 88%; }

/* ---------- announcement + header ---------- */
.topbar {
  background: var(--ink); color: var(--cream); height: 38px; display: flex; align-items: center; overflow: hidden;
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.marquee { display: flex; width: 100%; overflow: hidden; }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; gap: 28px; padding-right: 28px; min-width: 100%; justify-content: space-around; white-space: nowrap; animation: marq 32s linear infinite; }
.marquee:hover .marquee-group { animation-play-state: paused; }
.topbar i { font-style: normal; color: var(--theme); }
@keyframes marq { to { transform: translateX(-100%); } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: var(--bw) solid var(--ink);
}
.header-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.5rem var(--font-display); letter-spacing: -.04em; text-decoration: none; min-height: 44px; }
.logo-mark { width: 40px; height: 40px; transition: transform .5s var(--ease-pop); }
.logo:hover .logo-mark { transform: rotate(-14deg) scale(1.08); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-weight: 700; text-decoration: none; border-radius: 999px;
}
.nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 3px; border-radius: 3px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }
.badge {
  position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center;
  background: var(--theme); border: var(--bw) solid var(--ink); border-radius: 999px;
  font-size: .8125rem; font-weight: 800; line-height: 1;
}
.badge.bump { animation: bump .5s var(--ease-pop); }
@keyframes bump { 40% { transform: scale(1.5) rotate(-10deg); } }
#motionBtn .ico-play { display: none; }
#motionBtn[aria-pressed="true"] .ico-play { display: block; }
#motionBtn[aria-pressed="true"] .ico-pause { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--theme);
  border-bottom: var(--bw) solid var(--ink);
  min-height: clamp(640px, calc(100svh - 110px), 920px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(16, 20, 42, .16) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
}
.blob { position: absolute; border-radius: 50%; animation: drift 14s ease-in-out infinite alternate; }
.b1 { width: 52vw; max-width: 760px; aspect-ratio: 1; right: -12%; top: -24%; background: color-mix(in oklab, var(--theme) 55%, white); }
.b2 { width: 34vw; max-width: 480px; aspect-ratio: 1; left: -10%; bottom: -26%; background: color-mix(in oklab, var(--theme) 70%, var(--sun)); animation-delay: -5s; }
.b3 { width: 18vw; max-width: 240px; aspect-ratio: 1; left: 42%; top: 6%; background: color-mix(in oklab, var(--theme) 70%, #ff6fae); animation-delay: -9s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.pouch-field { position: absolute; inset: 0; overflow: hidden; }
.pouch { position: absolute; bottom: -60px; opacity: 0; animation: rise linear infinite; }
@keyframes rise {
  0% { transform: translate3d(0, 0, 0) rotate(var(--rot)); opacity: 0; }
  10% { opacity: .85; }
  90% { opacity: .85; }
  100% { transform: translate3d(var(--drift), -1100px, 0) rotate(calc(var(--rot) + 200deg)); opacity: 0; }
}

.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(32px, 4.5vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 14px;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 999px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4f6d; border: 2px solid var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); } }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 6rem); line-height: .94; letter-spacing: -.035em; margin-top: 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .line > span { display: block; }
.hero h1 em {
  font-style: normal;
  background-image: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85));
  background-repeat: no-repeat; background-position: 0 90%; background-size: 100% 36%;
}
.lede { max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); margin-top: 22px; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts li { background: var(--white); border: var(--bw) solid var(--ink); border-radius: 16px; padding: 10px 18px; box-shadow: 3px 3px 0 var(--ink); min-width: 118px; transition: transform .2s; }
.facts li:hover { transform: translateY(-2px); }
.facts b { display: block; font: 800 2.1rem/1 var(--font-display); }
.facts span { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }

/* hero entrance: plays once when the page is ready */
.js [data-enter] { opacity: 0; }
.js .hero h1 .line > span[data-enter] { transform: translateY(105%); opacity: 1; }
.is-ready [data-enter] { animation: enter .9s var(--d, 0s) cubic-bezier(.2, .9, .25, 1) both; }
.is-ready .hero h1 .line > span[data-enter] { animation-name: lineUp; }
.is-ready .stage-wrap[data-enter] { animation-name: stageIn; animation-duration: 1.1s; }
@keyframes enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes stageIn { from { opacity: 0; transform: translateY(40px) scale(.92) rotate(-3deg); } to { opacity: 1; transform: none; } }

/* hero stage */
.stage-wrap { position: relative; width: 100%; }
.stage { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; }
.disc { position: absolute; inset: 14% 6% 6%; border-radius: 50%; background: color-mix(in oklab, var(--theme) 35%, white); border: var(--bw) solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.ring { position: absolute; border-radius: 50%; border: 2px dashed var(--ink); opacity: .55; animation: spin 50s linear infinite; }
.r1 { inset: 0; }
.r2 { inset: 11% 3%; animation-duration: 36s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.layer { position: absolute; transform: translate3d(calc(var(--mx, 0) * var(--dx, 0) * 1px), calc(var(--my, 0) * var(--dy, 0) * 1px), 0); }
.layer-front { --dx: -22; --dy: -14; left: 7%; top: 20%; width: 86%; z-index: 3; }
.layer-l { --dx: 16; --dy: 10; left: -7%; top: 4%; width: 46%; z-index: 1; rotate: -14deg; }
.layer-r { --dx: 30; --dy: 18; right: -7%; top: 0; width: 42%; z-index: 2; rotate: 12deg; }
.layer .bob { animation: float 5s ease-in-out infinite; }
.layer-l .bob { animation-delay: -1.5s; }
.layer-r .bob { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-14px); } }
.layer svg { width: 100%; height: auto; filter: drop-shadow(0 0 0 transparent); }
.fchip {
  position: absolute; z-index: 6; padding: .35em .95em; background: var(--white);
  border: var(--bw) solid var(--ink); border-radius: 999px; font-weight: 800; font-size: .875rem;
  box-shadow: 3px 3px 0 var(--ink); animation: float 4s ease-in-out infinite;
}
.f1 { left: 1%; top: 6%; }
.f2 { right: 0; top: 42%; animation-delay: -1.2s; background: var(--sun); }
.f3 { left: -1%; bottom: 20%; animation-delay: -2.4s; background: var(--ink); color: var(--cream); }
.spin-badge { position: absolute; right: 0; bottom: 4%; width: clamp(92px, 22%, 128px); aspect-ratio: 1; z-index: 7; }
.spin-badge .spin { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-core { position: absolute; inset: 0; display: grid; place-items: center; font: 800 1.5rem var(--font-display); color: var(--theme); }

.stage-ui { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
.stage-name { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; font-weight: 800; }
.stage-name .link-btn { font-size: .875rem; }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 2px; }
.dots button {
  width: 44px; height: 44px; padding: 0; background: none; border: 0; display: grid; place-items: center;
}
.dots button::after {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  background: transparent; border: 2px solid var(--ink); transition: transform .25s var(--ease-pop), background .2s, width .25s;
}
.dots button[aria-current="true"]::after { background: var(--ink); width: 26px; border-radius: 999px; }
.dots button:hover::after { transform: scale(1.25); }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; border-bottom: var(--bw) solid var(--ink); padding: 18px 0; }
.ticker .marquee-group { gap: 36px; padding-right: 36px; justify-content: flex-start; animation-duration: 40s; min-width: auto; }
.ticker span { font: 800 clamp(1.6rem, 3vw, 2.4rem) var(--font-display); letter-spacing: -.02em; text-transform: uppercase; }
.ticker span.out { color: transparent; -webkit-text-stroke: 1.5px var(--cream); }
.ticker i { font-style: normal; color: var(--theme); font-size: 1.4rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.kicker {
  display: inline-block; padding: 5px 14px; margin-bottom: 18px;
  background: var(--ink); color: var(--theme); border-radius: 999px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.on-dark .kicker { background: var(--theme); color: var(--ink); }
.section h2 { font-size: clamp(2rem, 4.6vw, 4rem); line-height: .98; }
.sub { margin-top: 16px; font-size: 1.125rem; max-width: 40em; font-weight: 500; }

[data-reveal] { transition: opacity .7s var(--d, 0s) ease, transform .7s var(--d, 0s) cubic-bezier(.2, .9, .25, 1); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* ---------- shop ---------- */
.controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 280px; max-width: 460px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; }
.search input, .select select, .field input, .field select {
  width: 100%; min-height: 50px; padding: 0 16px;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink); transition: box-shadow .15s, transform .15s;
}
.search input { padding-left: 46px; border-radius: 999px; }
.search input:focus, .select select:focus, .field input:focus { outline: 3px solid var(--theme); outline-offset: 2px; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.select { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.select select { width: auto; padding-right: 36px; border-radius: 999px; cursor: pointer; }

.filters { display: grid; gap: 6px; margin-bottom: 8px; }
.filter-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; }
.filter-label { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 1.1em;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 999px;
  font-weight: 700; font-size: .9375rem;
  transition: transform .15s, background .2s, color .2s, box-shadow .15s;
}
.chip:hover { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.chip:active { transform: translateY(1px); box-shadow: none; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dot); border: 2px solid var(--ink); }
.chip[aria-pressed="true"] .dot { border-color: var(--cream); }

.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 8px 0 14px; }
.count { font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 252px), 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .2s, box-shadow .2s;
  animation: cardIn .55s calc(var(--i, 0) * 35ms) cubic-bezier(.2, .9, .25, 1) both;
}
.card:hover { transform: translateY(-2px); box-shadow: 5px 8px 0 var(--ink); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.card-media {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / .84; padding: 14px 18px 8px;
  background: color-mix(in oklab, var(--c1) 26%, white); border: 0; border-bottom: var(--bw) solid var(--ink);
  overflow: hidden;
}
.card-media::before {
  content: ''; position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%;
  background: var(--c1); border: var(--bw) solid var(--ink); transition: transform .45s var(--ease-pop);
}
.card:hover .card-media::before { transform: scale(1.14); }
.card-media > svg, .card-media > img { position: relative; width: 88%; height: auto; transition: transform .45s var(--ease-pop); }
.card-media > img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.card:hover .card-media > svg { animation: wobble .8s ease; }
@keyframes wobble { 20% { transform: rotate(-6deg) scale(1.04); } 50% { transform: rotate(4deg) scale(1.04); } 80% { transform: rotate(-2deg); } }
.tag { display: inline-block; padding: 3px 10px; border: var(--bw) solid var(--ink); border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .03em; background: var(--white); }
.tag-s { position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--cream); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card-brand { font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.card-title { font-size: 1.5rem; line-height: 1.02; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.card-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { font: 800 1.5rem/1 var(--font-display); display: flex; flex-direction: column; gap: 2px; }
.price small { font: 600 .75rem var(--font-body); opacity: .65; letter-spacing: 0; }
.pips { display: inline-flex; gap: 4px; }
.pips i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.pips i.on { background: var(--ink); }
.empty { text-align: center; padding: 56px 16px; display: grid; gap: 14px; justify-items: center; }
.empty-title { font: 800 1.75rem var(--font-display); }

/* ---------- brands ---------- */
.on-dark { background: var(--ink); color: var(--cream); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px;
  width: 100%; min-height: 236px; padding: 22px; overflow: hidden; text-align: left;
  background: var(--bt); color: var(--ink); border: var(--bw) solid var(--cream); border-radius: var(--radius);
  box-shadow: 6px 6px 0 rgba(255, 246, 230, .28);
  transition: transform .2s, box-shadow .2s;
}
.brand-tile:hover { transform: translateY(-2px); box-shadow: 6px 9px 0 rgba(255, 246, 230, .4); }
.brand-tile:active { transform: translateY(2px); box-shadow: 3px 3px 0 rgba(255, 246, 230, .28); }
.brand-name { font: 800 clamp(1.7rem, 2.4vw, 2.1rem)/1 var(--font-display); letter-spacing: -.03em; }
.brand-meta { font-weight: 700; font-size: .9375rem; max-width: 70%; }
.brand-go { font-weight: 800; font-size: .875rem; display: inline-flex; gap: 6px; align-items: center; }
.brand-go svg { width: 18px; height: 18px; transition: transform .25s; }
.brand-tile:hover .brand-go svg { transform: translateX(5px); }
.brand-tin { position: absolute; right: -4%; top: -2%; width: 46%; rotate: 12deg; transition: transform .5s var(--ease-pop); }
.brand-tile:hover .brand-tin { transform: translateY(-6px) rotate(-12deg) scale(1.08); }
.brand-tin svg { width: 100%; height: auto; }

/* ---------- strength ---------- */
.strength { background: var(--sky-soft); border-block: var(--bw) solid var(--ink); }
.strength-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.strength .section-head { margin-bottom: 0; }
.s-list { display: grid; gap: 14px; }
.s-btn {
  display: grid; grid-template-columns: 138px 1fr; grid-template-areas: 'name bar' 'meta meta'; gap: 6px 16px; align-items: center;
  width: 100%; padding: 14px 18px; text-align: left;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.s-btn:hover { transform: translateY(-2px); box-shadow: 4px 6px 0 var(--ink); }
.s-btn:active { transform: translateY(2px); box-shadow: 2px 2px 0 var(--ink); }
.s-name { grid-area: name; font: 800 1.2rem var(--font-display); display: flex; align-items: center; gap: 10px; }
.s-name b { display: grid; place-items: center; width: 34px; height: 34px; background: var(--c); border: var(--bw) solid var(--ink); border-radius: 50%; font-size: 1rem; }
.s-bar { grid-area: bar; height: 24px; background: var(--cream); border: var(--bw) solid var(--ink); border-radius: 999px; overflow: hidden; }
.s-fill { display: block; height: 100%; background: var(--c); border-right: var(--bw) solid var(--ink); border-radius: 0 999px 999px 0; transform-origin: left; transform: scaleX(0); transition: transform 1.1s calc(var(--n) * 130ms + .2s) cubic-bezier(.2, .9, .25, 1); }
.is-in .s-fill { transform: scaleX(1); }
.s-meta { grid-area: meta; font-size: .875rem; font-weight: 600; opacity: .8; }

/* ---------- quiz ---------- */
.quiz { background: var(--sun); overflow: hidden; border-bottom: var(--bw) solid var(--ink); }
.q-orb { position: absolute; border-radius: 50%; border: var(--bw) solid var(--ink); pointer-events: none; animation: drift 12s ease-in-out infinite alternate; }
.o1 { width: 280px; height: 280px; right: -80px; top: -80px; background: var(--coral); }
.o2 { width: 180px; height: 180px; left: -60px; bottom: -60px; background: #22e6d2; animation-delay: -6s; }
.quiz-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
.quiz .section-head { margin-bottom: 0; }
.quiz-card { background: var(--white); border: var(--bw) solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); padding: clamp(20px, 3vw, 32px); min-height: 360px; display: flex; flex-direction: column; gap: 18px; }
.q-progress { display: flex; gap: 8px; }
.q-progress i { flex: 1; height: 10px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--cream); transition: background .4s; }
.q-progress i.done { background: var(--ink); }
.q-title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.02; outline: none; }
.q-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.q-opt {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; text-align: left;
  background: var(--cream); border: var(--bw) solid var(--ink); border-radius: 16px; font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  animation: cardIn .45s calc(var(--i) * 60ms) cubic-bezier(.2, .9, .25, 1) both;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.q-opt::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--oc, var(--white)); border: var(--bw) solid var(--ink); }
.q-opt:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--white); }
.q-opt:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.q-back { align-self: flex-start; }
.q-results { display: grid; gap: 12px; }
.q-hit { display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 8px; background: color-mix(in oklab, var(--c1) 22%, white); border: var(--bw) solid var(--ink); border-radius: 18px; animation: cardIn .5s calc(var(--i) * 110ms) cubic-bezier(.2, .9, .25, 1) both; }
.q-hit svg { width: 100%; height: auto; }
.q-hit h4 { font-size: 1.15rem; line-height: 1.05; }
.q-hit small { font-weight: 700; opacity: .75; display: block; margin-bottom: 4px; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; }
.q-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: var(--wc); border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--ink); padding: 28px; display: grid; gap: 12px; align-content: start; transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-2px); box-shadow: 5px 8px 0 var(--ink); }
.why-card svg { width: 64px; height: 64px; transition: transform .5s var(--ease-pop); }
.why-card:hover svg { transform: rotate(-10deg) scale(1.08); }
.why-card h3 { font-size: 1.6rem; }
.why-card p { font-weight: 500; }
.warning { margin-top: 28px; padding: 16px 20px; background: var(--white); border: 3px solid var(--ink); border-radius: 14px; font-weight: 600; }

/* ---------- faq ---------- */
.faq { background: var(--white); border-block: var(--bw) solid var(--ink); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 14px; }
details { background: var(--cream); border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); transition: background .2s; }
details[open] { background: color-mix(in oklab, var(--theme) 30%, white); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 20px; font: 800 1.2rem var(--font-display); letter-spacing: -.01em; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; background: var(--ink); color: var(--cream); border-radius: 50%; font: 700 1.4rem/1 var(--font-body); transition: transform .3s var(--ease-pop); }
details[open] summary::after { transform: rotate(135deg); }
details p { padding: 0 20px 20px; font-weight: 500; animation: enter .4s both; }

/* ---------- newsletter ---------- */
.news { background: var(--coral); border-bottom: var(--bw) solid var(--ink); }
.news-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.news-form { display: grid; gap: 14px; }
.news-ok { font-weight: 800; }

/* ---------- footer ---------- */
.site-footer { padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot-brand p { margin-top: 14px; max-width: 28em; opacity: .85; }
.foot-nav { display: grid; gap: 2px; align-content: start; }
.foot-h { font: 800 .875rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--theme); margin-bottom: 8px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; width: fit-content; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 85%; background-repeat: no-repeat; transition: background-size .25s; }
.foot-nav a:hover { background-size: 100% 2px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 24px 36px; border-top: 2px solid rgba(255, 246, 230, .2); font-size: .9375rem; opacity: .9; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.field.check input { width: 22px; height: 22px; min-height: 0; flex: none; box-shadow: none; accent-color: var(--ink); margin-top: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { color: #b3123a; font-weight: 700; font-size: .875rem; }
.field input[aria-invalid="true"] { border-color: #b3123a; }

/* ---------- dialogs ---------- */
dialog { color: var(--ink); background: var(--cream); border: var(--bw) solid var(--ink); padding: 0; }
dialog::backdrop { background: rgba(16, 20, 42, .62); backdrop-filter: blur(6px); }
dialog.modal { width: min(940px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); overflow: auto; }
dialog[open] { animation: dlgIn .4s var(--ease-pop); }
dialog.closing { animation: dlgOut .2s ease forwards; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(28px) scale(.94); } }
@keyframes dlgOut { to { opacity: 0; transform: translateY(16px) scale(.96); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.modal-head h2 { font-size: 2rem; }

.drawer { width: min(460px, 100vw); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 26px 0 0 26px; border-right: 0; overflow: hidden; }
.drawer[open] { animation: slideIn .4s cubic-bezier(.2, .9, .3, 1); display: flex; }
.drawer.closing { animation: slideOut .22s ease forwards; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideOut { to { transform: translateX(100%); } }
.drawer-in { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 10px; }
.drawer-head h2 { font-size: 2rem; }
.ship { padding: 4px 22px 14px; font-weight: 700; display: grid; gap: 8px; }
.ship-bar { height: 16px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--white); overflow: hidden; }
.ship-bar span { display: block; height: 100%; width: 0; background: var(--theme); border-right: var(--bw) solid var(--ink); transition: width .7s cubic-bezier(.2, .9, .25, 1); }
.cart-list { flex: 1; min-height: 0; overflow: auto; display: grid; align-content: start; gap: 12px; padding: 6px 22px 16px; }
.cart-item { display: grid; grid-template-columns: 78px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: var(--white); border: var(--bw) solid var(--ink); border-radius: 16px; animation: cardIn .4s both; }
.ci-art { background: color-mix(in oklab, var(--c1) 30%, white); border-radius: 12px; padding: 6px; }
.ci-art svg { width: 100%; height: auto; }
.ci-brand { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.cart-item h3 { font-size: 1.1rem; line-height: 1.05; margin: 2px 0 4px; }
.ci-price { font-size: .875rem; font-weight: 600; opacity: .75; }
.ci-end { display: grid; justify-items: end; gap: 4px; text-align: right; align-self: stretch; align-content: space-between; }
.ci-end strong { font: 800 1.15rem var(--font-display); }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--cream); }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; font: 800 1.3rem/1 var(--font-body); border-radius: 50%; transition: background .15s, transform .15s; }
.qty button:hover { background: var(--theme); }
.qty button:active { transform: scale(.88); }
.qty output { min-width: 28px; text-align: center; font-weight: 800; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; }
.cart-empty[hidden], .drawer-foot[hidden] { display: none; }
.cart-empty-art { width: 180px; }
.drawer-foot { padding: 16px 22px 22px; border-top: var(--bw) solid var(--ink); background: var(--white); display: grid; gap: 14px; }
.totals { margin: 0; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; font-weight: 600; }
.totals dt, .totals dd { margin: 0; }
.totals .grand { font: 800 1.5rem var(--font-display); padding-top: 8px; border-top: var(--bw) dashed var(--ink); }

/* quick view */
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-art { position: relative; display: grid; place-items: center; padding: 40px 24px; background: color-mix(in oklab, var(--c1) 30%, white); border-right: var(--bw) solid var(--ink); border-radius: 24px 0 0 24px; overflow: hidden; min-height: 360px; }
.qv-art::before { content: ''; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--c1); border: var(--bw) solid var(--ink); animation: drift 8s ease-in-out infinite alternate; }
.qv-art svg { position: relative; width: 92%; height: auto; animation: float 4.5s ease-in-out infinite; }
.qv-info { padding: 28px; display: grid; gap: 14px; align-content: start; }
.qv-close { position: absolute; right: 16px; top: 16px; z-index: 3; }
.qv-info h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.qv-brand { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .875rem; }
.qv-blurb { font-weight: 500; }
.meter { display: flex; align-items: flex-end; gap: 8px; height: 56px; }
.meter span { flex: 1; height: calc(var(--k) * 20%); border: var(--bw) solid var(--ink); border-radius: 8px; background: var(--white); transform-origin: bottom; }
.meter span.on { background: var(--mc); animation: grow .6s calc(var(--k) * 90ms) var(--ease-pop) both; }
@keyframes grow { from { transform: scaleY(0); } }
.qv-facts { display: grid; gap: 4px; font-weight: 600; }
.qv-facts div { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; border-bottom: 2px dashed rgba(16, 20, 42, .25); }
.qv-facts dt, .qv-facts dd { margin: 0; }
.qv-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.qv-price { font: 800 2.2rem/1 var(--font-display); }
.qv-warn { font-size: .8125rem; font-weight: 600; opacity: .8; }

/* checkout */
.demo-banner { margin: 12px 24px 0; padding: 10px 16px; background: var(--sun); border: var(--bw) solid var(--ink); border-radius: 12px; font-weight: 700; font-size: .9375rem; }
.co-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; padding: 20px 24px 28px; }
.co-grid form { display: grid; gap: 14px; align-content: start; }
.co-summary { background: var(--white); border: var(--bw) solid var(--ink); border-radius: 18px; padding: 18px; align-self: start; display: grid; gap: 10px; }
.co-summary h3 { font-size: 1.3rem; }
.co-line { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .9375rem; }
.co-done { padding: 40px 28px 36px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.co-done h2 { font-size: clamp(2rem, 5vw, 3rem); }
.co-done .tin-wrap { width: 200px; animation: float 3.5s ease-in-out infinite; }

/* age gate */
dialog.gate { width: min(560px, calc(100vw - 24px)); border-radius: 30px; box-shadow: 10px 10px 0 var(--ink); background: var(--theme); text-align: center; overflow: visible; }
dialog.gate::backdrop { background: rgba(16, 20, 42, .88); backdrop-filter: blur(10px); }
.gate-in { padding: 120px 28px 30px; display: grid; gap: 16px; justify-items: center; position: relative; }
.gate-in h2 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
.gate-in > p { font-weight: 500; max-width: 30em; }
.gate-art { position: absolute; left: 50%; top: -86px; width: 380px; max-width: 90%; height: 170px; transform: translateX(-50%); }
.gate-art .g { position: absolute; width: 36%; }
.gate-art .g1 { left: 0; top: 40px; rotate: -14deg; animation: float 4.4s ease-in-out infinite; }
.gate-art .g2 { left: 31%; top: 0; width: 38%; z-index: 2; animation: float 4s -1s ease-in-out infinite; }
.gate-art .g3 { right: 0; top: 40px; rotate: 14deg; animation: float 4.8s -2s ease-in-out infinite; }
.gate-art svg { width: 100%; height: auto; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 6px; }
.gate-fine { font-size: .8125rem; font-weight: 700; opacity: .8; }
.gate .kicker { margin-bottom: 0; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 400; transform: translate(-50%, 140%);
  max-width: min(92vw, 460px); padding: 12px 20px;
  background: var(--ink); color: var(--cream); border: var(--bw) solid var(--cream); border-radius: 999px;
  font-weight: 700; box-shadow: 4px 4px 0 var(--theme);
  transition: transform .45s var(--ease-pop); pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- motion preferences ---------- */
html.motion-off :is(.marquee-group, .blob, .q-orb, .ring, .spin, .bob, .pouch, .fchip, .live-dot, .qv-art svg) { animation: none !important; }
html.motion-off .qv-art::before { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-group { animation: none !important; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .pouch-field { display: none; }
  .js [data-enter], .js [data-reveal]:not(.is-in), .js .hero h1 .line > span[data-enter] { opacity: 1 !important; transform: none !important; }
  .s-fill { transform: scaleX(1); }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .strength-grid, .quiz-grid, .faq-grid, .news-in { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .stage { max-width: 440px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    display: none; flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px;
    background: var(--cream); border-bottom: var(--bw) solid var(--ink);
  }
  .nav a { min-height: 52px; font-size: 1.15rem; border-bottom: 2px solid rgba(16, 20, 42, .1); border-radius: 0; }
  .nav a::after { display: none; }
  .nav-open .nav { display: flex; animation: enter .3s both; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .filter-row { grid-template-columns: 1fr; gap: 2px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .search { max-width: none; flex-basis: 100%; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-tile { min-height: 170px; }
  .s-btn { grid-template-columns: 1fr; grid-template-areas: 'name' 'bar' 'meta'; }
  .q-opts { grid-template-columns: 1fr; }
  .q-hit { grid-template-columns: 70px 1fr; }
  .q-hit .btn { grid-column: 1 / -1; }
  .qv { grid-template-columns: 1fr; }
  .qv-art { border-right: 0; border-bottom: var(--bw) solid var(--ink); border-radius: 24px 24px 0 0; min-height: 260px; padding: 28px 24px; }
  .co-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .gate-actions .btn { width: 100%; }
  .header-in { gap: 10px; }
  .logo { font-size: 1.3rem; }
}
