/* ───────────────────────────────────────────────
   PepTek · Claymorphism · white / ink / purple
   ─────────────────────────────────────────────── */

:root {
  --bg:          #F6EFF7;       /* pillowy lavender-tinted off-white — clay reads better than pure white */
  --surface:     #FFFFFF;
  --ink:         #0B0A14;
  --ink-2:       #2A2740;
  --ink-3:       #6E6B85;
  --line:        #EFE6F1;

  --pp:          #9D27A9;       /* purple primary */
  --pp-2:        #6F1B79;       /* purple deep */
  --pp-soft:     #D58CDD;       /* purple light */
  --pp-tint:     #F8E6FA;       /* purple wash */
  --pp-tint-2:   #FCF3FD;

  /* clay shadows — recipe: outer dark + inner light highlight + inner dark indent */
  --clay-w:
    0 28px 60px -28px rgba(60, 24, 130, 0.28),
    0 12px 22px -10px rgba(40, 0, 100, 0.10),
    inset 2px 4px 0 rgba(255,255,255,0.95),
    inset -3px -6px 8px rgba(123, 60, 220, 0.07);

  --clay-w-sm:
    0 14px 32px -14px rgba(60, 24, 130, 0.22),
    0 6px 12px -6px rgba(40, 0, 100, 0.08),
    inset 2px 3px 0 rgba(255,255,255,0.95),
    inset -2px -4px 6px rgba(123, 60, 220, 0.06);

  --clay-purple:
    0 22px 40px -16px rgba(75, 12, 180, 0.55),
    0 10px 18px -8px rgba(40, 0, 120, 0.30),
    inset 2px 3px 0 rgba(255,255,255,0.30),
    inset -3px -5px 10px rgba(0, 0, 30, 0.18);

  --clay-ink:
    0 22px 40px -16px rgba(0, 0, 0, 0.45),
    0 10px 18px -8px rgba(0, 0, 0, 0.25),
    inset 2px 3px 0 rgba(255,255,255,0.18),
    inset -3px -5px 10px rgba(0, 0, 0, 0.30);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --r-pill: 999px;

  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body { background: transparent; color: var(--ink); }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* iOS Safari <16 fallback — `clip` is honored on Safari 16+; older versions
   treat it as `visible` and let absolutely-positioned descendants leak scroll.
   `hidden` on both html and body is a defensive belt-and-suspenders so the
   page never side-scrolls on legacy iOS. */
html, body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: 0; cursor: pointer; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* "Sky" background layer — gentle radial tints to give depth */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(167, 110, 255, 0.18), transparent 60%),
    radial-gradient(50% 35% at 0% 60%, rgba(255, 200, 245, 0.18), transparent 65%),
    radial-gradient(40% 30% at 100% 90%, rgba(120, 60, 220, 0.10), transparent 70%),
    var(--bg);
}

/* Quiet field — pill silhouettes, DNA helices, peptide bonds, dot grid.
   Fixed-attachment so it parallaxes as you scroll. Layered SVG → scales
   perfectly, low opacity throughout so it never competes with content. */
.bg-field {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.55;
  background-attachment: fixed;
  background-repeat: repeat;
  background-image:
    /* Layer A — DNA helices + peptide chain dots, large tile */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='820' height='820' viewBox='0 0 820 820'><g stroke='%239D27A9' fill='none' stroke-width='1.4' stroke-linecap='round'><g opacity='0.32' transform='translate(80 90) rotate(-14)'><path d='M0 0 C 24 30 24 70 0 100 C -24 130 -24 170 0 200 C 24 230 24 270 0 300'/><path d='M40 0 C 16 30 16 70 40 100 C 64 130 64 170 40 200 C 16 230 16 270 40 300'/><path d='M2 25 L 38 25 M2 50 L 38 50 M2 75 L 38 75 M2 125 L 38 125 M2 150 L 38 150 M2 175 L 38 175 M2 225 L 38 225 M2 250 L 38 250 M2 275 L 38 275' stroke-width='0.9'/></g><g opacity='0.30' transform='translate(560 480) rotate(22)'><path d='M0 0 C 22 28 22 64 0 92 C -22 120 -22 156 0 184 C 22 212 22 248 0 276'/><path d='M36 0 C 14 28 14 64 36 92 C 58 120 58 156 36 184 C 14 212 14 248 36 276'/><path d='M2 22 L 34 22 M2 45 L 34 45 M2 68 L 34 68 M2 114 L 34 114 M2 137 L 34 137 M2 160 L 34 160 M2 206 L 34 206 M2 229 L 34 229 M2 252 L 34 252' stroke-width='0.9'/></g></g><g fill='%239D27A9' opacity='0.22'><circle cx='320' cy='180' r='3'/><circle cx='360' cy='196' r='3'/><circle cx='400' cy='212' r='3'/><circle cx='440' cy='198' r='3'/><circle cx='480' cy='184' r='3'/><circle cx='520' cy='200' r='3'/><circle cx='560' cy='216' r='3'/></g><g stroke='%239D27A9' fill='none' stroke-width='1' opacity='0.20'><path d='M320 180 L 360 196 L 400 212 L 440 198 L 480 184 L 520 200 L 560 216'/></g><g fill='%239D27A9' opacity='0.20'><circle cx='180' cy='620' r='3'/><circle cx='220' cy='604' r='3'/><circle cx='260' cy='620' r='3'/><circle cx='300' cy='636' r='3'/><circle cx='340' cy='620' r='3'/></g><g stroke='%239D27A9' fill='none' stroke-width='1' opacity='0.18'><path d='M180 620 L 220 604 L 260 620 L 300 636 L 340 620'/></g><g fill='none' stroke='%239D27A9' stroke-width='1.5'><rect x='620' y='80' width='130' height='36' rx='18' transform='rotate(18 685 98)' opacity='0.26'/><rect x='80' y='420' width='150' height='40' rx='20' transform='rotate(-22 155 440)' opacity='0.26'/></g></svg>"),
    /* Layer B — atomic dot grid */
    radial-gradient(circle, rgba(157, 39, 169, 0.16) 1px, transparent 1.6px);
  background-size: 820px 820px, 32px 32px;
  background-position: 0 0, 16px 16px;
}

/* ─── Type ─── */
.display {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pp);
}
.mono { font-family: "JetBrains Mono", monospace; }

/* ─── Layout ─── */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ─── Topbar ─── */
.nav-stack {
  position: sticky; top: 0; z-index: 50;
  padding-top: 0;
}
.nav-stack .promo-bar { border-radius: 0; }
.nav-stack .topbar { position: static; margin: 12px auto 0; top: 0; }
.topbar {
  position: sticky; top: 18px; z-index: 50;
  margin: 18px auto 0;
  max-width: calc(var(--max) - 24px);
  padding: 10px 22px 10px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: var(--clay-w-sm);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Poppins"; font-weight: 800; letter-spacing: -0.02em; font-size: 22px;
}
.brand .mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(150deg, #C448D2 0%, #9D27A9 60%, #6F1B79 100%);
  box-shadow: var(--clay-purple);
  display: grid; place-items: center; color: #fff;
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600;
}
.topbar nav {
  display: flex; gap: 6px; justify-self: center;
}
.topbar nav a {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.topbar nav a:hover { background: var(--pp-tint); color: var(--pp); }
.topbar nav a.active { background: var(--pp); color: #fff; box-shadow: var(--clay-purple); }

.tb-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--clay-w-sm);
  display: grid; place-items: center;
  transition: transform 0.15s ease, box-shadow 0.2s;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn:active { transform: translateY(1px); box-shadow: inset 2px 3px 6px rgba(110,27,121,0.18), inset -1px -2px 4px rgba(255,255,255,0.6); }
.cart-pill {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 14px 8px 8px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 600;
  box-shadow: var(--clay-ink);
}
.cart-pill .num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--pp); color: #fff;
  display: grid; place-items: center;
  font-family: "JetBrains Mono"; font-size: 11px;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.3), inset -1px -1px 3px rgba(0,0,0,0.25);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 72px 0 0;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: 70vh;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-family: "Poppins"; font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.hero h1 .pill-word {
  display: inline-block;
  background: var(--pp);
  color: #fff;
  padding: 0 0.18em 0.04em;
  border-radius: 200px;
  box-shadow: var(--clay-purple);
  transform: rotate(-2deg);
  margin: 0 0.04em;
}
.hero h1 em {
  font-style: italic; font-family: "Poppins"; font-weight: 500;
  background: linear-gradient(180deg, #9D27A9 0%, #6F1B79 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  margin-top: 28px;
  font-size: 17px; line-height: 1.55; color: var(--ink-2);
  max-width: 46ch;
}
.hero .actions {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn {
  position: relative;
  padding: 18px 28px;
  border-radius: var(--r-pill);
  font-family: "Poppins"; font-weight: 600; font-size: 15px;
  letter-spacing: -0.005em;
  display: inline-flex; gap: 12px; align-items: center;
  transition: transform 0.15s cubic-bezier(.2,.9,.3,1.4), box-shadow 0.2s;
  will-change: transform;
}
.btn-primary {
  background: var(--pp); color: #fff;
  box-shadow: var(--clay-purple);
}
.btn-primary:hover { transform: translateY(-3px); }
.btn-primary:active { transform: translateY(0); box-shadow: inset 2px 4px 8px rgba(0,0,30,0.35), inset -1px -2px 4px rgba(255,255,255,0.15); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  box-shadow: var(--clay-w-sm);
}
.btn-ghost:hover { transform: translateY(-3px); }
.btn-arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid; place-items: center;
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }
.btn-ghost .btn-arrow { background: var(--pp-tint); color: var(--pp); }

/* hero stats blob */
.hero-stats {
  margin-top: 48px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.stat-clay {
  background: var(--surface);
  box-shadow: var(--clay-w-sm);
  border-radius: var(--r-lg);
  padding: 16px 22px;
  min-width: 140px;
}
.stat-clay .v { font-family: "Poppins"; font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }
.stat-clay .v .pct { color: var(--pp); }
.stat-clay .l { font-size: 11px; color: var(--ink-3); margin-top: 2px; font-family: "JetBrains Mono"; letter-spacing: 0.06em; }

/* hero vial stage */
.vial-stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: grid; place-items: center;
}
.vial-stage .puff {
  position: absolute; inset: 6%;
  background: radial-gradient(circle at 50% 55%, rgba(255,255,255,1) 0%, rgba(248,241,255,1) 35%, rgba(220,200,255,0.7) 65%, rgba(255,255,255,0) 78%);
  border-radius: 50%;
  filter: blur(8px);
}
.vial-stage .ring {
  position: absolute; inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #F8E6FA 70%, rgba(248,230,250,0) 100%);
  box-shadow: 0 30px 60px -20px rgba(157,39,169,0.18);
}
.vial-stage .hero-vial-img {
  position: relative; z-index: 2;
  width: 92%; height: auto; max-height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 30px 32px rgba(111,27,121,0.22)) contrast(1.04) saturate(1.05);
  animation: vialBob 7s ease-in-out infinite;
}
@keyframes vialBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.floating-tag {
  position: absolute;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--clay-w-sm);
  font-size: 12px;
  display: flex; gap: 10px; align-items: center;
}
.floating-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pp); box-shadow: 0 0 0 4px var(--pp-tint); }
.floating-tag .k { color: var(--ink-3); font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.08em; }
.floating-tag .v { font-family: "Poppins"; font-weight: 700; font-size: 14px; }

.tag-tl { top: 12%; left: -6%; animation: float 6s ease-in-out infinite; }
.tag-tr { top: 6%; right: -2%; animation: float 7s ease-in-out -1s infinite reverse; }
.tag-bl { bottom: 14%; left: -2%; animation: float 8s ease-in-out -2s infinite; }
.tag-br { bottom: 8%; right: -4%; animation: float 6.5s ease-in-out -3s infinite reverse; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* ─── Section heading ─── */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 36px; gap: 24px; flex-wrap: wrap;
}
.section-head h2 {
  font-family: "Poppins"; font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(36px, 5vw, 64px); line-height: 0.95;
  max-width: 14ch;
}
.section-head h2 em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(180deg, #9D27A9 0%, #6F1B79 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head .lede { color: var(--ink-3); max-width: 38ch; font-size: 15px; line-height: 1.55; }

section { padding: 96px 0; }

/* ─── Trust strip ─── */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--surface);
  padding: 22px;
  border-radius: var(--r-xl);
  box-shadow: var(--clay-w);
}
.trust .item {
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: var(--pp-tint-2);
  display: flex; gap: 16px; align-items: center;
  transition: transform 0.2s;
}
.trust .item:hover { transform: translateY(-3px); }
.trust .icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(150deg, #fff 0%, #F8E6FA 80%);
  box-shadow: var(--clay-w-sm);
  display: grid; place-items: center; color: var(--pp);
}
.trust .label { font-family: "Poppins"; font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.trust .sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; font-family: "JetBrains Mono"; letter-spacing: 0.04em; }

/* ─── Format selector ─── */
.format-bar {
  display: flex; gap: 6px;
  background: var(--surface);
  padding: 6px;
  border-radius: var(--r-pill);
  box-shadow: var(--clay-w-sm);
  margin-bottom: 16px;
  width: fit-content;
}
.format-pill {
  padding: 14px 32px;
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 700;
  font-family: "Poppins";
  background: transparent; color: var(--ink-2);
  transition: all 0.22s ease;
  display: inline-flex; gap: 8px; align-items: center;
  cursor: pointer; border: none;
}
.format-pill:hover { background: var(--pp-tint); color: var(--pp); }
.format-pill.active {
  background: var(--pp); color: #fff;
  box-shadow: var(--clay-purple);
}
.soon-badge {
  font-family: "JetBrains Mono"; font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(157,39,169,0.12); color: var(--pp);
  padding: 2px 8px; border-radius: 999px;
}
.format-pill.active .soon-badge { background: rgba(255,255,255,0.25); color: #fff; }

/* ─── Coming Soon panel ─── */
.coming-soon-panel {
  text-align: center;
  padding: 80px 24px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--clay-w-sm);
  margin-top: 8px;
}
.coming-soon-panel .cs-icon {
  width: 72px; height: 72px; margin: 0 auto 16px;
  background: var(--pp-tint);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--pp);
}
.coming-soon-panel h3 {
  font-family: "Poppins"; font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.coming-soon-panel p {
  color: var(--ink-3); font-size: 15px; max-width: 40ch; margin: 0 auto;
  line-height: 1.5;
}

/* ─── Empty category state ─── */
.empty-cat {
  grid-column: 1 / -1;
  text-align: center; padding: 48px 24px;
  color: var(--ink-3); font-size: 15px;
}

@media (max-width: 600px) {
  .format-bar { width: 100%; }
  .format-pill { flex: 1; justify-content: center; padding: 12px 8px; font-size: 13px; }
  .coming-soon-panel { padding: 48px 16px; }
  .coming-soon-panel h3 { font-size: 22px; }
}

/* ─── Catalogue / filter bar ─── */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: var(--surface);
  padding: 10px;
  border-radius: var(--r-pill);
  box-shadow: var(--clay-w-sm);
  margin-bottom: 28px;
}
.chip {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  background: transparent; color: var(--ink-2);
  transition: all 0.18s ease;
  font-family: "Montserrat";
  display: inline-flex; gap: 8px; align-items: center;
}
.chip:hover { background: var(--pp-tint); color: var(--pp); }
.chip.active { background: var(--pp); color: #fff; box-shadow: var(--clay-purple); }
.chip .ct { font-family: "JetBrains Mono"; font-size: 11px; opacity: 0.7; }
.chip.active .ct { opacity: 0.9; }

.sort {
  margin-left: auto; padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--pp-tint-2); color: var(--ink-2);
  font-size: 12px; font-weight: 600;
  display: flex; gap: 8px; align-items: center;
  font-family: "JetBrains Mono"; letter-spacing: 0.04em;
}

/* product grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
@media (max-width: 1100px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .grid-cards { grid-template-columns: repeat(2, 1fr); } .hero .grid { grid-template-columns: 1fr; } .topbar nav { display: none; } }

.card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow: var(--clay-w-sm);
  position: relative;
  transition: transform 0.25s cubic-bezier(.2,.9,.3,1.2), box-shadow 0.25s;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--clay-w); }
.card .top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.card .badge {
  background: var(--pp-tint); color: var(--pp);
  padding: 6px 10px; border-radius: var(--r-pill);
  font-family: "JetBrains Mono"; font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
}
.card .heart {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--pp-tint-2);
  display: grid; place-items: center; color: var(--pp);
  transition: all 0.2s;
}
.card:hover .heart { background: var(--pp); color: #fff; }
.card .vial-box {
  margin: 8px 0 18px;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #FBF7FF 0%, #F8E6FA 100%);
  display: grid; place-items: center;
  box-shadow: inset 2px 3px 6px rgba(255,255,255,0.95), inset -2px -4px 8px rgba(123, 60, 220, 0.10);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1.2);
}
.card .vial-box image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1;
}
.card:hover .vial-box { transform: scale(1.03); }
.card .vial-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.7) 0%, transparent 40%);
}
.card .name {
  font-family: "Poppins"; font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap;
}
.card .name .dose { font-family: "JetBrains Mono"; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.card-doses { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.card-dose {
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600;
  color: var(--pp); background: var(--pp-tint);
  padding: 3px 9px; border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}
.card .desc { font-size: 13px; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.card .meta {
  display: flex; gap: 16px; margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 11px; color: var(--ink-3);
  font-family: "JetBrains Mono"; letter-spacing: 0.04em;
}
.card .meta .k { color: var(--ink-3); }
.card .meta .v { color: var(--ink); font-weight: 600; }
.card .foot {
  margin-top: auto; padding-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.card .price { font-family: "Poppins"; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.card .price .from { font-size: 10px; color: var(--ink-3); display: block; font-family: "JetBrains Mono"; letter-spacing: 0.04em; font-weight: 500; }
.card .add {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  transition: all 0.2s cubic-bezier(.2,.9,.3,1.4);
  box-shadow: var(--clay-ink);
}
.card:hover .add { background: var(--pp); transform: scale(1.08) rotate(-12deg); }

/* hover-reveal strip on card */
.card .reveal {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: linear-gradient(150deg, #2A2740 0%, #0B0A14 100%);
  color: #fff;
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: "JetBrains Mono"; font-size: 10px;
  letter-spacing: 0.05em;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(.4,1.4,.5,1);
  box-shadow: var(--clay-ink);
  pointer-events: none;
}
.card:hover .reveal { transform: translateY(0); }
.card .reveal .k { opacity: 0.6; font-size: 9px; letter-spacing: 0.08em; }
.card .reveal .v { font-size: 11px; margin-top: 2px; color: var(--pp-soft); }

/* ─── Methodology / process ─── */
.method {
  background: linear-gradient(180deg, var(--pp-tint-2) 0%, var(--bg) 100%);
  border-radius: var(--r-xl);
  padding: 64px var(--pad);
  position: relative;
  box-shadow: inset 2px 4px 0 rgba(255,255,255,1), inset -2px -4px 12px rgba(157,39,169,0.06);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr 1fr; } }
.step {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--clay-w-sm);
  position: relative;
  transition: transform 0.2s;
}
.step:hover { transform: translateY(-4px); }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pp); color: #fff;
  font-family: "Poppins"; font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
  box-shadow: var(--clay-purple);
  margin-bottom: 18px;
}
.step .h { font-family: "Poppins"; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.step .b { font-size: 13px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }

/* ─── COA card ─── */
.coa-row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
@media (max-width: 900px) { .coa-row { grid-template-columns: 1fr; } }
.coa-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--clay-w);
  font-family: "JetBrains Mono"; font-size: 12px;
}
.coa-card .head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.coa-card .seal {
  display: flex; gap: 8px; align-items: center;
  background: var(--pp-tint); color: var(--pp);
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
}
.coa-card h3 { font-family: "Poppins"; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.coa-card h3 small { font-family: "JetBrains Mono"; font-size: 11px; color: var(--ink-3); display: block; font-weight: 500; }
.coa-rows { display: grid; gap: 8px; }
.coa-rows .r {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: #FDF7FE;
}
.coa-rows .r .k { color: var(--ink-3); }
.coa-rows .r .v { color: var(--ink); font-weight: 600; }
.coa-rows .r .pass { color: #16A34A; font-weight: 600; font-size: 10px; letter-spacing: 0.1em; }
.coa-rows .bar {
  height: 8px; background: var(--pp-tint); border-radius: 999px; overflow: hidden;
  box-shadow: inset 1px 2px 4px rgba(157,39,169,0.18);
}
.coa-rows .bar .fill {
  height: 100%; background: linear-gradient(90deg, var(--pp-soft) 0%, var(--pp) 100%);
  border-radius: 999px;
}
.coa-card.reveal-up {
  padding: 0; overflow: hidden; position: relative;
  max-height: 480px;
  border: 3px solid var(--pp-soft);
}
.coa-slide {
  width: 100%; position: relative; overflow: hidden;
  max-height: 440px;
}
.coa-slide img {
  display: block; width: 100%; height: auto;
  border-radius: 0;
  animation: coaFadeIn 0.6s ease both;
}
@keyframes coaFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.coa-dots {
  display: flex; gap: 10px; justify-content: center;
  padding: 12px 0;
}
.coa-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pp-tint-2); border: 0; cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.coa-dot:hover { background: var(--pp-soft); }
.coa-dot.active {
  background: var(--pp); transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--pp-tint);
}

/* ─── CTA card / Newsletter ─── */
.cta {
  background: linear-gradient(150deg, #1B0A3F 0%, #0B0A14 100%);
  border-radius: var(--r-xl);
  padding: 64px var(--pad);
  color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--clay-ink), 0 40px 80px -40px rgba(110,27,121,0.5);
}
.cta::before {
  content: ""; position: absolute; right: -10%; top: -40%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 60, 220, 0.55) 0%, transparent 65%);
}
.cta::after {
  content: ""; position: absolute; left: -8%; bottom: -50%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 120, 255, 0.35) 0%, transparent 65%);
}
.cta .inner { position: relative; z-index: 1; max-width: 720px; }
.cta h2 {
  font-family: "Poppins"; font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(36px, 5vw, 64px); line-height: 0.95;
}
.cta h2 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(180deg, #E8B7EE 0%, #B33BC0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta p { color: rgba(255,255,255,0.75); margin-top: 18px; font-size: 16px; max-width: 50ch; line-height: 1.55; }
.cta .form {
  margin-top: 32px;
  display: flex; gap: 8px;
  background: rgba(255,255,255,0.08);
  padding: 8px;
  border-radius: var(--r-pill);
  max-width: 520px;
  backdrop-filter: blur(8px);
}
.cta .form input {
  flex: 1; padding: 12px 18px; border: 0; outline: 0;
  background: transparent; color: #fff;
  font: inherit; font-size: 14px;
}
.cta .form input::placeholder { color: rgba(255,255,255,0.5); }

/* ─── Footer ─── */
footer {
  padding: 64px var(--pad) 40px;
  margin-top: 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h5 {
  font-family: "JetBrains Mono"; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; margin-bottom: 14px;
}
.foot-grid a {
  display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2);
  transition: color 0.2s;
}
.foot-grid a:hover { color: var(--pp); }
.foot-grid p { font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 38ch; }
.foot-bot {
  margin-top: 24px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3);
  font-family: "JetBrains Mono"; letter-spacing: 0.04em;
}
.foot-bot a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s;
}
.foot-bot a:hover { color: var(--ink); }
.ruo-pill {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--ink); color: #fff;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  box-shadow: var(--clay-ink);
}
.ruo-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pp-soft); box-shadow: 0 0 0 3px rgba(180,140,255,0.3); }

/* ─── Marquee ─── */
.marq {
  overflow: hidden; padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marq .track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: marq 32s linear infinite;
  font-family: "Poppins"; font-weight: 800; letter-spacing: -0.02em;
  font-size: 28px; color: var(--ink);
  align-items: center;
}
.marq .track .star {
  display: inline-block; color: var(--pp);
  width: 26px; height: 26px;
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Reveal on scroll ─── */
.reveal-up { opacity: 0; transform: translateY(24px); transition: all 0.8s cubic-bezier(.2,.9,.3,1.1); }
.reveal-up.in { opacity: 1; transform: none; }

/* Card drop — more dramatic entrance for product/series cards.
   Falls from above with a slight overshoot, then settles. */
.card-drop {
  opacity: 0;
  transform: translateY(-32px) scale(0.94);
  transition:
    opacity 0.55s ease-out,
    transform 0.85s cubic-bezier(.34, 1.56, .64, 1);
}
.card-drop.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ─── Promo bar ─── */
.promo-bar {
  background: linear-gradient(90deg, #9D27A9 0%, #6F1B79 100%);
  color: #fff;
  font-family: "Montserrat";
  font-size: 13px;
  position: relative;
  z-index: 50;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15), 0 6px 16px -10px rgba(157,39,169,0.55);
}
.promo-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 11px 24px;
}
.promo-tag {
  font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.18em; font-weight: 700;
  background: rgba(255,255,255,0.18); padding: 4px 8px; border-radius: 4px;
}
.promo-headline { font-weight: 500; }
.promo-headline strong { font-weight: 700; }
.promo-code {
  font-family: "JetBrains Mono"; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.22); padding: 2px 8px; border-radius: 4px; margin-left: 4px;
}
.promo-detail { color: rgba(255,255,255,0.78); font-size: 12px; }
.promo-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #9D27A9; padding: 7px 14px; border-radius: 999px;
  font-weight: 700; font-size: 12px; text-decoration: none;
  transition: transform 0.15s;
}
.promo-cta:hover { transform: translateY(-1px); }
.promo-close {
  background: transparent; border: 0; color: rgba(255,255,255,0.7); cursor: pointer;
  font-size: 22px; line-height: 1; padding: 0 4px; margin-left: 4px;
}
.promo-close:hover { color: #fff; }
@media (max-width: 820px) {
  .promo-detail { display: none; }
  .promo-inner { gap: 10px; padding: 9px 16px; }
}

/* hero tiny disclaimer note — quiet */
.hero-tiny-note {
  margin-top: 22px;
  font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-3); text-transform: uppercase;
}


/* ─── Stats strip (replaces icon trust strip) ─── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--surface); border-radius: 28px;
  padding: 36px 40px;
  box-shadow: var(--clay-w);
}
.stats-strip .stat { display: flex; flex-direction: column; gap: 8px; padding: 4px 8px; border-right: 1px solid var(--line); }
.stats-strip .stat:last-child { border-right: 0; }
.stats-strip .stat-v {
  font-family: "Poppins"; font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(34px, 4vw, 52px);
  background: linear-gradient(180deg, #9D27A9 0%, #6F1B79 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
  font-feature-settings: "tnum";
}
.stats-strip .stat-u { font-size: 0.5em; font-weight: 700; vertical-align: 0.18em; -webkit-text-fill-color: initial; color: var(--ink-3); margin-left: 4px; }
.stats-strip .stat-l { font-family: "Poppins"; font-weight: 600; font-size: 14px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.stats-strip .stat-l small { font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.06em; color: var(--ink-3); font-weight: 500; }
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 24px; }
  .stats-strip .stat:nth-child(2) { border-right: 0; }
}


/* ─── Brand logo image ─── */
.brand-logo { padding: 0; display: inline-flex; align-items: center; }
.brand-logo img {
  height: 48px; width: auto; display: block;
}
.topbar .brand-logo img { height: 64px; }
footer .brand-logo img { height: 48px; }



.protocols { padding: 56px 0 24px; }
.prot-head {
  display: grid; grid-template-columns: 1fr 360px; gap: 32px;
  align-items: end; margin-bottom: 32px;
}
.prot-sub { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 360px; }
.prot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prot-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 28px 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--clay-w);
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.prot-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -22px rgba(157,39,169,.28), var(--clay-w); }
.prot-card.featured {
  background: linear-gradient(165deg, #2A1430 0%, #4A1B55 100%);
  color: #F6F0F8;
  box-shadow: 0 24px 48px -16px rgba(74,27,85,.55);
}
.prot-card.featured .prot-blurb { color: rgba(246,240,248,.78); }
.prot-card.featured .prot-meta { color: rgba(246,240,248,.62); }
.prot-card.featured .prot-meta .dot-sep { color: rgba(246,240,248,.4); }
.prot-card.featured .prot-contains li { background: rgba(255,255,255,.10); color: #F6F0F8; border-color: rgba(255,255,255,.16); }
.prot-card.featured .prot-tag { background: rgba(255,255,255,.16); color: #F6F0F8; }
.prot-card.featured .was { color: rgba(246,240,248,.45); }
.prot-card.featured .now { color: #fff; }
.prot-card.featured .btn-pill { background: #fff; color: #2A1430; }
.prot-card.featured .btn-pill:hover { background: #F6F0F8; transform: translateY(-1px); }

.prot-tag {
  align-self: flex-start;
  font-family: "JetBrains Mono"; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--pp-tint); color: var(--pp);
  padding: 5px 10px; border-radius: 999px;
}
.prot-name {
  font-family: "Poppins"; font-weight: 700; letter-spacing: -0.025em;
  font-size: 26px; line-height: 1.05; margin-top: 4px;
}
.prot-blurb { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.prot-contains {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.prot-contains li {
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 6px;
  background: var(--pp-tint-2); color: var(--ink);
  border: 1px solid var(--line);
}
.prot-meta {
  display: flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600;
  color: var(--ink-3); letter-spacing: 0.04em;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.prot-card.featured .prot-meta { border-top-color: rgba(255,255,255,.12); }
.prot-meta .dot-sep { opacity: 0.5; }
.prot-save { color: var(--pp); }
.prot-card.featured .prot-save { color: #E5B7F0; }
.prot-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 4px;
}
.prot-price { display: flex; align-items: baseline; gap: 8px; }
.prot-price .was { font-size: 13px; text-decoration: line-through; color: var(--ink-3); }
.prot-price .now { font-family: "Poppins"; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.btn-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--pp); color: #fff;
  font-size: 12px; font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: var(--clay-purple); }

@media (max-width: 1100px) {
  .prot-grid { grid-template-columns: repeat(2, 1fr); }
  .prot-card.featured { grid-column: span 2; }
  .prot-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .prot-grid { grid-template-columns: 1fr; }
  .prot-card.featured { grid-column: auto; }
}

/* ─── Curated Series (image-led featured cards) ─── */
.series { padding: 28px 0 24px; }
.prot-head {
  display: grid; grid-template-columns: 1fr 360px; gap: 32px;
  align-items: end; margin-bottom: 32px;
}
.prot-sub { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 360px; }
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.series-card {
  background: var(--surface);
  border-radius: 28px;
  display: flex; flex-direction: column;
  padding: 14px 14px 24px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--clay-w);
  transition: transform .25s ease, box-shadow .25s ease;
}
.series-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -22px rgba(157,39,169,.28), var(--clay-w);
}
.series-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(157,39,169,.10), transparent 60%),
    linear-gradient(165deg, var(--pp-tint-2) 0%, var(--surface) 100%);
}
.series-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.series-img image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.series-meta { display: flex; flex-direction: column; gap: 10px; padding: 0 14px; flex: 1; }
.series-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.series-name {
  font-family: "Poppins"; font-weight: 700; letter-spacing: -0.025em;
  font-size: 24px; line-height: 1.05;
}
.series-count {
  font-family: "JetBrains Mono"; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap;
}
.series-blurb { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.series-items {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--ink-2); line-height: 1.4;
  flex: 1;
}
.series-items li {
  position: relative; padding-left: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.series-items li strong {
  color: var(--ink-1); font-weight: 700;
}
.series-price {
  margin-top: 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 8%, transparent), color-mix(in oklab, var(--accent) 3%, transparent));
  border: 1px solid color-mix(in oklab, var(--accent) 18%, transparent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sp-stack { display: flex; align-items: baseline; gap: 8px; }
.sp-bundle {
  font-family: "Poppins"; font-weight: 800; font-size: 24px;
  letter-spacing: -0.02em; color: var(--ink-1);
}
.sp-regular {
  font-family: "JetBrains Mono"; font-size: 12px; color: var(--ink-3);
  text-decoration: line-through;
}
.sp-save {
  font-family: "JetBrains Mono"; font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
  text-align: right; line-height: 1.3;
}
.series-items li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.series-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: var(--pp);
  padding: 10px 20px;
  border-radius: 200px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  width: 100%;
  box-shadow: var(--clay-purple);
  transition: transform .2s, box-shadow .2s;
}
.series-link:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(157,39,169,0.3); }
.series-link svg { transition: transform .2s; stroke: #fff; }
.series-link:hover svg { transform: translateX(3px); }

@media (max-width: 1100px) {
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .prot-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .series-grid { grid-template-columns: 1fr; }
}

/* ─── Vial-to-doorstep journey · winding road, big chunky stops ─── */
.journey { padding: 0 0 16px; margin-top: -56px; position: relative; }
.journey-head { text-align: center; margin: 0 auto 14px; max-width: 640px; }
.journey-head .ec-eyebrow { margin-bottom: 8px; padding: 5px 10px; font-size: 9.5px; }
.journey-head h2 {
  font-family: "Poppins", sans-serif; font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.03em;
  line-height: 1.02; margin: 0;
}
.journey .wrap { max-width: 1280px; }

.ec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pp); background: var(--pp-tint);
  padding: 8px 14px; border-radius: 999px;
}
.ec-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pp); }

.journey-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  column-gap: 8px; row-gap: 0;
  padding: 4px 0 8px;
  min-height: 280px;
}

.journey-road {
  position: absolute;
  inset: 8px 0 16px 0;
  width: 100%; height: calc(100% - 24px);
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(31, 42, 55, 0.16));
}
.journey-road .road-shoulder,
.journey-road .road-draw,
.journey-road .road-dashes {
  transition: stroke-dashoffset 0.38s cubic-bezier(0.45, 0, 0.25, 1);
}

.journey-stop {
  position: relative; z-index: 2;
  background: var(--surface);
  border: 1.6px solid #1F2A37;
  border-radius: 12px;
  padding: 6px 8px 8px;
  box-shadow:
    0 5px 0 -2px rgba(31, 42, 55, 0.12),
    0 8px 16px -10px rgba(31, 42, 55, 0.22);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.88);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.journey-stop.is-in { opacity: 1; transform: translateY(0) scale(1); }
.journey-stop:hover { transform: translateY(-5px) rotate(-0.6deg); }
.journey-stop.pos-1 { grid-column: 1; grid-row: 1; align-self: end;   margin-bottom: 8px; }
.journey-stop.pos-2 { grid-column: 2; grid-row: 2; align-self: start; margin-top: 8px; }
.journey-stop.pos-3 { grid-column: 3; grid-row: 1; align-self: end;   margin-bottom: 8px; }
.journey-stop.pos-4 { grid-column: 4; grid-row: 2; align-self: start; margin-top: 8px; }
.journey-stop.pos-5 { grid-column: 5; grid-row: 1; align-self: end;   margin-bottom: 8px; }

.journey-stop .step-num {
  font-family: "JetBrains Mono", monospace; font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.18em; color: #FFFFFF;
  background: #1F2A37; padding: 2px 8px; border-radius: 999px;
}
.journey-stop .illo {
  width: 64%; aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1.4px solid #1F2A37;
  background: #E7F3FB;
  display: grid; place-items: center;
  overflow: hidden;
}
.journey-stop .illo svg { width: 100%; height: 100%; display: block; }
.journey-stop .ttl {
  font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: -0.005em; line-height: 1.25;
  color: var(--ink-1);
  margin: 1px 0 0;
  text-wrap: pretty;
}

.journey-stop.pos-1 .illo svg,
.journey-stop.pos-3 .illo svg,
.journey-stop.pos-5 .illo svg { animation: bobA 4.4s ease-in-out infinite; }
.journey-stop.pos-2 .illo svg,
.journey-stop.pos-4 .illo svg { animation: bobB 4.8s ease-in-out infinite; }
@keyframes bobA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes bobB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

@media (min-width: 1280px) {
  .journey-stop .ttl { font-size: 12px; }
}

@media (max-width: 760px) {
  .journey-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    gap: 32px 0;
  }
  .journey-stop, .journey-stop.pos-1, .journey-stop.pos-2, .journey-stop.pos-3, .journey-stop.pos-4, .journey-stop.pos-5 {
    grid-column: 1; grid-row: auto; align-self: stretch; margin: 0;
    flex-direction: row; text-align: left; gap: 16px;
    padding: 16px;
  }
  .journey-stop .illo { width: 130px; flex: 0 0 130px; aspect-ratio: 1; }
  .journey-stop .ttl { font-size: 16px; }
  .journey-road { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-stop, .journey-road .road-shoulder,
  .journey-road .road-draw, .journey-road .road-dashes {
    transition: none !important;
  }
  .journey-stop { opacity: 1; transform: none; }
}

/* ─── Bestsellers Hero ─── */
.bs-hero { padding: 48px 0 0; }
.bs-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.bs-hero-text h1 { margin-top: 8px; }

.bs-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bs-stat-card {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--clay-w-sm);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease;
}
.bs-stat-card:hover { transform: translateY(-3px); }
.bs-stat-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pp-tint);
  color: var(--pp);
  margin: 0 auto 12px;
}
.bs-stat-val {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.bs-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ─── Bestsellers "Why these" ─── */
.bs-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bs-reason {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--clay-w-sm);
  padding: 36px 28px;
}
.bs-reason-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--pp-tint);
  color: var(--pp);
  margin-bottom: 18px;
}
.bs-reason h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.bs-reason p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ─── Bestsellers responsive ─── */
@media (max-width: 900px) {
  .bs-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
  }
  .bs-hero-stats {
    grid-template-columns: 1fr 1fr;
    max-width: 400px;
  }
  .bs-reasons {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .bs-hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .bs-stat-card { padding: 18px 14px; }
  .bs-stat-val { font-size: 22px; }
}

/* ─── COA Trust Bar ─── */
.coa-trust-bar {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.coa-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pp);
}
.coa-trust-item svg { flex-shrink: 0; }

/* ─── COA Search ─── */
.coa-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.coa-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: var(--clay-w-sm);
  padding: 12px 20px;
  flex: 1;
  max-width: 420px;
  color: var(--ink-3);
}
.coa-search-input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  width: 100%;
}
.coa-search-input::placeholder { color: var(--ink-3); }
.coa-result-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ─── COA Grid ─── */
.coa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.coa-grid-card {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--clay-w-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s;
}
.coa-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--clay-w);
}
.coa-grid-card-preview {
  height: 200px;
  overflow: hidden;
  background: #f9f5fa;
  border-bottom: 1px solid var(--line);
}
.coa-grid-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.coa-grid-card-info {
  padding: 18px 20px;
}
.coa-grid-card-name {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.coa-grid-card-meta {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 10px;
}
.coa-purity-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--pp-tint);
  color: var(--pp);
  font-size: 12px;
  font-weight: 700;
}

/* ─── COA Lightbox ─── */
.coa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 10, 20, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: coa-lb-in 0.2s ease;
}
@keyframes coa-lb-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.coa-lightbox-inner {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--clay-w);
  max-width: 800px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: coa-lb-slide 0.25s ease;
}
@keyframes coa-lb-slide {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.coa-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.coa-lightbox-body {
  overflow-y: auto;
  padding: 0;
}
.coa-lightbox-body img {
  width: 100%;
  display: block;
}

/* ─── COA Responsive ─── */
@media (max-width: 600px) {
  .coa-trust-bar { gap: 14px; }
  .coa-trust-item { font-size: 12px; }
  .coa-search-bar { flex-direction: column; align-items: stretch; }
  .coa-search-input-wrap { max-width: none; }
  .coa-grid { grid-template-columns: 1fr; }
  .coa-lightbox { padding: 12px; }
  .coa-lightbox-inner { max-height: 95vh; }
}

/* ─── FAQ ─── */
.faq-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 820px;
}
.faq-category-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--clay-w-sm);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--clay-w); }
.faq-item--open { box-shadow: var(--clay-w); }
.faq-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}
.faq-item-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq-item-chevron {
  flex-shrink: 0;
  color: var(--ink-3);
  transition: transform 0.25s ease;
}
.faq-item-chevron--open {
  transform: rotate(180deg);
  color: var(--pp);
}
.faq-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item-body-inner {
  padding: 0 24px 20px;
}
.faq-item-body-inner p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}

@media (max-width: 600px) {
  .faq-search-bar { flex-direction: column; align-items: stretch; }
  .faq-item-head { padding: 16px 18px; }
  .faq-item-body-inner { padding: 0 18px 16px; }
  .faq-item-q { font-size: 14px; }
}

/* ─── Search Dropdown ─── */
.search-dd {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--clay-w);
  z-index: 100;
  display: none;
  overflow: hidden;
  animation: search-dd-in 0.15s ease;
}
.search-dd.is-open { display: block; }
@keyframes search-dd-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-dd-input-wrap {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.search-dd-input {
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink); width: 100%;
}
.search-dd-input::placeholder { color: var(--ink-3); }
.search-dd-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
}
.search-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.search-dd-item:hover { background: var(--pp-tint-2); }
.search-dd-thumb {
  width: 36px; height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: #f9f5fa;
  flex-shrink: 0;
}
.search-dd-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.search-dd-info { flex: 1; min-width: 0; }
.search-dd-name {
  font-weight: 600; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block;
}
.search-dd-price {
  font-size: 12px; color: var(--ink-3);
}
.search-dd-empty {
  text-align: center; padding: 20px 12px;
  color: var(--ink-3); font-size: 13px;
}
@media (max-width: 600px) {
  .search-dd { width: 260px; right: -40px; }
}

/* ============================================================
   Cutover 2026-05-16 — Mobile navigation drawer (MF-1)
   Owner: fix-mobile-nav agent
   ============================================================ */

.mobile-drawer-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--ink, #0B0A14);
  padding: 0;
}
.mobile-drawer-toggle svg { width: 22px; height: 22px; }

.mobile-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 10, 20, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms ease;
}
.mobile-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  background: var(--bone, #F6EFF7);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(11,10,20,0.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(11,10,20,0.08);
}
.mobile-drawer__brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 18px;
  color: var(--ink, #0B0A14);
  letter-spacing: 0.02em;
}
.mobile-drawer__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--ink, #0B0A14);
  font-size: 28px; line-height: 1;
}

.mobile-drawer__nav {
  display: flex; flex-direction: column; padding: 12px 0;
}
.mobile-drawer__nav a {
  display: flex; align-items: center;
  padding: 14px 22px;
  min-height: 48px;
  color: var(--ink, #0B0A14);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid rgba(11,10,20,0.05);
}
.mobile-drawer__nav a:hover,
.mobile-drawer__nav a:focus-visible {
  background: rgba(157, 39, 169, 0.06);
  color: var(--purple, #9D27A9);
  outline: none;
}
.mobile-drawer__nav a.active {
  color: var(--purple, #9D27A9);
  font-weight: 600;
}

.mobile-drawer__footer {
  margin-top: auto;
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(11,10,20,0.08);
  font-size: 13px;
  color: rgba(11,10,20,0.62);
}
.mobile-drawer__footer a {
  color: var(--purple, #9D27A9);
  text-decoration: none;
}

body.mobile-drawer-open { overflow: hidden; }

@media (max-width: 800px) {
  .mobile-drawer-toggle { display: inline-flex; }
}

/* MD-8 — mobile topbar polish (compact logo + tap targets) */
@media (max-width: 600px) {
  .topbar { padding: 8px 14px; gap: 12px; }
  .topbar .brand-logo img { height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
}

/* MD-9 — hide CTA decorative circles on phone (overflow fix) */
@media (max-width: 600px) {
  .cta::before, .cta::after { display: none !important; }
}

/* MD-10 — hide floating hero tags on mobile (clip fix) */
@media (max-width: 800px) {
  .floating-tag, .tag-tl, .tag-tr { display: none !important; }
}

/* MF-13 — iOS auto-zoom fix on search inputs (16px floor) */
@media (max-width: 768px) {
  .topbar .search-input,
  .coa-search input,
  .coa-search-input,
  input.search-input,
  input[type="search"],
  .cta .form input,
  .cta .form input[type="email"] { font-size: 16px; }
}

/* ── Cart toast + cart-pill pulse (2026-05-16) ───────────────── */
#peptek-cart-toast {
  position: fixed;
  top: 18px; right: 18px;
  z-index: 99999;
  max-width: 360px; width: calc(100% - 36px);
  pointer-events: none;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 240ms ease, transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
#peptek-cart-toast.peptek-toast--in {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
#peptek-cart-toast.peptek-toast--out {
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
}
.peptek-toast__inner {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px 12px 14px;
  box-shadow: 0 12px 36px rgba(11, 10, 20, 0.18), 0 0 0 1px rgba(157, 39, 169, 0.10);
  position: relative;
}
.peptek-toast__icon {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(157, 39, 169, 0.10);
  color: #9D27A9;
}
.peptek-toast__icon svg { width: 18px; height: 18px; }
.peptek-toast__thumb {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--bone, #F6EFF7);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.peptek-toast__thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.peptek-toast__meta { flex: 1; min-width: 0; }
.peptek-toast__title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11, 10, 20, 0.5);
  margin-bottom: 2px;
}
.peptek-toast__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #0B0A14;
  line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.peptek-toast__actions {
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(11, 10, 20, 0.62);
}
.peptek-toast__actions a {
  color: #9D27A9;
  text-decoration: none;
  font-weight: 600;
}
.peptek-toast__actions a:hover { text-decoration: underline; text-underline-offset: 2px; }
.peptek-toast__dot { margin: 0 6px; color: rgba(11, 10, 20, 0.28); }
.peptek-toast__close {
  position: absolute;
  top: 6px; right: 6px;
  width: 22px; height: 22px;
  border: none; background: transparent;
  font-size: 18px; line-height: 1;
  color: rgba(11, 10, 20, 0.4);
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.peptek-toast__close:hover { color: #0B0A14; background: rgba(11, 10, 20, 0.06); }

@media (max-width: 600px) {
  #peptek-cart-toast {
    top: auto; bottom: 12px; right: 12px; left: 12px;
    max-width: none; width: auto;
    transform: translateY(40px);
  }
  #peptek-cart-toast.peptek-toast--in { transform: translateY(0); }
  #peptek-cart-toast.peptek-toast--out { transform: translateY(40px); }
  .peptek-toast__thumb { width: 40px; height: 40px; }
}

/* Cart-pill pulse on successful add */
@keyframes peptek-cart-pill-bump {
  0%   { transform: scale(1); }
  18%  { transform: scale(1.16); }
  40%  { transform: scale(0.96); }
  70%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.cart-pill {
  transition: background 180ms ease;
  will-change: transform;
}
.cart-pill.cart-pill--bump {
  animation: peptek-cart-pill-bump 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   === Mobile UI hardening pass — 2026-05-16 ===
   Owner: fix-mobile-clay agent
   Scope: clay.css only. Fixes root causes of horizontal scroll
   plus layout/typography polish at <=800/600/540/480 breakpoints.
   Source: /tmp/mobile-audit-{home,bestsellers,cart,coa,faq,product,trade}.md
   ============================================================ */

/* ----- .section-title — missing class definition (home.js Trust section
   uses className="section-title reveal-up" but no rule exists, so it
   falls back to UA default <h2>). Define globally so it inherits the
   Poppins display look like the rest of the section headings. ----- */
.section-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 4.5vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

/* ----- Touch-target baselines (WCAG 2.5.5 / Apple HIG = 44px) ----- */
.icon-btn { width: 44px; height: 44px; }

/* ----- Mobile-only `:hover` decoration suppression. On touch devices
   :hover sticks until next tap elsewhere, locking translateY/scale
   transforms in their "lifted" state. Gate decorative transforms
   behind hover-capable pointers. ----- */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: var(--clay-w-sm); }
  .card:hover .vial-box { transform: none; }
  .card:hover .heart { background: var(--pp-tint-2); color: var(--pp); }
  .card:hover .add { background: var(--ink); transform: none; }
  .step:hover { transform: none; }
  .trust .item:hover { transform: none; }
  .coa-grid-card:hover { transform: none; box-shadow: var(--clay-w-sm); }
  .icon-btn:hover { transform: none; }
  .btn-primary:hover, .btn-ghost:hover { transform: none; }
  .bs-stat-card:hover { transform: none; }
  .journey-stop:hover { transform: translateY(0) scale(1); }
  .prot-card:hover { transform: none; box-shadow: var(--clay-w); }
  .series-card:hover { transform: none; box-shadow: var(--clay-w); }
}

/* ----- CTA decorative circles — original MD-9 rule hides at 600px.
   Extend to 800px to cover tablet portrait widths where the 500-600px
   absolute-positioned circles still overflow .cta::overflow-hidden but
   the underlying box-shadow halo still adds visual noise off-screen. */
@media (max-width: 800px) {
  .cta::before, .cta::after { display: none !important; }
}

/* ====================================================================
   <= 800px — tablet + large phone
   ==================================================================== */
@media (max-width: 800px) {
  /* Topbar logo — base size is 64px (line ~899), MD-8 already drops it
     to 44px at 600px. Cover the 601-800 gap so tablets don't ship a
     dominant 64px logo crammed beside the hamburger. */
  .topbar .brand-logo img { height: 44px; }

  /* Hero — kill the 70vh floor so stacked single-col layout doesn't
     leave a hollow gap below the vial. Trim top padding too. */
  .hero { padding-top: 24px; }
  .hero .grid { min-height: auto; }

  /* Hero vial — when grid stacks the vial-stage spans full width
     and dominates the phone screen. Cap it so the hero text/image
     ratio stays balanced. */
  .vial-stage { max-width: 320px; margin: 0 auto; }
}

/* ====================================================================
   <= 600px — phones (primary mobile breakpoint)
   ==================================================================== */
@media (max-width: 600px) {
  /* --- Promo bar — #1 root cause of horizontal scroll site-wide ---
     `.promo-inner` is `display:flex` with no wrap; long headline +
     tag + CTA + close push wider than 375px. Allow wrap + give items
     a min-width: 0 so the headline can shrink. */
  .promo-inner {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .promo-headline { min-width: 0; flex: 1 1 auto; }
  .promo-cta { margin-left: 0; }

  /* Compact cart-pill — hide the "Cart" word (keep icon + numeric
     count) so the topbar right cluster fits on 320-375px screens. */
  .cart-pill { padding: 8px 10px 8px 10px; }
  .cart-pill > span:not(.num) { display: none; }

  /* --- Double-padding bug ---
     .method/.cta/footer sit inside .wrap (already padded by --pad)
     AND apply their own var(--pad). At 375px viewport that doubles
     to ~80px of horizontal padding before content. Drop to a small
     fixed value on phones. */
  .method { padding: 40px 16px; }
  .cta { padding: 40px 18px; }
  footer { padding: 40px 0 24px; }

  /* --- Section padding global — 96px top+bottom is excessive on
     phones. Trim to 56px to reduce empty scroll. --- */
  section { padding: 56px 0; }

  /* --- Newsletter CTA form — stacks vertically; full-width input. --- */
  .cta .form {
    flex-direction: column;
    gap: 10px;
    border-radius: 18px;
    padding: 12px;
  }
  .cta .form input { width: 100%; font-size: 16px; }

  /* --- Card touch targets — bump add-to-cart to 44, heart hit area
     to 44 via padding + content-box clip (visual size stays 32). --- */
  .card .add { width: 44px; height: 44px; }
  .card .heart {
    width: 44px; height: 44px;
    padding: 6px;
    background-clip: content-box;
  }

  /* --- COA dot indicators — visual size stays small, but inflate
     the tap target with padding + content-box clipping. --- */
  .coa-dot {
    width: 30px; height: 30px;
    padding: 10px;
    background-clip: content-box;
  }

  /* --- Series items — release ellipsis so ingredient lines like
     "Bacteriostatic Water · 10 mL × 2" stay fully readable. --- */
  .series-items li {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  /* --- Stats-strip — collapse 2-col fallback to single column with
     bottom-border separator (replaces border-right). --- */
  .stats-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px;
  }
  .stats-strip .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 4px 0 12px;
  }
  .stats-strip .stat:last-child { border-bottom: 0; padding-bottom: 4px; }

  /* --- COA slideshow card — reduce max-height to keep above-the-fold. */
  .coa-card.reveal-up { max-height: 360px; }
  .coa-slide { max-height: 320px; }

  /* --- COA lightbox header — allow wrap + give the title block
     min-width:0 so the close button can't be pushed off the right
     edge by long product names. --- */
  .coa-lightbox-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .coa-lightbox-head > div:first-child { min-width: 0; flex: 1 1 auto; }

  /* --- COA trust bar — explicit 1-col grid (was flex-wrap producing
     ragged stack at this width). --- */
  .coa-trust-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* --- COA grid card preview — shorter on phones so the card list
     scans faster. --- */
  .coa-grid-card-preview { height: 160px; }

  /* --- FAQ typography — bump body from 14px to 15px, hold question
     at 15px (don't downshift to 14px like the existing rule). --- */
  .faq-item-q { font-size: 15px; }
  .faq-item-body-inner p { font-size: 15px; line-height: 1.6; }

  /* --- FAQ head + chevron — ensure 48px min-height, wrap chevron
     in a 44px hit area without changing visual size (uses padding +
     negative margin so layout doesn't shift). --- */
  .faq-item-head { min-height: 48px; }
  .faq-item-chevron {
    padding: 12px;
    margin: -12px;
    box-sizing: content-box;
  }

  /* --- FAQ category title — bump for better hierarchy vs the 15px
     question text below it. --- */
  .faq-category-title { font-size: 22px; }
}

/* ====================================================================
   <= 540px — narrow phones (iPhone SE 1st gen / Android narrow)
   ==================================================================== */
@media (max-width: 540px) {
  /* Promo bar at the narrowest sizes — hide the SITEWIDE tag and CTA
     so only "15% off ... code PepTek" remains. Per audit
     /tmp/mobile-audit-trade.md P2 + /tmp/mobile-audit-home.md L. */
  .promo-tag { display: none; }
}

/* ====================================================================
   <= 480px — smallest phones
   ==================================================================== */
@media (max-width: 480px) {
  /* Promo bar — at this size drop the CTA pill too so the headline
     has room to breathe. */
  .promo-cta { display: none; }

  /* Product grid — drop to 1 column and tighten typography. */
  .grid-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card .name { font-size: 18px; }
  .card .price { font-size: 17px; }

  /* Footer — collapse to 1 column for natural readable stack. */
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Method process steps — single column. */
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Hero h1 — lower the floor so 7vw on phones (which would resolve
     to <48 below 686px viewport) actually controls the size. Original
     rule was clamp(48px, 7vw, 96px) which floored at 48px. */
  .hero h1 {
    font-size: clamp(36px, 11vw, 96px);
  }

  /* FAQ category title bump only kicked in at 600; reinforce here. */
  .faq-category-title { font-size: 24px; }
}

/* ----- FAQ grid: add horizontal centering (cosmetic, applies at
   tablet widths above the 820px max-width cap). ----- */
.faq-grid { margin: 0 auto; }

/* ----- Catalogue filter pill (mobile only) — chips arranged in a
   strategic 2-col grid inside the white pill, sort hidden. "All" spans
   the full row as a header; if total chip count is even, the lone last
   chip also spans full width so the pattern stays balanced. ----- */
@media (max-width: 600px) {
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px;
  }
  .filter-bar .sort { display: none; }
  .filter-bar button.chip {
    justify-content: center;
    padding: 10px 8px;
    font-size: 13px;
    width: 100%;
  }
  .filter-bar button.chip:first-child { grid-column: 1 / -1; }
  .filter-bar button.chip:last-of-type:nth-of-type(even) { grid-column: 1 / -1; }
}

/* === End mobile UI hardening pass === */
