/* ==========================================================================
   Peptide-site framework v3.3 — design system "Laboratory Editorial"
   Paper, ink and one accent. The accent, fonts and paper are tokens below;
   a site restyles itself in assets/css/theme.css (loaded after this file)
   without touching this stylesheet. Default = BuyPeptides.nl signal red.
   ========================================================================== */

:root {
  --ink:        #0C0C0E;
  --ink-2:      #15151A;
  --ink-3:      #212127;
  --paper:      #F4F1EA;
  --paper-2:    #ECE8DF;
  --paper-3:    #E2DDD1;
  --white:      #FFFFFF;
  /* Accent. theme.css overrides these per site. */
  --accent:        #E4001E;        /* fills: buttons, bars, dots, ticker, CTA band */
  --accent-deep:   #B30018;        /* hover fill */
  --accent-rgb:    228, 0, 30;     /* same colour as r, g, b for glows */
  --accent-ink:    #E4001E;        /* accent as TEXT on light paper (keep >= 4.5:1) */
  --accent-on-ink: #E4001E;        /* accent as TEXT on ink */
  --on-accent:     #F4F1EA;        /* text on an accent fill */
  --on-accent-muted: rgba(244, 241, 234, 0.8);
  --accent-soft:   rgba(var(--accent-rgb), 0.08);
  --accent-glow:   rgba(var(--accent-rgb), 0.35);
  --header-bg:     rgba(244, 241, 234, 0.86);
  --display-weight: 800;
  /* legacy aliases (pre-3.3 custom CSS) */
  --red: var(--accent); --red-deep: var(--accent-deep); --red-soft: var(--accent-soft); --red-glow: var(--accent-glow);
  --text:       #141416;
  --muted:      #5C5B57;
  --faint:      #8E8C87;
  --line:       rgba(12, 12, 14, 0.12);
  --line-strong:rgba(12, 12, 14, 0.28);
  --on-ink:     #F4F1EA;
  --on-ink-muted: rgba(244, 241, 234, 0.62);
  --on-ink-line:  rgba(244, 241, 234, 0.14);

  --font-display: 'Bricolage Grotesque', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --radius:    6px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(12,12,14,.05), 0 10px 30px -14px rgba(12,12,14,.22);
  --shadow-2: 0 2px 4px rgba(12,12,14,.06), 0 30px 60px -20px rgba(12,12,14,.35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 12px;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: 88%;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.015em; }
p { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); }

.mono, .eyebrow, .tag, .chip, .spec__key, .crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-ink); font-weight: 500; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); }
.eyebrow--plain::before { display: none; }
.on-ink .eyebrow, .section--ink .eyebrow, .grid-bg .eyebrow, .post-hero .eyebrow, .phero--ink .eyebrow { color: var(--accent-on-ink); }
.section--ink .step__num, .hero__title strong, .footer .logo__text span, .cat:hover .cat__num { color: var(--accent-on-ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--paper2 { background: var(--paper-2); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head p { max-width: 520px; }
.section__head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section__head--center .eyebrow::before { display: none; }
.section__head--center p { max-width: 640px; }
.section--ink h2, .section--ink h3 { color: var(--on-ink); }
.section--ink p { color: var(--on-ink-muted); }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display); font-weight: 700; font-stretch: 92%;
  font-size: 0.98rem; letter-spacing: 0.01em; line-height: 1;
  border-radius: var(--radius); border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); font-family: var(--font-body); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 8px 24px -10px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 32px -12px var(--accent-glow); }
.btn--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--text); background: var(--white); transform: translateY(-2px); }
/* Outline buttons on a dark surface. The footer is on --ink too: without it the "visit the shop"
   button in the footer is dark text on a dark background (fixed in 3.5.2). */
.on-ink .btn--outline, .section--ink .btn--outline, .hero .btn--outline, .post-hero .btn--outline, .phero--ink .btn--outline, .footer .btn--outline { color: var(--on-ink); border-color: rgba(244,241,234,.35); }
.on-ink .btn--outline:hover, .section--ink .btn--outline:hover, .hero .btn--outline:hover, .post-hero .btn--outline:hover, .phero--ink .btn--outline:hover, .footer .btn--outline:hover { background: rgba(244,241,234,.08); border-color: var(--on-ink); color: var(--on-ink); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--white); transform: translateY(-2px); }
.btn--sm { padding: 10px 14px; font-size: 0.86rem; }
.btn--lg { padding: 18px 30px; font-size: 1.08rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Tags / chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: 3px;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 500;
}
.tag--ink { background: rgba(12,12,14,.06); color: var(--text); }
.tag--ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--on-ink-line); border-radius: 999px;
  color: var(--on-ink-muted); font-size: 11.5px;
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.25); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: var(--on-ink-muted);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  height: 34px; overflow: hidden; position: relative;
}
.topbar__track { display: flex; align-items: center; height: 34px; gap: 48px; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.topbar:hover .topbar__track { animation-play-state: paused; }
.topbar__item { display: inline-flex; align-items: center; gap: 12px; }
.topbar__item b { color: var(--on-ink); font-weight: 500; }
.topbar__item::after { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-left: 36px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(12,12,14,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 40px; height: 40px; border-radius: 9px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 8px 20px -10px var(--accent-glow); transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.04); }
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 90%; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.logo__text span { color: var(--accent-ink); }
.logo__sub { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a {
  position: relative; display: inline-block; padding: 10px 13px;
  font-family: var(--font-display); font-weight: 600; font-stretch: 92%; font-size: 0.95rem; letter-spacing: 0.01em;
  color: var(--text); border-radius: var(--radius); transition: color .2s;
}
.nav a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--accent-ink); }
.header__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius); place-items: center; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Language selector + Google Translate widget ---------- */
.lang-select { display: inline-flex; align-items: center; }
.lang-select select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141416' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 26px 8px 12px; transition: border-color .2s, background-color .2s;
}
.lang-select select:hover, .lang-select select:focus { border-color: var(--text); outline: none; }
/* The opened list is drawn by the browser (white by default): give the options explicit colours so they
   stay readable when the closed select uses light text (mobile menu, dark themes). */
.lang-select select option { background-color: var(--white); color: var(--text); font-family: var(--font-body); }
.lang-select--header { margin-right: 4px; }
.nav__lang, .nav__cta { display: none; }
.nav a { white-space: nowrap; }
/* Menu breakpoint: below 1180px the full menu (6 items + language + order button) no longer fits. */
@media (max-width: 1180px) {
  .lang-select--header { display: none; }
  .nav.is-open .nav__cta { display: block; }
  .nav.is-open .nav__lang { display: block; margin-top: 18px; }
  .nav.is-open .nav__lang select { color: var(--on-ink); border-color: rgba(244,241,234,.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23F4F1EA' stroke-width='1.5'/%3E%3C/svg%3E"); font-size: 12px; padding: 10px 30px 10px 14px; }
}
/* Hide Google's own bar and gadget; our select drives the widget through the googtrans cookie. */
.gt-host, .goog-te-gadget, .goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, #goog-gt-tt, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: transparent !important; box-shadow: none !important; }
font[style] { background: inherit !important; box-shadow: none !important; }

/* ---------- Atmosphere ---------- */
.grid-bg {
  background-color: var(--ink);
  background-image:
    radial-gradient(60% 50% at 85% 0%, rgba(var(--accent-rgb),.28) 0%, rgba(var(--accent-rgb),0) 60%),
    linear-gradient(rgba(244,241,234,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,234,.055) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  background-position: 0 0, 0 0, 0 0;
}
.grain { position: relative; }
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-ink); padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); }
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { color: var(--on-ink); font-size: clamp(3rem, 7.4vw, 6.6rem); max-width: 12ch; }
.hero__title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--on-ink); }
.hero__title strong { font-weight: inherit; color: var(--accent-ink); }
.hero__lead { margin: 26px 0 34px; max-width: 520px; color: var(--on-ink-muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero__art { position: relative; }

/* Certificate card */
.cert {
  position: relative; background: var(--paper); color: var(--text); border-radius: var(--radius-lg);
  padding: 26px 26px 22px; box-shadow: var(--shadow-2);
  transform: rotate(-2.5deg); transition: transform .6s var(--ease);
  border: 1px solid rgba(12,12,14,.06);
}
.cert:hover { transform: rotate(0deg) translateY(-4px); }
.cert::before { content: ''; position: absolute; inset: 10px; border: 1px dashed var(--line); border-radius: 10px; pointer-events: none; }
.cert__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.cert__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1; }
.cert__title small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.cert__stamp { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); border: 1.5px solid var(--accent); padding: 6px 8px; border-radius: 4px; transform: rotate(4deg); }
.cert__chart { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 10px 4px; }
.cert__chart svg { width: 100%; height: auto; }
.cert__chart path.peak { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s var(--ease) .6s forwards; }
.cert__chart path.base { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.cert__chart .grid line { stroke: rgba(12,12,14,.06); }
.cert__caption { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.cert__rows { list-style: none; margin-top: 14px; display: grid; gap: 0; }
.cert__rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cert__rows li:last-child { border-bottom: 0; }
.cert__rows span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cert__rows strong { font-weight: 600; color: var(--text); }
.cert__rows strong.ok { color: var(--accent-ink); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__float {
  position: absolute; right: -6%; bottom: -10%; z-index: 3;
  background: var(--ink-2); color: var(--on-ink); border: 1px solid var(--on-ink-line);
  border-radius: var(--radius-lg); padding: 14px 16px; box-shadow: var(--shadow-2);
  display: flex; gap: 12px; align-items: center; transform: rotate(3deg);
  animation: float 6s ease-in-out infinite;
}
.hero__float b { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; color: var(--on-ink); }
.hero__float small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); margin-top: 4px; }
@keyframes float { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-8px); } }

/* Molecule backdrop */
.molecule { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.molecule svg { position: absolute; right: -8%; top: -12%; width: 62%; min-width: 560px; height: auto; opacity: .55; }
.molecule .bond { stroke: rgba(244,241,234,.16); stroke-width: 1.2; }
.molecule .node { fill: var(--ink); stroke: rgba(244,241,234,.5); stroke-width: 1.2; }
.molecule .node--red { fill: var(--accent); stroke: var(--accent); animation: pulse 3.4s ease-in-out infinite; }
.molecule .node--red:nth-child(odd) { animation-delay: 1.2s; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* Entrance */
.rise > * { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.rise > *:nth-child(1) { animation-delay: .05s; }
.rise > *:nth-child(2) { animation-delay: .15s; }
.rise > *:nth-child(3) { animation-delay: .25s; }
.rise > *:nth-child(4) { animation-delay: .35s; }
.rise > *:nth-child(5) { animation-delay: .45s; }
.rise > *:nth-child(6) { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Ticker ---------- */
.ticker { background: var(--accent); color: var(--on-accent); overflow: hidden; height: 46px; border-top: 1px solid rgba(0,0,0,.15); }
.ticker__track { display: flex; align-items: center; height: 46px; width: max-content; animation: marquee 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 18px; padding: 0 22px; font-family: var(--font-display); font-weight: 700; font-stretch: 88%; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.ticker__item small { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .12em; opacity: .75; }
.ticker__item::after { content: ''; width: 8px; height: 8px; background: var(--on-accent); transform: rotate(45deg); margin-left: 12px; opacity: .8; }
.ticker__item a { transition: opacity .2s; }
.ticker__item a:hover { opacity: .75; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 85%; font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.stat__num sup { font-size: .5em; color: var(--accent-ink); vertical-align: top; top: .2em; position: relative; }
.stat__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.stat:hover::before { transform: scaleX(1); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 22px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.card__index { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: .1em; }
.card__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.card__title a { transition: color .2s; }
.card__title a:hover { color: var(--accent-ink); }
.card__aka { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); margin-top: 6px; letter-spacing: .02em; }
.card__desc { font-size: .95rem; line-height: 1.55; color: var(--muted); margin: 14px 0 20px; flex: 1; }
.card__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card__link { font-family: var(--font-display); font-weight: 700; font-stretch: 92%; font-size: .95rem; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.card__link::after { content: '\2192'; transition: transform .35s var(--ease); }
.card__link:hover { color: var(--accent-ink); }
.card__link:hover::after { transform: translateX(4px); }
.card--ink { background: var(--ink-2); border-color: var(--on-ink-line); }
.card--ink .card__title, .card--ink .card__link { color: var(--on-ink); }
.card--ink .card__desc { color: var(--on-ink-muted); }
.card--feature { grid-column: span 2; background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.card--feature .card__title { color: var(--on-ink); font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.card--feature .card__desc { color: var(--on-ink-muted); font-size: 1rem; }
.card--feature .card__link { color: var(--on-ink); }

/* Guide card */
.gcard { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.gcard__meta { display: flex; justify-content: space-between; align-items: center; }
.gcard__time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.gcard__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.05; color: var(--text); }
.gcard__title:hover { color: var(--accent-ink); }
.gcard__desc { font-size: .93rem; color: var(--muted); flex: 1; }

/* Category tiles */
.cat { display: block; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s; position: relative; overflow: hidden; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); background: var(--ink); }
.cat__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent-ink); }
.cat__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; margin: 12px 0 8px; color: var(--text); transition: color .3s; }
.cat__desc { font-size: .9rem; color: var(--muted); transition: color .3s; }
.cat__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.cat__list li { font-family: var(--font-mono); font-size: 11px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); transition: all .3s; }
.cat:hover .cat__title { color: var(--on-ink); }
.cat:hover .cat__desc { color: var(--on-ink-muted); }
.cat:hover .cat__list li { border-color: var(--on-ink-line); color: var(--on-ink-muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 26px; background: rgba(244,241,234,.04); border: 1px solid var(--on-ink-line); border-radius: var(--radius-lg); }
.step__num { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 85%; font-size: 3rem; letter-spacing: -.04em; line-height: 1; color: var(--accent-ink); }
.step h3 { color: var(--on-ink); margin: 14px 0 8px; }
.step p { color: var(--on-ink-muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-stretch: 90%; font-size: 1.15rem; letter-spacing: -.01em; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent-ink); transition: transform .35s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 0 22px; color: var(--muted); max-width: 760px; }
.faq .faq__body p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--accent); color: var(--on-accent); padding: clamp(56px, 8vw, 96px) 0; }
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(80% 100% at 100% 50%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(80% 100% at 100% 50%, #000 20%, transparent 100%); }
.cta .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta h2 { color: var(--on-accent); font-size: clamp(2rem, 4vw, 3.4rem); max-width: 14ch; }
.cta p { color: var(--on-accent-muted); margin-top: 12px; max-width: 520px; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-self: end; }
.cta__note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-accent-muted); }

/* ---------- Page hero (inner pages) ---------- */
.crumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.crumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; font-size: 11px; color: var(--faint); text-transform: none; letter-spacing: .04em; }
.crumbs__list li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }
.crumbs__list a { color: var(--muted); }
.crumbs__list a:hover { color: var(--accent-ink); }
.crumbs__list [aria-current] { color: var(--text); }

.phero { position: relative; overflow: hidden; background: var(--paper-2); padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.phero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),.14), rgba(var(--accent-rgb),0) 65%); pointer-events: none; }
.phero .container { position: relative; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.phero h1 { max-width: 16ch; }
.phero__alias { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); margin-top: 14px; }
.phero__lead { margin-top: 18px; max-width: 720px; font-size: 1.08rem; }
.phero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.phero__side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.phero--ink { background: var(--ink); color: var(--on-ink); border-bottom-color: var(--on-ink-line); }
.phero--ink h1 { color: var(--on-ink); }
.phero--ink .phero__lead, .phero--ink .phero__alias { color: var(--on-ink-muted); }

/* ---------- Article layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.layout--wide { grid-template-columns: minmax(0, 1fr) 380px; }
.sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }

.prose { counter-reset: h2; max-width: 74ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; }
.prose h2::before { counter-increment: h2; content: counter(h2, decimal-leading-zero); font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--accent-ink); flex-shrink: 0; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose p { font-size: 1.02rem; line-height: 1.75; color: var(--muted); }
.prose p strong, .prose li strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent-ink); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-deep); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 6px 0 6px 20px; font-family: var(--font-display); font-weight: 600; font-stretch: 92%; font-size: 1.2rem; color: var(--text); }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--paper-2); padding: 2px 6px; border-radius: 3px; }
.prose img { border-radius: var(--radius-lg); }
.prose .table-wrap { overflow-x: auto; margin: 1.4em 0; -webkit-overflow-scrolling: touch; }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .table th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink); background: var(--ink); padding: 12px 14px; }
.prose th:first-child, .table th:first-child { border-radius: 6px 0 0 0; }
.prose th:last-child, .table th:last-child { border-radius: 0 6px 0 0; }
.prose td, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.prose tr:hover td, .table tr:hover td { background: var(--white); }
.prose td:first-child { color: var(--text); font-weight: 500; }

.callout { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--white); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin: 2em 0 0; }
.callout__icon { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.callout p { font-size: .92rem; color: var(--muted); }
.callout strong { color: var(--text); }

/* ---------- Sidebar cards ---------- */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-1); }
.panel__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.panel__title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.spec { list-style: none; }
.spec li, .spec__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.spec li:last-child, .spec__row:last-child { border-bottom: 0; }
.spec__key { color: var(--faint); letter-spacing: .06em; font-size: 10.5px; flex-shrink: 0; }
.spec__val { font-weight: 600; color: var(--text); text-align: right; word-break: break-word; font-size: 13px; }
.spec__val--mono { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; }
.spec__val--hi { color: var(--accent-ink); }
.linklist { list-style: none; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist li:last-child { border-bottom: 0; }
.linklist a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: .93rem; color: var(--text); transition: color .2s; }
.linklist a::after { content: '\2192'; color: var(--faint); transition: transform .35s var(--ease); }
.linklist a:hover { color: var(--accent-ink); }
.linklist a:hover::after { transform: translateX(4px); color: var(--accent-ink); }
.linklist small { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); margin-left: 8px; }

/* ---------- Product box ---------- */
.product-box { position: relative; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-lg); padding: 22px 22px 18px; overflow: hidden; border: 1px solid rgba(244,241,234,.08); box-shadow: var(--shadow-2); }
.product-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(var(--accent-rgb),.35), rgba(var(--accent-rgb),0) 60%); pointer-events: none; }
.product-box > * { position: relative; }
.product-box__eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); }
.product-box__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.25); animation: pulse 2.4s ease-in-out infinite; }
.product-box__name { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.05; margin-top: 12px; color: var(--on-ink); }
.product-box__note { font-size: .9rem; color: var(--on-ink-muted); margin-top: 10px; line-height: 1.55; }
.product-box__specs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 16px 0 18px; padding-top: 14px; border-top: 1px solid var(--on-ink-line); }
.product-box__specs li { display: flex; flex-direction: column; gap: 2px; }
.product-box__specs span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); }
.product-box__specs strong { font-size: 13.5px; color: var(--on-ink); font-weight: 600; }
.product-box .btn { margin-top: 4px; }
.product-box__fine { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: rgba(244,241,234,.45); margin-top: 12px; text-align: center; }
.product-box--compact .btn { margin-top: 14px; }
.product-box--inline { margin: 2.2em 0; }
/* Inside article prose the box must not inherit list, link and colour rules */
.prose .product-box > * + * { margin-top: 0; }
.prose .product-box__name { color: var(--on-ink); margin-top: 12px; }
.prose .product-box__note { color: var(--on-ink-muted); font-size: .9rem; line-height: 1.55; margin-top: 10px; }
.prose .product-box__specs { list-style: none; padding-left: 0; margin: 16px 0 18px; font-size: inherit; color: inherit; }
.prose .product-box__specs li { margin: 0; }
.prose .product-box__specs li::marker { content: ''; }
.prose .product-box__specs span { color: var(--on-ink-muted); }
.prose .product-box__specs strong { color: var(--on-ink); font-weight: 600; }
.prose .product-box .btn { text-decoration: none; color: var(--on-accent); margin-top: 4px; }
.prose .product-box .btn:hover { color: var(--on-accent); }
.prose .product-box__fine { color: rgba(244,241,234,.45); margin-top: 12px; }

.product-box__promo, .slidein__promo { display: flex; flex-direction: column; align-items: center; gap: 7px; margin-top: 12px; padding: 12px 12px 10px; border-radius: 8px; background: rgba(var(--accent-rgb),.16); border: 1px solid rgba(var(--accent-rgb),.5); color: var(--on-ink); font-size: .86rem; font-weight: 600; text-align: center; line-height: 1.3; }
.prose .product-box__promo, .prose .slidein__promo { color: var(--on-ink); margin-top: 12px; }
.prose .product-box__promo > * + * { margin-top: 0; }
.promo-code { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 6px; border: 1.5px dashed rgba(244,241,234,.7); background: rgba(12,12,14,.45); color: var(--on-ink); font-family: var(--font-mono); font-size: 1rem; font-weight: 600; letter-spacing: .12em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.promo-code::after { content: attr(data-copy-label); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; font-weight: 400; }
.promo-code:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.promo-code.is-copied { background: var(--on-ink); color: var(--ink); border-style: solid; }
.promo-code.is-copied::after { content: ''; }
.promo-auto { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; color: rgba(244,241,234,.65); }

/* ---------- Conversion layer: sticky bar + slide-in ---------- */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--ink); color: var(--on-ink); border-top: 1px solid var(--on-ink-line); box-shadow: 0 -12px 40px -16px rgba(12,12,14,.6); transform: translateY(110%); transition: transform .5s var(--ease); }
.stickybar.is-on { transform: none; }
.stickybar__inner { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.stickybar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.stickybar__text strong { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.05rem; letter-spacing: -.01em; color: var(--on-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar__text span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar .btn { flex-shrink: 0; }
.stickybar__close { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; color: var(--on-ink-muted); font-size: 1.3rem; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s; }
.stickybar__close:hover { background: rgba(244,241,234,.1); color: var(--on-ink); }
body.has-stickybar { padding-bottom: 64px; }

.slidein { position: fixed; right: 20px; bottom: 84px; z-index: 160; width: min(360px, calc(100vw - 32px)); background: var(--ink); color: var(--on-ink); border: 1px solid rgba(244,241,234,.1); border-radius: var(--radius-lg); padding: 22px 22px 18px; box-shadow: var(--shadow-2); transform: translateX(130%); transition: transform .6s var(--ease); overflow: hidden; }
.slidein::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(var(--accent-rgb),.35), rgba(var(--accent-rgb),0) 60%); pointer-events: none; }
.slidein > * { position: relative; }
.slidein.is-on { transform: none; }
.slidein__close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; color: var(--on-ink-muted); font-size: 1.3rem; display: grid; place-items: center; transition: background .2s, color .2s; }
.slidein__close:hover { background: rgba(244,241,234,.1); color: var(--on-ink); }
.slidein__eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); }
.slidein__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.05; color: var(--on-ink); margin-top: 12px; padding-right: 28px; }
.slidein__note { font-size: .88rem; color: var(--on-ink-muted); margin: 10px 0 16px; line-height: 1.5; }
.slidein__promo { margin: -6px 0 14px; padding: 9px 12px; border-radius: 6px; background: rgba(var(--accent-rgb),.18); border: 1px solid rgba(var(--accent-rgb),.45); color: var(--on-ink); font-size: .85rem; font-weight: 600; text-align: center; }
.slidein__fine { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: rgba(244,241,234,.45); margin-top: 12px; text-align: center; }
@media (max-width: 600px) {
  .stickybar__text span { display: none; }
  .stickybar__inner { gap: 10px; }
  .slidein { right: 12px; left: 12px; bottom: 76px; width: auto; }
}

/* ---------- Filter bar (peptides index) ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 36px; }
.filterbar__search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
.filterbar__search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--text); outline: none; }
.filterbar__search input::placeholder { color: var(--faint); }
.filterbar__search svg { width: 16px; height: 16px; color: var(--faint); }
.filterbtn { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); transition: all .25s; }
.filterbtn:hover { border-color: var(--text); color: var(--text); }
.filterbtn.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.empty { text-align: center; padding: 40px; color: var(--faint); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: none; }
.empty.is-visible { display: block; }
.group { margin-bottom: clamp(40px, 6vw, 72px); scroll-margin-top: 100px; }
.group__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group__head h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.group__count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--faint); margin-left: auto; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.post-card__visual { position: relative; aspect-ratio: 16 / 8; background: var(--ink); overflow: hidden; }
.post-card__visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 90% at 80% 10%, rgba(var(--accent-rgb),.5), rgba(var(--accent-rgb),0) 60%), linear-gradient(rgba(244,241,234,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,.06) 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; }
.post-card__visual span { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 85%; font-size: 2.1rem; letter-spacing: -.03em; line-height: .9; color: var(--on-ink); max-width: 80%; }
.post-card__visual small { position: absolute; right: 16px; top: 14px; z-index: 1; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,241,234,.7); }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.post-card__meta .tag { text-transform: uppercase; }
.post-card__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 88%; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.08; color: var(--text); }
.post-card__title:hover { color: var(--accent-ink); }
.post-card__excerpt { font-size: .93rem; color: var(--muted); flex: 1; }
.post-card--hero { grid-column: span 2; }
.post-card--hero .post-card__visual { aspect-ratio: 16 / 6; }
.post-card--hero .post-card__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 200; transition: width .1s linear; }
.post-hero { background: var(--ink); color: var(--on-ink); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.post-hero .container { position: relative; z-index: 2; }
.post-hero h1 { color: var(--on-ink); font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 22ch; }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
.post-hero__meta b { color: var(--on-ink); font-weight: 500; }
.post-hero__lead { margin-top: 22px; max-width: 700px; color: var(--on-ink-muted); font-size: 1.1rem; }
.toc { font-size: .9rem; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); border-bottom: 1px solid var(--line); transition: color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--accent-ink); letter-spacing: .08em; flex-shrink: 0; padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: var(--text); }
.toc li:last-child a { border-bottom: 0; }
.post-footer { margin-top: clamp(36px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.share { display: flex; gap: 8px; }
.share button, .share a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); transition: all .25s; }
.share button:hover, .share a:hover { border-color: var(--text); color: var(--text); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { font-family: var(--font-mono); font-size: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.pagination a:hover { border-color: var(--text); color: var(--text); }
.pagination .is-current { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); padding: clamp(56px, 7vw, 88px) 0 32px; position: relative; overflow: hidden; }
.footer__word { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 80%; font-size: clamp(3.4rem, 11vw, 11rem); letter-spacing: -.045em; line-height: .85; color: rgba(244,241,234,.06); white-space: nowrap; position: absolute; left: 50%; transform: translateX(-50%); bottom: 88px; pointer-events: none; user-select: none; }
.footer .container { position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--on-ink-line); }
.footer__brand p { color: var(--on-ink-muted); font-size: .92rem; margin-top: 16px; max-width: 360px; }
.footer .logo__text { color: var(--on-ink); }
.footer__col h4 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: grid; gap: 9px; }
.footer__col a { font-size: .92rem; color: var(--on-ink-muted); transition: color .2s; }
.footer__col a:hover { color: var(--on-ink); }
.footer__disclaimer { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--on-ink-line); border-radius: var(--radius-lg); font-size: .82rem; line-height: 1.6; color: rgba(244,241,234,.5); }
.footer__disclaimer strong { color: var(--on-ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: rgba(244,241,234,.45); }
.footer__bottom a { color: var(--on-ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); position: relative; overflow: hidden; }
.notfound__num { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: 80%; font-size: clamp(8rem, 26vw, 22rem); letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(12,12,14,.18); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.notfound__body { position: relative; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .card--feature, .post-card--hero { grid-column: span 2; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header__cta .btn { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 90;
    background: var(--ink); padding: 110px var(--gutter) 40px;
  }
  .nav.is-open a { color: var(--on-ink); font-size: clamp(2rem, 8vw, 3rem); font-weight: var(--display-weight); font-stretch: 85%; padding: 12px 0; border-bottom: 1px solid var(--on-ink-line); border-radius: 0; }
  .nav.is-open a::after { display: none; }
  .nav.is-open a.is-active { color: var(--accent-on-ink); }
  .nav.is-open .nav__cta { margin-top: 24px; }
  .nav.is-open .nav__cta a { border: 0; font-size: 1rem; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .header.is-open { background: var(--ink); border-bottom-color: var(--on-ink-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header.is-open .logo, .header.is-open .nav-toggle { position: relative; z-index: 95; }
  .nav.is-open { overflow-y: auto; overscroll-behavior: contain; }   /* small phones: the menu scrolls itself */
  html:has(.header.is-open) { overflow: hidden; }                  /* page behind the open menu stays put */
  .header.is-open .logo__text { color: var(--on-ink); }
  .header.is-open .nav-toggle span { background: var(--on-ink); }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 480px; margin-top: 12px; margin-bottom: 52px; }
  .hero__float { right: 8px; bottom: -64px; }
  .molecule svg { right: -30%; top: auto; bottom: -10%; width: 90%; opacity: .3; }
  .layout, .layout--wide { grid-template-columns: minmax(0, 1fr); }
  .prose, .sidebar { min-width: 0; }
  .sidebar { position: static; }
  .section__head { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .cta .container { grid-template-columns: 1fr; }
  .cta__actions { justify-self: start; }
  .phero__grid { grid-template-columns: 1fr; }
  .phero__side { align-items: flex-start; }
}
@media (max-width: 600px) {
  /* Long shop labels ("View <peptide> at <shop>") are wider than a phone; .cta clips, so let them wrap (3.5.2) */
  .cta .btn, .phero__side .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .card--feature, .post-card--hero { grid-column: span 1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 16px; }
  .stat__label { font-size: 10.5px; letter-spacing: .04em; overflow-wrap: anywhere; hyphens: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .cert { transform: none; }
  .product-box__specs { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rise > *, .reveal { opacity: 1; transform: none; }
  .cert__chart path.peak { stroke-dashoffset: 0; }
}

/* ---------- v3.3 additions ---------- */
.gcard--ink { background: var(--ink); border-color: var(--ink); }
.gcard--ink .gcard__title { color: var(--on-ink); }
.gcard--ink .gcard__desc, .gcard--ink .gcard__time { color: var(--on-ink-muted); }
.gcard--ink .card__link { color: var(--on-ink); }
.gcard--ink .tag { background: rgba(var(--accent-rgb), .18); color: var(--accent-on-ink); }
