/* ==========================================================================
   RWP Laboratories: design system
   Palette taken from the vial labels: deep navy into teal, a mint name panel
   and an amber warning box. Every color token below is rewritten from
   site.config.js `theme` at build time.
   Layout concept: dark laboratory catalog. Asymmetric split hero, bento
   category grid, dense mono spec readouts, residue-bead sequence display.
   Shape rule: panels 16px, controls 10px, buttons + chips fully rounded.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/geist-latin.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('../fonts/montserrat-latin-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('../fonts/montserrat-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/geist-mono-latin.woff2') format('woff2-variations');
}

:root {
  color-scheme: dark;

  /* theme:start (from site.config.js) */
  --bg: #041322;
  --bg-rgb: 4 19 34;
  --bg-2: #061a2d;
  --panel: #08213a;
  --panel-2: #0b2a47;
  --panel-3: #0f3354;
  --line: #123250;
  --line-2: #1b4268;
  --fg: #eef6f6;
  --fg-2: #a8c0c8;
  --fg-3: #7a97a5;
  --accent: #3fbf9a;
  --accent-rgb: 63 191 154;
  --accent-ink: #6fdcae;
  --accent-btn: #167f74;
  --accent-btn-hi: #126b62;
  --btn-from: #1a7d84;
  --btn-to: #27845a;
  --label-from: #2e99a0;
  --label-to: #60b680;
  --brand-from: #043455;
  --brand-mid: #0b4d5e;
  --brand-to: #218270;
  --warn: #e8a33d;
  --ruo: #e8a33d;
  /* theme:end */
  --accent-wash: rgb(var(--accent-rgb) / 0.12);
  --accent-line: rgb(var(--accent-rgb) / 0.4);
  --brand-grad: linear-gradient(105deg, var(--brand-from) 0%, var(--brand-mid) 55%, var(--brand-to) 100%);
  --label-grad: linear-gradient(90deg, var(--label-from), var(--label-to));
  --btn-grad: linear-gradient(90deg, var(--btn-from), var(--btn-to));

  /* Semantic (kept separate from the brand teal) */
  --ok: #4fd18b;
  --danger: #ff6b63;
  --ruo-ink: #f1d9ab;
  --ruo-strong: #fbeacb;
  --ruo-wash: rgba(242, 184, 75, 0.07);
  --ruo-line: rgba(242, 184, 75, 0.3);

  /* Residue classes (sequence beads) */
  --res-nonpolar: #5d6f94;
  --res-aromatic: #c9952f;
  --res-positive: #4f7fe8;
  --res-negative: #e0577a;
  --res-polar: #1fa894;
  --res-modified: #8b6cf0;
  --res-cap: #3a455e;

  /* Type */
  --font-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --font-brand: 'Montserrat', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem);
  --fs-2xl: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --fs-hero: clamp(2.1rem, 1.1rem + 3.4vw, 4.1rem);

  /* Shape + depth */
  --r-panel: 16px;
  --r-ctl: 10px;
  --r-pill: 999px;
  --shadow-panel: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 48px -28px rgba(0, 6, 16, 0.9);
  --shadow-pop: 0 30px 80px -20px rgba(0, 6, 16, 0.95), 0 0 0 1px var(--line-2);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-index scale */
  --z-header: 50;
  --z-drawer: 80;
  --z-modal: 90;
  --z-gate: 100;
  --z-toast: 110;
}

/* ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code, kbd { font-family: var(--font-mono); font-size: 0.92em; }
sub, sup { font-size: 0.7em; line-height: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: var(--z-toast); background: var(--accent-btn); color: #fff; padding: 10px 16px; border-radius: var(--r-ctl); }
.skip-link:focus { top: 12px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-2); }
.tnum { font-variant-numeric: tabular-nums; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 4.5vw, 60px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 68ch; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { display: grid; gap: 14px; max-width: 62ch; }
.h2 { font-family: var(--font-display); font-stretch: 108%; font-weight: 750; font-size: var(--fs-2xl); line-height: 1.05; letter-spacing: -0.02em; }
.h3 { font-family: var(--font-display); font-stretch: 104%; font-weight: 700; font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: var(--fs-md); color: var(--fg-2); max-width: 62ch; }
.eyebrow { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-weight: 550; }
.link-arrow .i { transition: transform 0.3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ── Buttons, chips, badges ─────────────────────────────────────────────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.01em; white-space: nowrap;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease), color 0.25s;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--btn-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px -12px rgb(var(--accent-rgb) / 0.55); }
.btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 36px -10px rgb(var(--accent-rgb) / 0.7); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--fg); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--accent-line); background: var(--accent-wash); }
.btn--block { width: 100%; }
.btn--sm { --h: 38px; padding-inline: 16px; font-size: var(--fs-xs); }
.btn--lg { --h: 56px; padding-inline: 28px; font-size: var(--fs-base); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-pill); color: var(--fg-2); transition: background-color 0.2s, color 0.2s; position: relative; }
.icon-btn:hover { background: var(--panel-2); color: var(--fg); }
.icon-btn .i { width: 21px; height: 21px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding-inline: 14px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--fg-2);
  font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: all 0.2s var(--ease);
}
.chip:hover { color: var(--fg); border-color: var(--accent-line); }
.chip[aria-pressed='true'], .chip.is-active { background: var(--label-grad); color: #fff; border-color: transparent; }
.chip .i { width: 16px; height: 16px; }
.chip .count { font-family: var(--font-mono); font-size: 0.72rem; opacity: 0.65; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding-inline: 10px; border-radius: var(--r-pill); font-size: 0.7rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
.badge--sale { background: var(--label-grad); color: #fff; text-shadow: 0 1px 1px rgba(0, 40, 40, 0.35); }
.badge--soft { background: var(--panel-3); color: var(--fg-2); }
.badge--ok { background: rgba(60, 207, 145, 0.12); color: var(--ok); }
.badge--warn { background: rgba(242, 184, 75, 0.12); color: var(--warn); }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cat, var(--accent)); flex: none; }

/* ── Announcement + header ──────────────────────────────────────────────── */
.announce { background: var(--brand-grad); color: #fff; font-size: var(--fs-xs); letter-spacing: 0.02em; }
.announce__inner { height: 36px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.announce__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); text-align: center; padding-inline: 16px; }
.announce__item.is-on { opacity: 1; transform: none; }
.announce__item .i { width: 15px; height: 15px; color: rgba(255, 255, 255, 0.85); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-header); background: rgb(var(--bg-rgb) / 0.8); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--line); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 34px; height: auto; aspect-ratio: 172 / 184; object-fit: contain; }
.brand__name { display: grid; line-height: 1; font-family: var(--font-brand); color: #fff; }
.brand__name b { font-weight: 800; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand__name small { font-weight: 600; font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 3px; color: rgba(255, 255, 255, 0.86); }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav__item { position: static; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 14px; border-radius: var(--r-pill); color: var(--fg-2); font-size: var(--fs-sm); font-weight: 550; transition: color 0.2s, background-color 0.2s; }
.nav__link:hover, .nav__link[aria-expanded='true'], .nav__link[aria-current='page'] { color: var(--fg); background: var(--panel-2); }
.nav__link .i { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav__link[aria-expanded='true'] .i { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.search-trigger { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding-inline: 14px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--fg-3); font-size: var(--fs-sm); min-width: 220px; transition: border-color 0.2s; margin-right: 6px; }
.search-trigger:hover { border-color: var(--accent-line); color: var(--fg-2); }
.search-trigger kbd { margin-left: auto; font-size: 0.7rem; padding: 2px 6px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--fg-3); }
.cart-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 9px; background: var(--accent-btn); color: #fff; font-size: 0.66rem; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; transform: scale(0); transition: transform 0.3s var(--ease); }
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding-block: 32px 36px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mega__cat { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--r-ctl); transition: background-color 0.2s; }
.mega__cat:hover { background: var(--panel-2); }
.mega__cat .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--cat) 16%, transparent); color: var(--cat); flex: none; }
.mega__cat .ico .i { width: 20px; height: 20px; }
.mega__cat strong { display: block; font-size: var(--fs-sm); font-weight: 600; }
.mega__cat small { display: block; color: var(--fg-3); font-size: var(--fs-xs); line-height: 1.45; margin-top: 2px; }
.mega__side { display: grid; gap: 12px; align-content: start; }
.mega__feature { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-panel); background: linear-gradient(135deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); transition: border-color 0.2s; }
.mega__feature:hover { border-color: var(--accent-line); }
.mega__feature img { width: 96px; height: 96px; object-fit: contain; }
.mega__feature strong { font-family: var(--font-display); font-stretch: 106%; font-size: var(--fs-md); display: block; }
.mega__feature span { font-size: var(--fs-xs); color: var(--fg-2); }
.mega__links { display: grid; gap: 2px; }
.mega__links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-ctl); color: var(--fg-2); font-size: var(--fs-sm); }
.mega__links a:hover { background: var(--panel-2); color: var(--fg); }
.mega__links .i { color: var(--accent-ink); }
.mega--compact .mega__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: var(--z-drawer); display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.mobile-nav__panel { position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 16px) 20px calc(env(safe-area-inset-bottom, 0px) + 24px); overflow-y: auto; animation: slideInL 0.35s var(--ease); }
@keyframes slideInL { from { transform: translateX(-100%); } }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav h3 { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin: 20px 0 8px; }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a .i { color: var(--cat, var(--accent-ink)); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(60% 70% at 78% 40%, rgb(var(--accent-rgb) / 0.24), transparent 70%),
    radial-gradient(55% 60% at 100% 100%, color-mix(in srgb, var(--brand-to) 45%, transparent), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, color-mix(in srgb, var(--brand-from) 80%, transparent), transparent 70%),
    var(--bg); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.3L28 64.7 0 48.5V16.2zM28 97V64.7' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3C/svg%3E"); mask-image: radial-gradient(80% 80% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(80% 80% at 70% 40%, #000 20%, transparent 75%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.8; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.hero__copy { display: grid; gap: 26px; align-content: center; }
.hero__title { font-family: var(--font-display); font-stretch: 106%; font-weight: 820; font-size: var(--fs-hero); line-height: 0.96; letter-spacing: -0.025em; text-transform: uppercase; }
.hero__line { display: block; }
.hero__title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--accent-ink); }
.hero__sub { font-size: var(--fs-md); color: var(--fg-2); max-width: 46ch; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__art { position: relative; aspect-ratio: 1 / 0.92; max-width: 100%; }
.hero__ring { position: absolute; inset: 6% 8%; border-radius: 50%; border: 1px solid rgb(var(--accent-rgb) / 0.2); }
.hero__ring::before { content: ''; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgb(var(--accent-rgb) / 0.16); animation: spin 90s linear infinite; }
.hero__ring::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(from 200deg, transparent 0 70%, rgb(var(--accent-rgb) / 0.75) 85%, transparent 100%); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__vial { position: absolute; width: 34%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.hero__vial--main { left: 33%; top: 4%; width: 38%; z-index: 3; animation: float 7s ease-in-out infinite; }
.hero__vial--l { left: 6%; top: 22%; width: 30%; z-index: 2; animation: float 8s ease-in-out -2s infinite; }
.hero__vial--r { right: 4%; top: 24%; width: 30%; z-index: 2; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero__plinth { position: absolute; left: 10%; right: 10%; bottom: 3%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.35), transparent); filter: blur(10px); }
.hero__spec { position: absolute; z-index: 4; display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r-ctl); background: color-mix(in srgb, var(--panel) 84%, transparent); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--font-mono); font-size: 0.7rem; color: var(--fg-2); }
.hero__spec b { color: var(--fg); font-weight: 600; font-size: 0.82rem; }
.hero__spec--a { left: -2%; bottom: 3%; }
.hero__spec--b { right: 0; top: 8%; }

/* ── Trust strip ─────────────────────────────────────────────────────────── */
.trust { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item .i { width: 26px; height: 26px; color: var(--accent-ink); margin-top: 2px; }
.trust__item strong { display: block; font-size: var(--fs-sm); font-weight: 650; }
.trust__item span { display: block; font-size: var(--fs-xs); color: var(--fg-3); line-height: 1.5; margin-top: 2px; }

/* ── Marquee (one per page) ──────────────────────────────────────────────── */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: -0.005em; transition: color 0.2s; white-space: nowrap; }
.marquee a:hover { color: var(--fg); }
.marquee a .mw { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0; color: var(--fg-3); opacity: 0.7; text-transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Bento: research areas ───────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 14px; }
.tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); transition: border-color 0.3s var(--ease), transform 0.4s var(--ease); }
.tile:hover { border-color: color-mix(in srgb, var(--cat) 50%, transparent); transform: translateY(-3px); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--cat) 22%, transparent), transparent 65%); opacity: 0.8; transition: opacity 0.3s; }
.tile:hover::before { opacity: 1; }
.tile__top { display: flex; align-items: center; gap: 14px; }
.tile__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--cat) 16%, transparent); color: var(--cat); border: 1px solid color-mix(in srgb, var(--cat) 30%, transparent); }
.tile__ico .i { width: 24px; height: 24px; }
.tile__count { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--fg-3); }
.tile h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 750; font-size: var(--fs-lg); letter-spacing: -0.01em; line-height: 1.15; }
.tile p { color: var(--fg-2); font-size: var(--fs-sm); margin-top: 6px; }
.tile__go { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--cat); }
.tile__go .i { transition: transform 0.3s var(--ease); }
.tile:hover .tile__go .i { transform: translateX(4px); }
.tile--big { grid-column: span 2; grid-row: span 2; padding: 32px; }
.tile--big > div:not(.tile__top) { max-width: 54%; }
.tile--wide > div:not(.tile__top) { max-width: 68%; }
.tile--big h3 { font-size: var(--fs-2xl); line-height: 1.02; max-width: 12ch; }
.tile--big p { font-size: var(--fs-base); max-width: 40ch; }
.tile--wide { grid-column: span 2; }
.tile__art { position: absolute; right: -1%; bottom: -10%; width: 44%; z-index: -1; opacity: 0.95; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); transition: transform 0.6s var(--ease); }
.tile:hover .tile__art { transform: translateY(-8px) rotate(-2deg); }
.tile--wide .tile__art { width: 19%; right: 4%; bottom: -34%; }
.tile__names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tile__names span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--fg-2); padding: 3px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); }

/* ── Product grid + card ─────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.3s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.card__media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 55%, color-mix(in srgb, var(--cat) 26%, transparent), transparent 72%), linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; }
.card__media img { width: 62%; height: 86%; object-fit: contain; transition: transform 0.6s var(--ease); }
.card__media--stack img { width: 92%; }
.card:hover .card__media img { transform: translateY(-6px) scale(1.03); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card__cat { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--fg-3); font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.card__title { font-family: var(--font-display); font-stretch: 106%; font-weight: 720; font-size: 1.12rem; line-height: 1.2; letter-spacing: -0.005em; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__desc { font-size: var(--fs-xs); color: var(--fg-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; gap: 12px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--fg-3); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price__now { font-weight: 700; font-size: var(--fs-md); }
.price__was { color: var(--fg-3); text-decoration: line-through; font-size: var(--fs-sm); }
.price__from { color: var(--fg-3); font-size: var(--fs-xs); }
.card .btn { position: relative; z-index: 2; }
.card__add { width: 42px; height: 42px; padding: 0; }
.card__add .i { width: 18px; height: 18px; }

/* ── Quality process (sticky split) ──────────────────────────────────────── */
.process { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process__intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.process__steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--accent-line); color: var(--accent-ink); font-family: var(--font-mono); font-size: var(--fs-sm); background: var(--accent-wash); }
.step h3 { font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: var(--fs-md); margin-bottom: 6px; }
.step p { color: var(--fg-2); font-size: var(--fs-sm); max-width: 56ch; }
.step__tag { display: inline-flex; margin-top: 10px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--fg-3); }

/* ── Stack band ──────────────────────────────────────────────────────────── */
.stack-band { position: relative; overflow: hidden; border-radius: calc(var(--r-panel) + 8px); background: radial-gradient(80% 140% at 0% 0%, rgb(var(--accent-rgb) / 0.18), transparent 60%), var(--brand-grad); border: 1px solid var(--line-2); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 32px; align-items: center; }
.stack-band__copy { display: grid; gap: 18px; align-content: start; }
.stack-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 38%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; mask-image: linear-gradient(90deg, #000 82%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 40px; }
.stack-rail > * { scroll-snap-align: start; }
.stack-mini { position: relative; display: grid; gap: 8px; padding: 16px; border-radius: var(--r-panel); background: rgb(var(--bg-rgb) / 0.55); border: 1px solid var(--line-2); transition: border-color 0.3s; }
.stack-mini:hover { border-color: var(--accent-line); }
.stack-mini img { width: 100%; aspect-ratio: 560 / 448; object-fit: contain; }
.stack-mini strong { font-family: var(--font-display); font-stretch: 106%; font-size: var(--fs-base); }
.stack-mini span { font-size: var(--fs-xs); color: var(--fg-2); }
.stack-mini a::after { content: ''; position: absolute; inset: 0; }

/* ── Articles ────────────────────────────────────────────────────────────── */
.posts { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.posts__list { display: grid; gap: 14px; }
.post { position: relative; display: grid; gap: 12px; padding: 24px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); transition: border-color 0.3s; }
.post:hover { border-color: var(--accent-line); }
.post a::after { content: ''; position: absolute; inset: 0; }
.post__meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.7rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.post__meta .topic { color: var(--accent-ink); }
.post h3 { font-family: var(--font-display); font-stretch: 104%; font-weight: 700; font-size: var(--fs-lg); line-height: 1.2; }
.post p { color: var(--fg-2); font-size: var(--fs-sm); }
.post--feature { padding: 32px; align-content: end; min-height: 380px; background: radial-gradient(80% 90% at 100% 0%, rgb(var(--accent-rgb) / 0.2), transparent 60%), linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; }
.post--feature h3 { font-size: var(--fs-xl); max-width: 22ch; }
.post--feature .post__glyph { position: absolute; top: 24px; right: 24px; width: 46%; opacity: 0.55; color: var(--accent-ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* ── Tools band ──────────────────────────────────────────────────────────── */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.tool { position: relative; display: grid; gap: 12px; padding: 28px; border-left: 1px solid var(--line); background: var(--bg-2); transition: background-color 0.3s; }
.tool:first-child { border-left: 0; }
.tool:hover { background: var(--panel); }
.tool .i { width: 30px; height: 30px; color: var(--accent-ink); }
.tool h3 { font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: var(--fs-md); }
.tool p { color: var(--fg-2); font-size: var(--fs-sm); }
.tool a::after { content: ''; position: absolute; inset: 0; }

/* ── FAQ accordion ───────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; color: var(--fg-3); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--accent-ink); }
.faq .faq__a { padding: 0 22px 22px; color: var(--fg-2); max-width: 75ch; }
.faq .faq__a a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-split__intro { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 40px); }

/* ── Newsletter ──────────────────────────────────────────────────────────── */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--r-panel) + 8px); border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--panel), var(--bg-2)); }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup .field { flex: 1 1 240px; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.field { display: grid; gap: 8px; align-content: start; }
.field .err:empty { display: none; }
.field label, .label { font-size: var(--fs-sm); font-weight: 550; color: var(--fg); }
.field .hint { font-size: var(--fs-xs); color: var(--fg-3); }
.field .err { font-size: var(--fs-xs); color: var(--danger); min-height: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-ctl);
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--danger); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23a9b4ca'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--fs-sm); color: var(--fg-2); cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; margin: 1px 0 0; cursor: pointer; transition: all 0.2s; }
.check input:checked { background: var(--accent-btn); border-color: var(--accent-btn); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: span 2; }
.form-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--accent-wash); border: 1px solid var(--accent-line); color: var(--fg-2); font-size: var(--fs-sm); }
.form-note .i { color: var(--accent-ink); margin-top: 2px; }
.form-status { font-size: var(--fs-sm); }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--danger); }

/* ── Page header + breadcrumbs ───────────────────────────────────────────── */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 64px) clamp(32px, 4vw, 52px); background: radial-gradient(60% 120% at 85% 0%, color-mix(in srgb, var(--cat, var(--accent)) 22%, transparent), transparent 60%), var(--bg); }
.page-head__inner { display: grid; gap: 16px; max-width: 74ch; }
.page-head h1 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: var(--fs-2xl); line-height: 1.02; letter-spacing: -0.02em; }
.page-head .lede { font-size: var(--fs-md); }
.page-head__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--cat, var(--accent)) 16%, transparent); color: var(--cat, var(--accent)); border: 1px solid color-mix(in srgb, var(--cat, var(--accent)) 30%, transparent); }
.page-head__icon .i { width: 28px; height: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--fg-3); }
.crumbs a:hover { color: var(--fg); }
.crumbs .i { width: 12px; height: 12px; }
.crumbs [aria-current] { color: var(--fg-2); }

/* ── Shop toolbar ────────────────────────────────────────────────────────── */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.toolbar__chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; max-width: 100%; }
.toolbar__chips::-webkit-scrollbar { display: none; }
.toolbar__right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar__search { position: relative; }
.toolbar__search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fg-3); width: 16px; height: 16px; }
.toolbar__search .input { padding-left: 40px; min-height: 42px; width: 240px; border-radius: var(--r-pill); }
.toolbar .select { min-height: 42px; width: auto; border-radius: var(--r-pill); }
.result-count { font-size: var(--fs-sm); color: var(--fg-3); font-family: var(--font-mono); }
.empty { display: grid; place-items: center; gap: 14px; text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-panel); color: var(--fg-2); }
.empty .i { width: 40px; height: 40px; color: var(--fg-3); }

/* ── Product detail ──────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: 28px 64px; }
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__stage { position: relative; aspect-ratio: 1 / 1; border-radius: calc(var(--r-panel) + 6px); overflow: hidden; display: grid; place-items: center; background: radial-gradient(60% 55% at 50% 55%, color-mix(in srgb, var(--cat) 30%, transparent), transparent 72%), linear-gradient(180deg, var(--panel-2), var(--bg-2)); border: 1px solid var(--line); }
.pdp__stage::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.3L28 64.7 0 48.5V16.2zM28 97V64.7' fill='none' stroke='%23ffffff' stroke-opacity='.04'/%3E%3C/svg%3E"); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.pdp__stage img { position: relative; width: 52%; height: 84%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6)); }
.pdp__stage--stack img { width: 88%; }
.pdp__stage .card__badges { top: 18px; left: 18px; }
.pdp__readout { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 3px; text-align: right; font-family: var(--font-mono); font-size: 0.7rem; color: var(--fg-3); }
.pdp__readout b { color: var(--fg-2); font-weight: 500; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pdp__fact { padding: 14px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 2px; }
.pdp__fact span { font-size: 0.68rem; color: var(--fg-3); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.pdp__fact b { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-sm); overflow-wrap: anywhere; }

.buybox { display: grid; gap: 22px; }
.buybox__cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--cat); }
.buybox h1 { font-family: var(--font-display); font-stretch: 112%; font-weight: 820; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.buybox__aka { font-size: var(--fs-sm); color: var(--fg-3); }
.buybox__tag { font-size: var(--fs-md); color: var(--fg-2); }
.buybox .price__now { font-size: 1.9rem; font-family: var(--font-display); font-stretch: 105%; font-weight: 750; }
.buybox__row { display: grid; gap: 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: grid; gap: 1px; min-width: 96px; padding: 10px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: var(--bg-2); text-align: center; transition: all 0.2s; }
.size span b { font-weight: 650; font-size: var(--fs-sm); }
.size span small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--fg-3); }
.size input:checked + span { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 1px var(--accent) inset; }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy-row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--bg-2); flex: none; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--fg-2); }
.qty button:hover { color: var(--fg); }
.qty input { width: 40px; text-align: center; background: none; border: 0; font-variant-numeric: tabular-nums; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 36px; }
.qty--sm button { width: 32px; }
.qty--sm input { width: 28px; font-size: var(--fs-sm); }
.buy-row .btn { flex: 1; }
.assurances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.assurance { display: grid; gap: 6px; padding: 14px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--fg-2); }
.assurance .i { width: 20px; height: 20px; color: var(--accent-ink); }
.assurance b { color: var(--fg); font-size: var(--fs-sm); font-weight: 600; }
.ruo-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--ruo-wash); border: 1px solid var(--ruo-line); color: var(--ruo-ink); font-size: var(--fs-xs); line-height: 1.55; }
.ruo-box .i { color: var(--ruo); width: 20px; height: 20px; margin-top: 1px; }
.ruo-box strong { color: var(--ruo-strong); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--ok); }
/* No color-mix(currentColor) here: it crashes Safari 16's renderer. */
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(60, 207, 145, 0.2); }
.stock--pre { color: var(--warn); }
.stock--pre::before { box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.2); }
.stock--out { color: var(--fg-3); }
.stock--out::before { box-shadow: 0 0 0 4px rgba(135, 131, 132, 0.2); }
.includes { display: grid; gap: 8px; }
.includes a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); }
.includes a:hover { border-color: var(--line-2); }
.includes img { width: 34px; height: 46px; object-fit: contain; }
.includes span { font-size: var(--fs-sm); font-weight: 600; }
.includes small { margin-left: auto; font-family: var(--font-mono); color: var(--fg-3); font-size: var(--fs-xs); }

/* PDP sections */
.pdp-nav { position: sticky; top: var(--header-h); z-index: 10; background: rgb(var(--bg-rgb) / 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.pdp-nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pdp-nav__inner::-webkit-scrollbar { display: none; }
.pdp-nav a { flex: none; padding: 16px 14px; font-size: var(--fs-sm); color: var(--fg-3); border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.pdp-nav a:hover { color: var(--fg); }
.pdp-nav a.is-active { color: var(--fg); border-color: var(--accent); }
.pdp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); padding-block: 56px 24px; }
.pdp-main { display: grid; gap: 72px; min-width: 0; }
.pdp-section { display: grid; gap: 22px; scroll-margin-top: calc(var(--header-h) + 72px); }
.pdp-section > h2 { font-family: var(--font-display); font-stretch: 108%; font-weight: 750; font-size: var(--fs-xl); letter-spacing: -0.015em; }
.prose-lg { display: grid; gap: 16px; font-size: var(--fs-md); color: var(--fg-2); max-width: 70ch; }
.prose-lg strong { color: var(--fg); }
.mech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mech__item { display: grid; gap: 8px; padding: 20px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.mech__item h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-base); font-weight: 650; }
.mech__item h3 .i { color: var(--cat); width: 18px; height: 18px; }
.mech__item p { font-size: var(--fs-sm); color: var(--fg-2); }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.area { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); }
.area .i { color: var(--cat); width: 20px; height: 20px; margin-top: 2px; }
.area b { display: block; font-weight: 600; }
.area span { font-size: var(--fs-sm); color: var(--fg-2); }

.spec-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.spec-tile { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.spec-tile span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.spec-tile b { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; overflow-wrap: anywhere; line-height: 1.35; }
.spec-tile small { color: var(--fg-3); font-size: var(--fs-xs); }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.spec-list dt { color: var(--fg-3); }
.spec-list dd { margin: 0; text-align: right; font-family: var(--font-mono); font-size: 0.82rem; overflow-wrap: anywhere; }

/* Sequence beads */
.seq { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-panel); background: var(--bg-2); border: 1px solid var(--line); }
.seq__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.seq__head b { font-weight: 600; }
.seq__head span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--fg-3); }
.seq__chain { display: flex; flex-wrap: wrap; gap: 6px 0; align-items: center; }
.bead { --c: var(--res-nonpolar); position: relative; display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding-inline: 6px; border-radius: 17px; background: color-mix(in srgb, var(--c) 22%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--c) 70%, transparent); color: var(--fg); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; cursor: default; }
.bead + .bead { margin-left: 10px; }
.bead + .bead::before { content: ''; position: absolute; right: 100%; top: 50%; width: 10px; height: 2px; background: var(--line-2); }
.bead:hover { background: color-mix(in srgb, var(--c) 45%, var(--bg-2)); }
.bead--nonpolar { --c: var(--res-nonpolar); }
.bead--aromatic { --c: var(--res-aromatic); }
.bead--positive { --c: var(--res-positive); }
.bead--negative { --c: var(--res-negative); }
.bead--polar { --c: var(--res-polar); }
.bead--modified { --c: var(--res-modified); }
.bead--cap { --c: var(--res-cap); font-weight: 500; color: var(--fg-2); }
.bead[data-pos]::after { content: attr(data-pos); position: absolute; top: -16px; font-size: 0.58rem; color: var(--fg-3); font-weight: 400; }
.seq__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-xs); color: var(--fg-3); }
.seq__legend span { display: inline-flex; align-items: center; gap: 6px; }
.seq__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.seq__note { font-size: var(--fs-xs); color: var(--fg-2); }
.seq__chain .seq__brk { flex-basis: 100%; height: 12px; }

.handling { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.handling > div { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.handling .i { width: 26px; height: 26px; color: var(--accent-ink); }
.handling b { font-weight: 650; }
.handling p { font-size: var(--fs-sm); color: var(--fg-2); }
.supplied { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 20px 14px; }
.supplied > div { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-content: start; padding: 18px 20px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.supplied .i { width: 22px; height: 22px; color: var(--accent-ink); grid-row: span 2; margin-top: 1px; }
.supplied > div:last-child .i { color: var(--warn); }
.supplied b { font-weight: 650; }
.supplied p { font-size: var(--fs-sm); color: var(--fg-2); }
.supplied a { color: var(--accent-ink); }

.refs { display: grid; gap: 0; counter-reset: ref; }
.refs li { list-style: none; counter-increment: ref; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--fg-2); }
.refs li::before { content: '[' counter(ref) ']'; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--fg-3); padding-top: 2px; }
.refs cite { font-style: normal; color: var(--fg); }
.refs em { color: var(--fg-3); font-style: italic; }
.refs a { color: var(--accent-ink); font-size: var(--fs-xs); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.refs-more { display: inline-flex; gap: 8px; align-items: center; color: var(--accent-ink); font-size: var(--fs-sm); }

.aside-card { position: sticky; top: calc(var(--header-h) + 80px); display: grid; gap: 16px; padding: 22px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.aside-card__row { display: flex; align-items: center; gap: 14px; }
.aside-card__row img { width: 56px; height: 72px; object-fit: contain; }
.aside-card__row b { font-family: var(--font-display); font-stretch: 106%; font-size: var(--fs-md); display: block; }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
.aside-card ul { display: grid; gap: 10px; list-style: none; font-size: var(--fs-sm); color: var(--fg-2); }
.aside-card li { display: flex; gap: 10px; align-items: flex-start; }
.aside-card li .i { color: var(--ok); margin-top: 3px; width: 16px; height: 16px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail > * { scroll-snap-align: start; }

/* ── Prose (articles + legal) ────────────────────────────────────────────── */
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-block: 48px 72px; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 14px; }
.toc b { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--fs-sm); color: var(--fg-3); line-height: 1.4; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--fg); }
.toc a.is-active { color: var(--fg); border-color: var(--accent); }
.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.75; color: var(--fg-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--font-display); font-stretch: 106%; font-weight: 720; font-size: var(--fs-xl); line-height: 1.2; color: var(--fg); letter-spacing: -0.01em; margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: var(--fs-md); color: var(--fg); margin-top: 1.8em; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--accent-ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose li::marker { color: var(--accent-ink); }
.prose code { background: var(--panel-2); border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 6px; color: var(--fg); overflow-wrap: anywhere; }
.prose .callout { padding: 18px 20px; border-radius: var(--r-ctl); background: var(--accent-wash); border: 1px solid var(--accent-line); font-size: var(--fs-sm); line-height: 1.65; }
.prose .takeaways { display: grid; gap: 10px; }
.prose .takeaways strong { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 500; }
.prose .takeaways ul { gap: 6px; }
.prose .refs { padding-left: 0; }
.prose .refs li { font-size: var(--fs-sm); }
.prose .refs a { text-decoration: none; }
.prose .formula { font-family: var(--font-mono); font-size: 0.92rem; padding: 14px 18px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); color: var(--fg); overflow-x: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
.prose th, .prose td, .table th, .table td { text-align: left; padding: 12px 16px; vertical-align: top; }
.prose thead th, .table thead th { background: var(--panel); color: var(--fg); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: uppercase; }
.prose tbody tr + tr td, .table tbody tr + tr td { border-top: 1px solid var(--line); }
.article-head { display: grid; gap: 18px; max-width: 70ch; }
.article-head h1 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: var(--fs-2xl); line-height: 1.05; letter-spacing: -0.02em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--fg-3); }
.article-meta .i { width: 14px; height: 14px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: calc(var(--z-header) + 1); background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ── COA table ───────────────────────────────────────────────────────────── */
.coa-table td:first-child { min-width: 220px; }
.coa-prod { display: flex; align-items: center; gap: 12px; }
.coa-prod img { width: 30px; height: 40px; object-fit: contain; }
.coa-prod a { font-weight: 600; color: var(--fg); }
.coa-prod a:hover { color: var(--accent-ink); }
.coa-status { white-space: nowrap; }
.coa-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.coa-doc { position: relative; padding: 24px; border-radius: var(--r-panel); background: #f4f6fb; color: #0b1222; box-shadow: var(--shadow-pop); font-size: 0.78rem; display: grid; gap: 14px; }
.coa-doc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 2px solid #0b1222; padding-bottom: 12px; }
.coa-doc__head b { font-family: var(--font-display); font-stretch: 110%; font-size: 1.05rem; text-transform: uppercase; }
.coa-doc__stamp { font-family: var(--font-mono); font-size: 0.64rem; padding: 4px 8px; border: 1.5px solid #1a7f4b; color: #1a7f4b; border-radius: 4px; transform: rotate(-4deg); font-weight: 700; }
.coa-doc dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-family: var(--font-mono); }
.coa-doc dt { color: #4a556c; }
.coa-doc dd { margin: 0; }
.coa-doc svg { width: 100%; height: auto; }
.coa-doc__label { position: absolute; top: -12px; right: 16px; background: var(--warn); color: #1a1205; font-size: 0.66rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); letter-spacing: 0.04em; text-transform: uppercase; }
.anno { display: grid; gap: 12px; counter-reset: anno; }
.anno li { list-style: none; counter-increment: anno; display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: var(--fs-sm); color: var(--fg-2); }
.anno li::before { content: counter(anno); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-btn); color: #fff; font-size: 0.75rem; font-weight: 700; }
.anno b { color: var(--fg); }

/* ── Glossary ────────────────────────────────────────────────────────────── */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; position: sticky; top: var(--header-h); padding-block: 12px; background: rgb(var(--bg-rgb) / 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 5; }
.az a, .az span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-ctl); font-family: var(--font-mono); font-size: var(--fs-sm); border: 1px solid var(--line-2); }
.az a:hover { border-color: var(--accent); color: var(--accent-ink); }
.az span { color: var(--fg-3); opacity: 0.4; }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.term { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 80px); }
.term dt { font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: var(--fs-md); }
.term dd { margin: 0; color: var(--fg-2); font-size: var(--fs-sm); }
.term__see { display: flex; flex-wrap: wrap; gap: 6px; }
.term__see a { font-size: var(--fs-xs); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--fg-2); }
.term__see a:hover { color: var(--accent-ink); border-color: var(--accent-line); }
.letter { font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: var(--fs-2xl); color: var(--fg-3); margin: 32px 0 12px; scroll-margin-top: calc(var(--header-h) + 80px); }

/* ── Generic split + value grid (about, wholesale, partners) ─────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.value { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.value .i { width: 26px; height: 26px; color: var(--accent-ink); }
.value b { font-family: var(--font-display); font-stretch: 106%; font-size: var(--fs-md); font-weight: 700; }
.value p { color: var(--fg-2); font-size: var(--fs-sm); }
.tiers { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.tier { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-top: 1px solid var(--line); background: var(--panel); }
.tier:first-child { border-top: 0; }
.tier b { font-family: var(--font-display); font-stretch: 110%; font-size: var(--fs-lg); color: var(--accent-ink); font-weight: 750; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.flow__step { display: grid; gap: 12px; padding: 24px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.flow__step .step__n { margin-bottom: 4px; }
.flow__step b { font-family: var(--font-display); font-stretch: 106%; font-size: var(--fs-md); }
.flow__step p { color: var(--fg-2); font-size: var(--fs-sm); }
.big-stat { display: grid; gap: 6px; }
.big-stat b { font-family: var(--font-display); font-stretch: 120%; font-size: clamp(2.6rem, 2rem + 3vw, 4rem); font-weight: 820; line-height: 1; color: var(--fg); letter-spacing: -0.03em; }
.big-stat span { color: var(--fg-2); font-size: var(--fs-sm); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 32px; border-block: 1px solid var(--line); }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.contact-card .i { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 2px; }
.contact-card b { display: block; font-size: var(--fs-sm); }
.contact-card span, .contact-card a { color: var(--fg-2); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent-ink); }
.panel { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }

/* ── Cart page + checkout ────────────────────────────────────────────────── */
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: 40px 72px; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; padding: 24px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.summary h2 { font-family: var(--font-display); font-stretch: 106%; font-size: var(--fs-lg); font-weight: 720; }
.summary__lines { display: grid; gap: 10px; font-size: var(--fs-sm); }
.summary__lines div { display: flex; justify-content: space-between; gap: 12px; }
.summary__lines dt { color: var(--fg-2); }
.summary__lines dd { margin: 0; font-variant-numeric: tabular-nums; }
.summary__total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: var(--fs-md); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.fieldset legend { font-family: var(--font-display); font-stretch: 106%; font-size: var(--fs-lg); font-weight: 720; margin-bottom: 4px; padding: 0; }
.checkout-form { display: grid; gap: 36px; }

/* ── Cart drawer ─────────────────────────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); opacity: 0; transition: opacity 0.35s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s var(--ease); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--font-display); font-stretch: 108%; font-size: var(--fs-lg); font-weight: 750; display: flex; align-items: center; gap: 10px; }
.drawer__head h2 small { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--fg-3); font-weight: 400; }
.drawer__ship { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--fg-2); display: grid; gap: 8px; }
.drawer__ship b { color: var(--fg); }
.meter { height: 4px; border-radius: 2px; background: var(--panel-3); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-btn), var(--accent-ink)); border-radius: 2px; transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { width: 64px; height: 76px; border-radius: var(--r-ctl); background: var(--panel); display: grid; place-items: center; overflow: hidden; }
.line__img img { width: 80%; height: 90%; object-fit: contain; }
.line__name { font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.line__name:hover { color: var(--accent-ink); }
.line__size { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--fg-3); margin: 2px 0 10px; }
.line__right { display: grid; justify-items: end; gap: 10px; }
.line__price { font-weight: 650; font-variant-numeric: tabular-nums; font-size: var(--fs-sm); }
.line__rm { color: var(--fg-3); font-size: var(--fs-xs); display: inline-flex; align-items: center; gap: 4px; }
.line__rm:hover { color: var(--danger); }
.line__rm .i { width: 14px; height: 14px; }
.drawer__foot { padding: 18px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--bg); }
.drawer__total { display: flex; justify-content: space-between; font-weight: 700; font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.drawer__fine { font-size: var(--fs-xs); color: var(--fg-3); text-align: center; }
.drawer__empty { display: grid; place-items: center; text-align: center; gap: 14px; padding: 56px 16px; color: var(--fg-2); }
.drawer__empty .i { width: 44px; height: 44px; color: var(--fg-3); }
.drawer__empty .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }

/* ── Search modal ────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; }
.modal.is-open { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade 0.25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.search { position: relative; margin: calc(env(safe-area-inset-top, 0px) + 10vh) auto 0; width: min(680px, calc(100vw - 32px)); border-radius: var(--r-panel); background: var(--bg-2); box-shadow: var(--shadow-pop); overflow: hidden; animation: pop 0.3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.search__bar .i { color: var(--fg-3); width: 20px; height: 20px; }
.search__bar input { flex: 1; height: 60px; background: none; border: 0; font-size: var(--fs-md); outline: none; }
.search__bar kbd { font-size: 0.7rem; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--fg-3); }
.search__results { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; }
.search__group { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); padding: 12px 12px 6px; }
.search__hit { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: var(--r-ctl); }
.search__hit[aria-selected='true'], .search__hit:hover { background: var(--panel-2); }
.search__hit .thumb { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--panel); color: var(--accent-ink); overflow: hidden; }
.search__hit .thumb img { width: 70%; height: 90%; object-fit: contain; }
.search__hit b { display: block; font-size: var(--fs-sm); font-weight: 600; }
.search__hit small { display: block; font-size: var(--fs-xs); color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46ch; }
.search__hit mark { background: none; color: var(--accent-ink); }
.search__hit .kind { font-family: var(--font-mono); font-size: 0.66rem; color: var(--fg-3); }
.search__empty { padding: 32px 16px; text-align: center; color: var(--fg-3); font-size: var(--fs-sm); }
.search__foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 0.7rem; color: var(--fg-3); }
.search__foot kbd { font-size: 0.66rem; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line-2); }

/* ── Age gate ────────────────────────────────────────────────────────────── */
.gate { position: fixed; inset: 0; z-index: var(--z-gate); display: grid; place-items: center; padding: 16px; background: radial-gradient(60% 60% at 50% 40%, rgb(var(--accent-rgb) / 0.2), transparent 70%), rgb(var(--bg-rgb) / 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gate__card { width: min(460px, 100%); display: grid; gap: 20px; justify-items: center; text-align: center; padding: 36px 28px 28px; border-radius: calc(var(--r-panel) + 6px); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); animation: pop 0.4s var(--ease); }
.gate__mark { width: 60px; height: auto; aspect-ratio: 172 / 184; object-fit: contain; }
.gate h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: var(--fs-xl); line-height: 1.1; }
.gate p { color: var(--fg-2); font-size: var(--fs-sm); }
.gate p a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.gate__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; width: 100%; }
.gate__denied { display: none; color: var(--danger); font-size: var(--fs-sm); }
.gate.is-denied .gate__denied { display: block; }
.gate.is-denied .gate__actions { display: none; }

/* ── Toast + cookie ──────────────────────────────────────────────────────── */
.toasts { position: fixed; z-index: var(--z-toast); left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--panel-3); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); font-size: var(--fs-sm); pointer-events: auto; animation: toastIn 0.4s var(--ease); }
.toast img { width: 28px; height: 36px; object-fit: contain; }
.toast .i { color: var(--ok); }
.toast button { margin-left: auto; color: var(--accent-ink); font-weight: 600; font-size: var(--fs-xs); }
.toast.is-leaving { animation: toastOut 0.3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }
.cookie { position: fixed; z-index: var(--z-toast); left: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); width: min(400px, calc(100vw - 32px)); padding: 18px; border-radius: var(--r-panel); background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); display: grid; gap: 12px; font-size: var(--fs-sm); color: var(--fg-2); }
.cookie__actions { display: flex; gap: 8px; }

/* ── RUO bar + footer ────────────────────────────────────────────────────── */
.ruo-bar { border-top: 1px solid var(--ruo-line); background: var(--ruo-wash); }
.ruo-bar__inner { display: flex; gap: 14px; align-items: flex-start; padding-block: 18px; font-size: var(--fs-xs); color: var(--ruo-ink); line-height: 1.6; }
.ruo-bar .i { color: var(--ruo); width: 22px; height: 22px; flex: none; margin-top: 1px; }
.ruo-bar strong { color: var(--ruo-strong); font-weight: 650; }
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 64px 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__brand { display: grid; gap: 16px; align-content: start; max-width: 36ch; }
.footer__brand p { font-size: var(--fs-sm); color: var(--fg-2); }
.footer__col h3 { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; margin-bottom: 14px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { font-size: var(--fs-sm); color: var(--fg-2); transition: color 0.2s; }
.footer__col a:hover { color: var(--fg); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: var(--fs-xs); color: var(--fg-3); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__bottom a:hover { color: var(--fg); }
.social { display: flex; gap: 6px; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf__code { font-family: var(--font-display); font-stretch: 125%; font-weight: 850; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--line-2); letter-spacing: -0.04em; }

/* ── Reveal on scroll: only below-the-fold items are armed by JS, so the
   first screen and no-JS visitors always see everything at rest. ──────── */
.reveal.is-armed { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal.is-armed.is-in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .search-trigger { min-width: 0; }
  .search-trigger .label, .search-trigger kbd { display: none; }
  .search-trigger { width: 42px; height: 42px; padding: 0; justify-content: center; border-color: transparent; margin-right: 0; }
  .search-trigger .i { width: 21px; height: 21px; color: var(--fg-2); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .nav, .site-header .search-trigger { display: none; }
  .menu-toggle { display: inline-grid; }
  .site-header__bar { gap: 8px; }
  .hero__inner { grid-template-columns: 1fr; gap: 8px; padding-top: 40px; }
  .hero__art { max-width: 560px; width: 100%; margin-inline: auto; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process, .faq-split, .split, .signup, .stack-band, .coa-example, .checkout { grid-template-columns: 1fr; }
  .process__intro, .faq-split__intro, .summary { position: static; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .pdp-body { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: 1fr; }
  .spec-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rail { grid-auto-columns: 72%; }
  .bento { grid-template-columns: 1fr; }
  .tile--big, .tile--wide { grid-column: auto; grid-row: auto; }
  .tile--big { min-height: 0; }
  .tile--big h3 { font-size: var(--fs-xl); }
  .tile--big > div:not(.tile__top), .tile--wide > div:not(.tile__top) { max-width: none; }
  .tile--wide .tile__art { display: none; }
  .tile--big .tile__art { position: relative; right: auto; bottom: auto; width: 42%; align-self: flex-end; margin: -8px 0 -70px; order: 3; }
  .stack-rail { grid-auto-columns: 78%; }
  .tools, .flow, .values, .terms, .mech, .areas, .handling, .supplied, .spec-list, .post-grid, .stat-row { grid-template-columns: 1fr; }
  .tool { border-left: 0; border-top: 1px solid var(--line); }
  .tool:first-child { border-top: 0; }
  .assurances { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__body { padding: 12px 14px 14px; }
  .card__title { font-size: 1rem; }
  .card__desc, .card__meta { display: none; }
  .hero__spec { display: none; }
  .toolbar__search .input { width: 100%; }
  .toolbar__search { flex: 1 1 100%; }
  .toolbar__right { width: 100%; }
  .brand__name { font-size: 0.9rem; }
  .post--feature { min-height: 300px; }
}
@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .trust__item:first-child { border-top: 0; }
  .spec-tiles { grid-template-columns: 1fr; }
  .gate__actions { grid-template-columns: 1fr; }
  .pdp__thumbs { gap: 6px; }
  .pdp__fact { padding: 10px; }
  .pdp__fact b { font-size: 0.74rem; overflow-wrap: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal.is-armed { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden] { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .pdp-nav, .az { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media print {
  .site-header, .announce, .site-footer, .drawer, .modal, .gate, .pdp-nav, .toc { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ── RWP additions ──────────────────────────────────────────────────────── */
.photo { margin: 0; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); box-shadow: var(--shadow-panel); }
.photo img { width: 100%; height: auto; display: block; }

/* Product gallery: vial render / label artwork */
.pdp__views { display: flex; gap: 10px; margin-top: 10px; }
.pdp__view { display: grid; justify-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--panel); color: var(--fg-3); font-size: var(--fs-xs); transition: border-color 0.2s, color 0.2s; }
.pdp__view img { height: 58px; width: auto; object-fit: contain; border-radius: 4px; }
.pdp__view:hover { color: var(--fg); border-color: var(--line-2); }
.pdp__view.is-active { border-color: var(--accent); color: var(--fg); box-shadow: 0 0 0 1px var(--accent) inset; }
.pdp__stage.is-label img { position: absolute; inset: 0; margin: auto; width: 92%; height: auto; border-radius: 10px; filter: drop-shadow(0 24px 40px rgba(0, 6, 16, 0.6)); }
.pdp__stage.is-label .pdp__readout, .pdp__stage.is-label .card__badges { display: none; }

/* Research library */
.lib-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lib-tile { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.3s var(--ease); min-width: 0; }
.lib-tile:hover { border-color: color-mix(in srgb, var(--cat) 50%, transparent); transform: translateY(-2px); }
.lib-tile b { font-family: var(--font-display); font-stretch: 104%; font-weight: 700; font-size: var(--fs-md); }
.lib-tile__cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.lib-tile__class { font-size: var(--fs-xs); color: var(--fg-2); }
.lib-tile__meta { font-size: 0.7rem; color: var(--fg-3); overflow-wrap: anywhere; }
.lib-tile--stocked { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-to) 22%, var(--panel)), var(--panel)); }
.lib-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-ctl); background: var(--accent-wash); border: 1px solid var(--accent-line); }
.lib-note .i { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 2px; }
.lib-note b { display: block; margin-bottom: 4px; }
.lib-note p { font-size: var(--fs-sm); color: var(--fg-2); }
.lib-note + .buy-row .btn { flex: 1; }

/* Bento fallback when the area count isn't 4 or 7 */
.bento--even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento--even.bento--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1023px) { .lib-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bento--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento--even { grid-template-columns: 1fr; } .brand__name b { font-size: 1.15rem; } .brand__mark { width: 30px; } }
@media (max-width: 480px) { .lib-grid { grid-template-columns: 1fr; } }


/* ── Research accounts ─────────────────────────────────────────────────────
   app.js sets html.is-signed-in, html.is-unlocked (approved, prices loaded)
   and html[data-acct="pending|approved"]. Until then, prices stay locked. */
[hidden] { display: none !important; }
html:not(.is-unlocked) [data-unlock] { display: none !important; }
html.is-unlocked [data-lock] { display: none !important; }
html.is-signed-in [data-signed-out] { display: none !important; }
html:not(.is-signed-in) [data-signed-in] { display: none !important; }
html[data-acct="pending"] [data-when="anon"], html:not([data-acct="pending"]) [data-when="pending"] { display: none !important; }

.price--locked a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--accent-ink); }
.price--locked .i { width: 16px; height: 16px; }
.card .price--locked a { font-size: var(--fs-xs); line-height: 1.35; align-items: flex-start; }
.card .price--locked .i { flex: none; margin-top: 1px; }
.aside-card .price--locked { margin-top: 2px; }
.lock-panel { display: grid; gap: 16px; padding: 18px 20px; border-radius: var(--r-panel); background: var(--accent-wash); border: 1px solid var(--accent-line); }
.lock-panel__msg { display: flex; gap: 14px; align-items: flex-start; }
.lock-panel__msg .i { width: 24px; height: 24px; color: var(--accent-ink); margin-top: 2px; flex: none; }
.lock-panel__msg b { display: block; font-weight: 650; margin-bottom: 4px; }
.lock-panel__msg p { font-size: var(--fs-sm); color: var(--fg-2); }
.lock-panel .buy-row .btn { flex: 1; }
.lock-panel__alt { font-size: var(--fs-sm); color: var(--fg-2); margin-top: -4px; }
.lock-panel__alt a { color: var(--accent-ink); font-weight: 600; }
.header-login { margin-inline: 6px 2px; white-space: nowrap; }
.header-login .i { width: 18px; height: 18px; }
.mobile-nav__acct { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.auth--apply { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.auth__card { display: grid; gap: 18px; }
.auth__card .page-head__icon { margin: 0; }
.auth__side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.auth-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.auth-steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); }
.auth-steps span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent-ink); padding-top: 3px; }
.auth-steps b { display: block; font-weight: 650; }
.auth-steps p { font-size: var(--fs-sm); color: var(--fg-2); }
.apply-form { display: grid; gap: 34px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.acct-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.acct-type { position: relative; cursor: pointer; }
.acct-type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.acct-type__body { display: grid; gap: 12px; height: 100%; padding: 18px; border-radius: var(--r-panel); border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color 0.2s, background 0.2s; }
.acct-type input:checked + .acct-type__body { border-color: var(--accent); background: var(--accent-wash); }
.acct-type input:focus-visible + .acct-type__body { outline: 2px solid var(--accent); outline-offset: 2px; }
.acct-type__head { display: flex; align-items: center; gap: 10px; }
.acct-type__head .i { width: 22px; height: 22px; color: var(--accent-ink); }
.acct-type__head b { font-weight: 650; }
.acct-type__dot { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.acct-type input:checked + .acct-type__body .acct-type__dot { border-color: var(--accent); }
.acct-type input:checked + .acct-type__body .acct-type__dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.acct-type ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--fg-2); }
.acct-type__needs { font-size: var(--fs-xs); color: var(--fg-3); }
.declaration { display: grid; gap: 16px; padding: 20px; border-radius: var(--r-panel); background: var(--ruo-wash); border: 1px solid var(--ruo-line); }
.declaration .check span { color: var(--fg); }
.acct-status { display: grid; gap: 14px; justify-items: start; }

.adm__list { display: grid; gap: 14px; margin-top: 18px; }
.adm__card { display: grid; gap: 16px; }
.adm__head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.adm__head h3 { margin-bottom: 6px; }
.adm__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.adm__del { color: var(--danger); }
.adm__decl summary { cursor: pointer; font-size: var(--fs-sm); color: var(--accent-ink); }
.adm__decl ol { margin: 10px 0; padding-left: 20px; display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--fg-2); }
.adm__decl .muted { font-size: var(--fs-xs); }

@media (max-width: 1023px) {
  .auth, .auth--apply { grid-template-columns: 1fr; }
  .auth__side { position: static; }
}
@media (max-width: 767px) {
  .acct-types { grid-template-columns: 1fr; }
  .header-login span { display: none; }
  .header-login { padding-inline: 10px; }
}

/* ── Product photos (src/assets/img/products) ──────────────────────────────
   Studio photos fill their frame; drawn vials keep the floating style above.
   The WordPress theme marks media-library photos with data-photo. */
.card__media img:is([src*="/img/products/"], [data-photo]),
.pdp__stage:not(.is-label) img:is([src*="/img/products/"], [data-photo]) { width: 100%; height: 100%; object-fit: cover; filter: none; }
.card:hover .card__media img:is([src*="/img/products/"], [data-photo]) { transform: scale(1.03); }
.pdp__readout { padding: 8px 10px; border-radius: var(--r-ctl); background: rgb(var(--bg-rgb) / 0.78); color: var(--fg-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stack-mini img:is([src*="/img/products/"], [data-photo]) { aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-ctl); }
.tile__art:is([src*="/img/products/"], [data-photo]) { width: 30%; bottom: 6%; right: 5%; border-radius: var(--r-ctl); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); }
.line__img img:is([src*="/img/products/"], [data-photo]), .search__hit .thumb img:is([src*="/img/products/"], [data-photo]) { width: 100%; height: 100%; object-fit: cover; }
.aside-card__row img:is([src*="/img/products/"], [data-photo]), .coa-prod img:is([src*="/img/products/"], [data-photo]), .includes img:is([src*="/img/products/"], [data-photo]),
.toast img:is([src*="/img/products/"], [data-photo]), .mega__feature img:is([src*="/img/products/"], [data-photo]), .pdp__view img:is([src*="/img/products/"], [data-photo]) { object-fit: cover; border-radius: 6px; }
.pdp__view img:is([src*="/img/products/"], [data-photo]) { width: 58px; }
.hero__art--photo { aspect-ratio: auto; align-self: center; }
.hero__photo { display: block; width: 100%; height: auto; border-radius: calc(var(--r-panel) + 6px); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75); }
.hero__art--photo .hero__spec { top: auto; bottom: -34px; }
.hero__art--photo .hero__spec--a { left: -3%; }
.hero__art--photo .hero__spec--b { right: -3%; }
@media (max-width: 767px) {
  .hero__art--photo { margin-bottom: 34px; }
  .hero__art--photo .hero__spec--a { left: 8px; }
  .hero__art--photo .hero__spec--b { right: 8px; }
}
