/* =============================================================================
   Pepvela Shop V3 -- foundation, global shell and shared components.

   Direction (CEO, 2026-09-30): a 2050 biotech commerce platform. Minimal,
   clean, futuristic, premium, scientific, straight to the point. Deep navy
   foundation, blue neural / molecular detail, soft violet and lavender
   accents, icy cyan highlights, lots of negative space, subtle glass and
   depth, restrained cinematic motion. Not a traditional store, not a SaaS
   landing page.

   Loaded after css/v3-tokens.css (spacing, radius, motion tokens) and
   css/v3-palette.css (the locked colors) on every V3 page, in place of the
   legacy css/shop.css. Colors come only from the palette; derived tones are
   alphas of palette colors.

   Type: Plus Jakarta Sans for everything, styled like the Stitch reference:
   compact and technical (display 48, section 32, card 18-22, body 14-16,
   11px uppercase microcopy, tabular figures for data). The Georgia serif is
   for the pepvela wordmark only (typography lock).

   The shell keeps every hook the storefront scripts and tests rely on:
   .util-bar / .util-mail, #navLinks, .nav-actions, .sf-cart-link /
   .sf-cart-count / .sf-cart-ico, #mobileNav, .shop-footer, .footer-signup,
   .footer-disclaimer. The cart drawer and notice (js/cart.js)
   get their V3 skin in section 10; the Research Access modal (js/age-gate.js)
   styles itself.
   ============================================================================= */

/* ---- 1. Font (self-hosted, OFL; see /fonts/plus-jakarta-sans/OFL.txt) ---- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- 2. Base and the type scale ---- */
:root {
  --v3-header-h: 64px;
  --v3-util-h: 30px;
  --v3-container: 1240px;
  --v3-gutter: 32px;
  --v3-z-header: 100;
  --v3-z-float: 900;                    /* cart overlay 9400, notice 9600, Research Access 10000 (module files) */

  /* the Stitch-style scale: [size, line height] */
  --t-display: 48px;  --t-display-lh: 56px;
  --t-h1: 40px;       --t-h1-lh: 48px;
  --t-h2: 32px;       --t-h2-lh: 40px;
  --t-h3-lg: 22px;    --t-h3-lg-lh: 30px;
  --t-h3: 18px;       --t-h3-lh: 26px;
  --t-lead: 16px;     --t-lead-lh: 26px;
  --t-body: 14px;     --t-body-lh: 22px;
  --t-small: 12px;    --t-small-lh: 18px;
  --t-caps: 11px;
  --t-data: 13px;

  --v3-radius-card: 18px;
  --v3-radius-panel: 22px;
  --v3-card-line: rgba(194, 195, 244, 0.12);
  --v3-card-line-hover: rgba(155, 154, 240, 0.4);
  --v3-glass-card: linear-gradient(180deg, rgba(246, 247, 255, 0.045) 0%, rgba(246, 247, 255, 0.015) 100%);
  --v3-card-shadow: 0 1px 0 rgba(246, 247, 255, 0.04) inset, 0 20px 40px -28px rgba(1, 2, 27, 0.9);
  --v3-card-shadow-hover: 0 1px 0 rgba(246, 247, 255, 0.06) inset, 0 28px 50px -28px rgba(89, 52, 207, 0.55);
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--v3-header-h) + 16px);
  background: var(--pv-abyss);
}
body {
  margin: 0;
  font-family: var(--pv3-font-ui);
  font-size: var(--t-body);
  line-height: var(--t-body-lh);
  color: var(--v3-on-dark);
  background: var(--pv-abyss);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--pv3-font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--pv-lavender); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--v3-focus); outline-offset: 3px; }
::selection { background: rgba(114, 74, 217, 0.4); color: var(--pv-text-light); }

.v3-skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10001;
  padding: 10px 16px;
  border-radius: var(--pv3-radius-md);
  background: var(--pv-white);
  color: var(--v3-ink);
  font-weight: 600;
  box-shadow: var(--v3-shadow);
  transition: top var(--pv3-dur-ui) var(--pv3-ease-ui);
}
.v3-skip:focus-visible { top: 12px; }
.v3-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.v3-container {
  width: 100%;
  max-width: var(--v3-container);
  margin: 0 auto;
  padding: 0 var(--v3-gutter);
}
.v3-num { font-variant-numeric: tabular-nums; }

/* ---- 3. Technical microcopy ---- */
.v3-caps,
.v3-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-caps);
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-periwinkle);
  font-variant-numeric: tabular-nums;
}
.v3-index { color: var(--pv-cyan); }
.v3-index::after { content: "/"; margin-left: 10px; color: rgba(194, 195, 244, 0.35); }
.v3-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pv-cyan);
  box-shadow: 0 0 0 3px rgba(118, 191, 230, 0.14), 0 0 10px rgba(118, 191, 230, 0.8);
  flex: none;
  animation: v3-dot-breathe 6s ease-in-out infinite;
}

/* ---- 4. Buttons: primary / ghost / ink ---- */
.v3-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--pv3-radius-full);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 240ms var(--v3-ease-out), border-color 240ms var(--v3-ease-out),
    color 240ms var(--v3-ease-out), box-shadow 320ms var(--v3-ease-out), transform 160ms var(--v3-ease-out);
}
.v3-btn svg { width: 15px; height: 15px; flex: none; transition: transform 320ms var(--v3-ease-out); }
.v3-btn:hover svg { transform: translateX(3px); }
.v3-btn:active { transform: scale(0.97); }
.v3-btn--lg { min-height: 48px; padding: 0 26px; font-size: 14.5px; }
.v3-btn--sm { min-height: 38px; padding: 0 18px; font-size: 13px; }
/* a thin band of light crosses the button on hover */
.v3-btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(100deg, rgba(246, 247, 255, 0) 0%, rgba(246, 247, 255, 0.28) 50%, rgba(246, 247, 255, 0) 100%);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
}
.v3-btn:hover::after { transform: translateX(420%) skewX(-18deg); transition: transform 900ms var(--v3-ease-out); }

.v3-btn--primary {
  background: var(--v3-action-gradient);
  color: var(--v3-on-action);
  box-shadow: inset 0 1px 0 rgba(246, 247, 255, 0.2), 0 10px 26px -12px rgba(89, 52, 207, 0.9);
}
.v3-btn--primary:hover { background: var(--v3-action-gradient-hover); box-shadow: inset 0 1px 0 rgba(246, 247, 255, 0.24), 0 12px 32px -10px rgba(114, 74, 217, 0.95); }
.v3-btn--primary:active { background: var(--v3-action-pressed); }

.v3-btn--ghost-dark {
  background: rgba(246, 247, 255, 0.04);
  border-color: rgba(194, 195, 244, 0.22);
  color: var(--v3-on-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.v3-btn--ghost-dark:hover { background: rgba(246, 247, 255, 0.08); border-color: rgba(194, 195, 244, 0.45); }

.v3-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pv-lavender);
  text-decoration: none;
  border-radius: var(--pv3-radius-xs);
  transition: color 160ms var(--v3-ease-out);
}
.v3-link svg { width: 15px; height: 15px; transition: transform 320ms var(--v3-ease-out); }
.v3-link:hover { color: var(--v3-on-dark); }
.v3-link:hover svg { transform: translateX(3px); }

/* ---- 5. Utility bar (compliance) ---- */
.util-bar {
  position: relative;
  z-index: calc(var(--v3-z-header) + 1);
  background: var(--pv-abyss);
  color: var(--v3-on-dark-soft);
  font-size: 11px;
  border-bottom: 1px solid rgba(194, 195, 244, 0.08);
}
.util-inner {
  max-width: var(--v3-container);
  margin: 0 auto;
  padding: 0 var(--v3-gutter);
  min-height: var(--v3-util-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.util-note, .util-mail { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.util-note { text-transform: uppercase; letter-spacing: 0.14em; font-size: 10.5px; font-weight: 600; }
.util-ico { width: 13px; height: 13px; color: var(--pv-periwinkle); flex: none; }
.util-mail { color: var(--v3-on-dark-soft); letter-spacing: 0.02em; border-radius: var(--pv3-radius-xs); transition: color 160ms var(--v3-ease-out); }
.util-mail:hover { color: var(--v3-on-dark); }
/* My Pepvela (2026-10-06): the universal Pepvela Account lives on pepvela.com;
   Pep Research only links to it. A quiet utility link on wider screens; on
   phones the mobile menu carries it, so the bar never grows. */
.util-account { margin-left: auto; color: var(--v3-on-dark-soft); letter-spacing: 0.02em; white-space: nowrap; border-radius: var(--pv3-radius-xs); transition: color 160ms var(--v3-ease-out); }
.util-account:hover { color: var(--v3-on-dark); }
@media (max-width: 767px) { .util-account { display: none; } }

/* ---- 6. Header + navigation ---- */
.v3-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: var(--v3-z-header);
  background: rgba(1, 2, 27, 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(194, 195, 244, 0.07);
  transition: background-color 500ms var(--v3-ease-out), border-color 500ms var(--v3-ease-out);
}
.v3-header.is-scrolled { background: rgba(1, 2, 27, 0.9); border-bottom-color: var(--v3-line-dark); }
.v3-nav-inner {
  max-width: var(--v3-container);
  margin: 0 auto;
  padding: 0 var(--v3-gutter);
  height: var(--v3-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.v3-nav-left { display: flex; align-items: center; gap: 24px; min-width: 0; }

.v3-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: var(--pv3-radius-sm);
  flex: none;
}
.v3-wordmark {
  font-family: var(--pv3-font-wordmark);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.v3-wordmark .logo-pep { color: var(--pv-text-light); }
.v3-wordmark .logo-vela { color: var(--pv-violet-400); }
.v3-brand-tag {
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--v3-line-dark-strong);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pv-lavender);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--v3-line-dark);
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--v3-on-dark-muted);
  border-radius: var(--pv3-radius-xs);
  transition: color 200ms var(--v3-ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--pv-cyan);
  box-shadow: 0 0 8px rgba(118, 191, 230, 0.8);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms var(--v3-ease-out);
}
.nav-links a:hover { color: var(--v3-on-dark); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--v3-on-dark); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.v3-icon-btn,
.v3-header .nav-actions .sf-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--pv3-radius-full);
  background: transparent;
  color: var(--v3-on-dark-muted);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 200ms var(--v3-ease-out), color 200ms var(--v3-ease-out), transform 150ms var(--v3-ease-out);
}
.v3-icon-btn:hover,
.v3-header .nav-actions .sf-cart-link:hover,
.v3-icon-btn[aria-expanded="true"] { color: var(--v3-on-dark); background: rgba(194, 195, 244, 0.08); }
.v3-icon-btn:active,
.v3-header .nav-actions .sf-cart-link:active { transform: scale(0.94); }
.v3-icon-btn svg,
.v3-header .sf-cart-ico { width: 19px; height: 19px; }
/* The count shows only once v3-shell.js reports a non-zero cart. */
.v3-header .nav-actions .sf-cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  display: none;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--pv3-radius-full);
  background: var(--pv-violet-600);
  box-shadow: 0 0 0 2px var(--pv-abyss);
  color: var(--v3-on-action);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.v3-header .nav-actions .sf-cart-link[data-count]:not([data-count="0"]) .sf-cart-count { display: inline-block; }

.v3-return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  margin-left: 8px;
  padding: 0 14px;
  border-radius: var(--pv3-radius-full);
  background: rgba(246, 247, 255, 0.04);
  border: 1px solid var(--v3-line-dark-strong);
  color: var(--v3-on-dark);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 200ms var(--v3-ease-out), background-color 200ms var(--v3-ease-out);
}
.v3-return svg { width: 13px; height: 13px; transition: transform 320ms var(--v3-ease-out); }
.v3-return:hover { border-color: rgba(155, 154, 240, 0.55); background: rgba(246, 247, 255, 0.08); }
.v3-return:hover svg { transform: translate(2px, -2px); }

/* Header search. A real GET form: /catalog?q=term */
.v3-search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 16px 0;
  background: rgba(8, 3, 39, 0.95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--v3-line-dark);
  box-shadow: var(--v3-shadow-dark);
  animation: v3-menu-in 420ms var(--v3-ease-out) both;
}
.v3-search-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--v3-gutter);
  display: flex;
  gap: 8px;
}
.v3-search-field { position: relative; flex: 1; }
.v3-search-field svg { position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--pv-periwinkle); pointer-events: none; }
.v3-search input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 0 16px 0 42px;
  border-radius: var(--pv3-radius-full);
  border: 1px solid var(--v3-line-dark-strong);
  background: rgba(1, 2, 27, 0.7);
  color: var(--v3-on-dark);
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 200ms var(--v3-ease-out), box-shadow 300ms var(--v3-ease-out);
}
.v3-search input[type="search"]::placeholder { color: rgba(246, 247, 255, 0.45); }
.v3-search input[type="search"]:focus-visible { outline: none; border-color: var(--pv-periwinkle); box-shadow: 0 0 0 4px rgba(155, 154, 240, 0.16); }

.mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--pv3-radius-full);
  border: 1px solid var(--v3-line-dark-strong);
  background: rgba(246, 247, 255, 0.03);
  -webkit-tap-highlight-color: transparent;
}
.v3-burger, .v3-burger::before {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--v3-on-dark);
  transition: transform 420ms var(--v3-ease-out);
}
.v3-burger { position: relative; transform: translateY(-3px); }
.v3-burger::before { content: ""; position: absolute; left: 0; top: 6px; }
.mobile-menu[aria-expanded="true"] .v3-burger { transform: translateY(0) rotate(45deg); }
.mobile-menu[aria-expanded="true"] .v3-burger::before { transform: translateY(-6px) rotate(-90deg); }

.v3-header .mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--v3-header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px var(--v3-gutter) 24px;
  background: rgba(8, 3, 39, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--v3-line-dark);
  border-bottom: 1px solid var(--v3-line-dark);
  box-shadow: var(--v3-shadow-dark);
  animation: v3-menu-in 420ms var(--v3-ease-out) both;
}
.v3-header .mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--v3-line-dark);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--v3-on-dark);
}
.v3-header .mobile-nav a:not(.sf-cart-link):not(.v3-mobile-return)::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--pv-periwinkle);
  border-right: 1.5px solid var(--pv-periwinkle);
  transform: rotate(45deg);
  margin-right: 4px;
}
.v3-header .mobile-nav .v3-mobile-return { color: var(--pv-lavender); font-size: 14px; }
.v3-header .mobile-nav .sf-cart-link {
  justify-content: center;
  margin-top: 20px;
  min-height: 48px;
  border: 0;
  border-radius: var(--pv3-radius-full);
  background: var(--v3-action-gradient);
  color: var(--v3-on-action);
  font-size: 15px;
}
.v3-header .mobile-nav .sf-cart-count { min-width: 0; }
@keyframes v3-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1179px) {
  .nav-actions .v3-return { display: none; }
}
@media (max-width: 1023px) {
  .v3-header .nav-links { display: none; }
  .mobile-menu { display: inline-flex; }
}
@media (min-width: 1024px) {
  .v3-header .mobile-nav { display: none !important; }
}

/* ---- 7. Sections: navy by default, hairline separated ---- */
.v3-sec {
  position: relative;
  isolation: isolate;
  padding: 96px 0;
  color: var(--v3-on-dark);
  background: var(--pv-abyss);
}
.v3-sec + .v3-sec::before,
.v3-sec + .v3-final::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: var(--v3-gutter);
  right: var(--v3-gutter);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(194, 195, 244, 0) 0%, rgba(194, 195, 244, 0.16) 50%, rgba(194, 195, 244, 0) 100%);
}
.v3-sec > .v3-container { position: relative; }
/* a faint laboratory grid behind a section (optional layer) */
.v3-sec-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(155, 154, 240, 0.05) 1px, rgba(155, 154, 240, 0) 1px),
    linear-gradient(90deg, rgba(155, 154, 240, 0.05) 1px, rgba(155, 154, 240, 0) 1px);
  background-size: 64px 64px;
  background-position: 50% 0;
  -webkit-mask-image: radial-gradient(60% 420px at 50% 0%, rgba(1, 2, 27, 1) 0%, rgba(1, 2, 27, 0) 100%);
  mask-image: radial-gradient(60% 420px at 50% 0%, rgba(1, 2, 27, 1) 0%, rgba(1, 2, 27, 0) 100%);
}
.v3-sec-head { margin-bottom: 36px; max-width: 42rem; display: flex; flex-direction: column; gap: 12px; }
.v3-sec-head h2 {
  font-size: var(--t-h2);
  line-height: var(--t-h2-lh);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--v3-on-dark);
}
.v3-sec-lead { max-width: 36rem; font-size: 15px; line-height: 24px; color: var(--v3-on-dark-muted); }
.v3-sec-head--row {
  max-width: none;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.v3-sec-head--row > div:first-child { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; min-width: 0; }

/* Layered scroll reveals. v3-shell.js arms only below-the-fold elements, so
   nothing is ever hidden when scripts fail and nothing visible flashes on
   load. A --stagger container reveals its children one after another; the
   per-child delays are dropped (.is-done) once the reveal has finished. */
.v3-reveal.is-armed:not(.is-in) { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(6px); }
.v3-reveal.is-armed:not(.is-done) {
  transition: opacity 1000ms var(--v3-ease-out), transform 1200ms var(--v3-ease-out), filter 1000ms var(--v3-ease-out);
}
.v3-reveal--stagger.is-armed:not(.is-in) { opacity: 1; transform: none; filter: none; }
.v3-reveal--stagger.is-armed:not(.is-in) > * { opacity: 0; transform: translate3d(0, 28px, 0); }
.v3-reveal--stagger.is-armed:not(.is-done) > * {
  transition: opacity 900ms var(--v3-ease-out), transform 1200ms var(--v3-ease-out);
}
.v3-reveal--stagger.is-armed:not(.is-done) > :nth-child(2) { transition-delay: 90ms; }
.v3-reveal--stagger.is-armed:not(.is-done) > :nth-child(3) { transition-delay: 180ms; }
.v3-reveal--stagger.is-armed:not(.is-done) > :nth-child(4) { transition-delay: 270ms; }
.v3-reveal--stagger.is-armed:not(.is-done) > :nth-child(n+5) { transition-delay: 360ms; }

/* Card light: a soft light follows the pointer (js/v3-shell.js). */
.v3-spot, .v3-pcard { position: relative; }
.v3-spot::after,
.v3-pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(155, 154, 240, 0.12), rgba(155, 154, 240, 0) 60%);
  transition: opacity 500ms var(--v3-ease-out);
}
.v3-spot:hover::after,
.v3-pcard:hover::after { opacity: 1; }

/* ---- 8. Footer: logo, newsletter, essential links, one thin legal row ---- */
.shop-footer {
  position: relative;
  background: var(--pv-abyss);
  color: var(--v3-on-dark-soft);
  font-size: 12px;
  border-top: 1px solid var(--v3-line-dark);
}
.footer-grid {
  max-width: var(--v3-container);
  margin: 0 auto;
  padding: 28px var(--v3-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  font-family: var(--pv3-font-wordmark);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--pv3-radius-sm);
}
.footer-logo .logo-pep { color: var(--pv-text-light); }
.footer-logo .logo-vela { color: var(--pv-violet-400); }
.footer-logo .footer-logo-tag {
  margin-left: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--v3-line-dark-strong);
  font-family: var(--pv3-font-ui);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pv-lavender);
}
.footer-signup { display: flex; align-items: center; gap: 12px; }
.footer-signup h4 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-periwinkle);
  white-space: nowrap;
}
.footer-signup-form { position: relative; display: flex; align-items: center; gap: 6px; }
.footer-signup-form input[type="email"] {
  width: 210px;
  min-width: 0;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--pv3-radius-full);
  border: 1px solid var(--v3-line-dark-strong);
  background: rgba(1, 2, 27, 0.6);
  color: var(--v3-on-dark);
  font-size: 13px;
  transition: border-color 200ms var(--v3-ease-out), box-shadow 300ms var(--v3-ease-out);
}
.footer-signup-form input[type="email"]::placeholder { color: rgba(246, 247, 255, 0.42); }
.footer-signup-form input[type="email"]:hover { border-color: rgba(155, 154, 240, 0.45); }
.footer-signup-form input[type="email"]:focus-visible { outline: none; border-color: var(--pv-periwinkle); box-shadow: 0 0 0 3px rgba(155, 154, 240, 0.16); }
.footer-signup-form button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--pv3-radius-full);
  background: var(--v3-action-gradient);
  color: var(--v3-on-action);
  font-size: 12px;
  font-weight: 600;
  transition: transform 150ms var(--v3-ease-out);
}
.footer-signup-form button:hover { background: var(--v3-action-gradient-hover); }
.footer-signup-form button:active { transform: scale(0.97); }
.footer-signup-form button:disabled { opacity: 0.6; cursor: progress; }
.footer-signup-msg { position: absolute; left: 14px; top: 100%; margin-top: 4px; font-size: 11.5px; white-space: nowrap; }

.footer-cols {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
  max-width: 340px;
}
.footer-cols a {
  padding: 2px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--v3-on-dark-muted);
  border-radius: var(--pv3-radius-xs);
  transition: color 200ms var(--v3-ease-out);
}
.footer-cols a:hover { color: var(--v3-on-dark); }

.footer-bottom {
  max-width: var(--v3-container);
  margin: 0 auto;
  padding: 14px var(--v3-gutter) 20px;
  background: linear-gradient(var(--v3-line-dark), var(--v3-line-dark)) no-repeat var(--v3-gutter) 0 / calc(100% - 2 * var(--v3-gutter)) 1px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-info { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 11px; line-height: 18px; color: var(--v3-on-dark-soft); }
.footer-info > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: var(--pv-periwinkle); vertical-align: middle; }
.footer-info a { color: var(--v3-on-dark-muted); }
.footer-info a:hover { color: var(--v3-on-dark); }
.footer-disclaimer { font-size: 10.5px; line-height: 16px; color: rgba(246, 247, 255, 0.4); }
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 20px; }
  .footer-cols { justify-self: start; justify-content: flex-start; max-width: none; }
}
@media (max-width: 639px) {
  .footer-grid { padding: 24px var(--v3-gutter); }
  .footer-signup { flex-wrap: wrap; gap: 8px; }
  .footer-signup-form input[type="email"] { width: auto; flex: 1 1 180px; font-size: 16px; }
  .footer-bottom { padding: 12px var(--v3-gutter) 84px; }
  .footer-info { flex-direction: column; align-items: flex-start; }
  .footer-info > * + *::before { display: none; }
}

/* ---- 10. Module skins (markup injected by cart.js) and the shared button classes ---- */
.v3 .btn-primary,
.v3 .btn-secondary,
.v3 .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--pv3-radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--v3-ease-out), border-color 200ms var(--v3-ease-out), color 200ms var(--v3-ease-out), box-shadow 300ms var(--v3-ease-out);
}
.v3 .btn-primary { background: var(--v3-action-gradient); color: var(--v3-on-action); border: 1px solid transparent; box-shadow: 0 10px 24px -12px rgba(89, 52, 207, 0.8); }
.v3 .btn-primary:hover { background: var(--v3-action-gradient-hover); }
.v3 .btn-primary:active { background: var(--v3-action-pressed); }
.v3 .btn-secondary,
.v3 .btn-ghost { background: var(--v3-paper); color: var(--v3-ink); border: 1px solid var(--v3-line-strong); }
.v3 .btn-secondary:hover,
.v3 .btn-ghost:hover { border-color: rgba(89, 52, 207, 0.4); color: var(--pv-violet-600); background: rgba(89, 52, 207, 0.05); }

/* Cart drawer + notice (cart.css keeps layout; V3 colors and type here) */
.v3 .sf-cart-overlay { background: rgba(1, 2, 27, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.v3 .sf-cart-drawer { background: var(--v3-paper); box-shadow: var(--v3-shadow-dark); animation: v3-drawer-in 520ms var(--v3-ease-out) both; }
.v3 .sf-cart-head { padding: 18px 22px; border-bottom: 1px solid var(--v3-line); }
.v3 .sf-cart-head h3 { font-family: var(--pv3-font-display); font-size: 18px; color: var(--v3-ink); }
.v3 .sf-cart-close {
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border-radius: var(--pv3-radius-full);
  color: var(--v3-ink-muted);
  transition: background-color 200ms var(--v3-ease-out);
}
.v3 .sf-cart-close:hover { background: var(--v3-paper-tint-2); color: var(--v3-ink); }
.v3 .sf-cart-foot { border-top: 1px solid var(--v3-line); }
.v3 .sf-cart-item { border-bottom: 1px solid var(--v3-line); }
.v3 .sf-cart-thumb img { background: var(--pv-abyss); border: 1px solid var(--v3-line); border-radius: var(--pv3-radius-sm); }   /* the master vial on navy */
.v3 .sf-cart-name { color: var(--v3-ink); }
.v3 .sf-cart-name:hover { color: var(--pv-violet-600); }
.v3 .sf-cart-unit, .v3 .sf-cart-ship, .v3 .sf-cart-empty, .v3 .sf-cart-wholesale { color: var(--v3-ink-muted); }
.v3 .sf-cart-line, .v3 .sf-cart-subtotal, .v3 .sf-cart-total, .v3 .sf-qty-val { color: var(--v3-ink); font-variant-numeric: tabular-nums; }
.v3 .sf-cart-total { border-top-color: var(--v3-line); }
.v3 .sf-cart-remove { color: var(--v3-link); min-height: 32px; }
.v3 .sf-qty { border: 1px solid var(--v3-line-strong); border-radius: var(--pv3-radius-full); overflow: hidden; }
.v3 .sf-qty-dec, .v3 .sf-qty-inc { width: 34px; height: 34px; background: var(--v3-paper); color: var(--v3-ink); }
.v3 .sf-qty-dec:hover, .v3 .sf-qty-inc:hover { background: var(--v3-paper-tint-2); }
.v3 .sf-inquiry-link { color: var(--v3-link); }
.v3 .sf-checkout { display: block; min-height: 48px; line-height: 48px; padding: 0 20px; text-align: center; }
.v3 .sf-cart-actions .btn-secondary { padding: 0 12px; font-size: 13px; white-space: nowrap; }
.v3 .sf-cart-notice {
  background: rgba(8, 3, 39, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--v3-on-dark);
  border: 1px solid var(--v3-line-dark-strong);
  border-radius: var(--pv3-radius-full);
  box-shadow: var(--v3-shadow-dark);
  font-size: 13px;
  font-weight: 500;
}

@keyframes v3-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes v3-rise-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes v3-drawer-in { from { transform: translateX(24px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes v3-dot-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(118, 191, 230, 0.14), 0 0 10px rgba(118, 191, 230, 0.8); }
  50% { box-shadow: 0 0 0 5px rgba(118, 191, 230, 0.05), 0 0 16px rgba(118, 191, 230, 1); }
}

/* ---- 11. Phones ---- */
@media (max-width: 1023px) {
  .v3-sec { padding: 80px 0; }
}
@media (max-width: 767px) {
  .v3-sec-head--row { flex-direction: column; align-items: flex-start; }
  .v3-sec-head--row > div:first-child { flex: none; }
}
@media (max-width: 639px) {
  :root {
    --v3-gutter: 20px;
    --v3-header-h: 58px;
    --t-display: 34px; --t-display-lh: 40px;
    --t-h1: 30px;      --t-h1-lh: 38px;
    --t-h2: 26px;      --t-h2-lh: 34px;
    --t-h3-lg: 19px;   --t-h3-lg-lh: 26px;
  }
  .v3-sec { padding: 64px 0; }
  .v3-sec-head { margin-bottom: 28px; }
  .v3-sec-lead { font-size: 14px; line-height: 22px; }
  .util-inner { min-height: 28px; }
  .v3-wordmark { font-size: 20px; }
  .nav-actions { gap: 0; }
}
@media (max-width: 380px) {
  :root { --v3-gutter: 16px; }
  .util-mail { font-size: 11px; }
  .util-mail .util-ico { display: none; }
  /* the "Pep Research" tag (2026-10-06) keeps clear of the header icons on the narrowest phones */
  .v3-brand { gap: 8px; }
  .v3-brand-tag { padding: 3px 5px; letter-spacing: 0.08em; }
}
@media (max-width: 340px) {
  .v3-brand-tag { padding: 3px 4px; font-size: 8.5px; letter-spacing: 0.02em; }
}

/* ---- 11b. Touch targets (phones): every standalone control is at least 24px
   tall (WCAG 2.5.8). The extra hit area is vertical padding offset by an equal
   negative margin, so nothing moves; inline links inside sentences are exempt. */
@media (max-width: 767px) {
  .v3 .util-mail, .v3 .v3-brand, .v3 .footer-logo, .v3 .footer-info a,
  .v3 .v3-crumbs a, .v3 .breadcrumb a, .v3 .v3-rstrengths a, .v3 .sf-cart-name,
  .v3 .v3-link, .v3 .v3-stack-doc, .v3 .sf-inquiry-link { padding-top: 4px; padding-bottom: 4px; margin-top: -4px; margin-bottom: -4px; }
  .v3 .v3-rarea-go { padding-top: 4px; padding-bottom: 4px; margin-top: 0; margin-bottom: -4px; }
  .v3 .sf-card-title, .v3 .sv-email a { padding-top: 4px; padding-bottom: 4px; }
}

/* ---- 13. Scenes: a reference image, living light on top, and a shade ----
   Only two scenes carry the Shop: images/v3/scenes/neural.webp and
   waves.webp; js/v3-scenes.js draws the restrained light on the canvas. */
.v3-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--pv-abyss);
}
.v3-scene-par {
  position: absolute;
  inset: -4% -3%;
  will-change: transform;
}
.v3-scene--mirror .v3-scene-par { transform: scaleX(-1); }
.v3-scene-drift {
  position: absolute;
  inset: 0;
  transform-origin: 70% 50%;
  animation: v3-drift 60s ease-in-out infinite alternate;
  will-change: transform;
}
.v3-scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 100% 50%;
}
.v3-scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}
.v3-scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 2, 27, 0.92) 0%, rgba(1, 2, 27, 0.6) 30%, rgba(1, 2, 27, 0.05) 58%, rgba(1, 2, 27, 0) 70%),
    linear-gradient(180deg, rgba(1, 2, 27, 0.5) 0%, rgba(1, 2, 27, 0) 18%, rgba(1, 2, 27, 0) 76%, rgba(1, 2, 27, 1) 100%);
}
@keyframes v3-drift {
  0% { transform: scale(1.03) translate3d(-0.4%, 0.3%, 0); }
  100% { transform: scale(1.07) translate3d(0.5%, -0.4%, 0); }
}

/* ---- 14. Page hero (catalog, product and inner pages) ---- */
.v3-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--v3-header-h));
  padding: calc(var(--v3-header-h) + 64px) 0 72px;
  color: var(--v3-on-dark);
}
.v3-page-hero .v3-scene-shade {
  background:
    linear-gradient(90deg, rgba(1, 2, 27, 0.94) 0%, rgba(1, 2, 27, 0.7) 32%, rgba(1, 2, 27, 0.1) 62%, rgba(1, 2, 27, 0) 76%),
    linear-gradient(180deg, rgba(1, 2, 27, 0.55) 0%, rgba(1, 2, 27, 0) 26%, rgba(1, 2, 27, 0) 64%, rgba(1, 2, 27, 1) 100%);
}
.v3-page-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.v3-page-hero-inner > * { max-width: 640px; }
.v3-page-hero h1 {
  font-size: var(--t-h1);
  line-height: var(--t-h1-lh);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--v3-on-dark);
  animation: v3-page-rise 1100ms var(--v3-ease-out) 120ms both;
}
.v3-page-hero .v3-label { animation: v3-page-rise 1000ms var(--v3-ease-out) both; }
.v3-page-lead { max-width: 32rem; font-size: 15px; line-height: 24px; color: var(--v3-on-dark-muted); animation: v3-page-rise 1100ms var(--v3-ease-out) 240ms both; }
.v3-crumbs, .v3-product .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v3-on-dark-soft);
}
.v3-crumbs a, .v3-product .breadcrumb a { color: var(--pv-periwinkle); transition: color 200ms var(--v3-ease-out); }
.v3-crumbs a:hover, .v3-product .breadcrumb a:hover { color: var(--v3-on-dark); }
.v3-crumbs > span:last-child, .v3-product .breadcrumb > span { color: var(--v3-on-dark); }
@keyframes v3-page-rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@media (max-width: 1023px) {
  .v3-page-hero .v3-scene-img { object-position: 78% 50%; }
  .v3-page-hero .v3-scene-shade { background: linear-gradient(180deg, rgba(1, 2, 27, 0.8) 0%, rgba(1, 2, 27, 0.6) 60%, rgba(1, 2, 27, 1) 100%); }
}
@media (max-width: 639px) {
  .v3-page-hero { padding: calc(var(--v3-header-h) + 40px) 0 56px; }
  .v3-page-lead { font-size: 14px; line-height: 22px; }
}

/* ---- 15. The specimen card: catalog cards (storefront.js / generate-seo.js
   cardHtml), related-product cards, and the homepage V3 card (.v3-pcard).
   A dark glass module; a product with a master vial shows it on the dark
   specimen stage below (.sf-specimen), and only a product without one falls
   back to its photo in the light window. ---- */
.v3 .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 16px;
  border-radius: var(--v3-radius-card);
  background: var(--v3-glass-card);
  border: 1px solid var(--v3-card-line);
  box-shadow: var(--v3-card-shadow);
  transition: border-color 400ms var(--v3-ease-out), box-shadow 600ms var(--v3-ease-out), transform 600ms var(--v3-ease-out);
}
.v3 .product-card:hover { transform: translate3d(0, -4px, 0); border-color: var(--v3-card-line-hover); box-shadow: var(--v3-card-shadow-hover); }
.v3 .product-card .sf-card-media { display: block; border-radius: 12px; }
.v3 .product-card .product-img-placeholder {
  position: relative;
  isolation: isolate;
  height: 232px;
  padding: 26px 16px 8px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(rgba(89, 52, 207, 0.05) 1px, rgba(89, 52, 207, 0) 1px) 0 0 / 100% 24px,
    radial-gradient(70% 55% at 50% 100%, rgba(114, 74, 217, 0.14) 0%, rgba(114, 74, 217, 0) 100%),
    var(--pv-surface);
  transition: background 600ms var(--v3-ease-out);
}
.v3 .product-card .product-img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, rgba(246, 247, 255, 0) 30%, rgba(246, 247, 255, 0.6) 48%, rgba(246, 247, 255, 0) 66%);
  transform: translateX(-120%);
  pointer-events: none;
}
.v3 .product-card:hover .product-img-placeholder::after { transform: translateX(120%); transition: transform 1200ms var(--v3-ease-out); }
.v3 .product-card .product-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: translate3d(0, 4px, 0) scale(1.2);
  transition: transform 900ms var(--v3-ease-out);
}
.v3 .product-card:hover .product-img-placeholder img { transform: translate3d(0, -2px, 0) scale(1.26); }
/* The specimen stage (.sf-specimen): every card that shows a vial -- catalog,
   homepage and related-product cards -- shows the one master vial (the CEO's
   master mockup with each product's label, 2026-10-01; images/v3/specimens,
   from storefront.js / generate-seo.js cardHtml and cardHtmlV3, and the
   related cards on products/*.html): large, centred, standing on a deep navy
   stage with an
   out-of-focus molecule and helix (images/v3/stage), a quiet violet light
   column, a glossy floor, a crisp platform rim, a grounded contact shadow and
   a clean reflection. The vial is the hero: nothing is layered over it, and
   it is never blended or filtered, so glass, metal and label stay sharp. ---- */
/* the same stage holds a Vela Stack's three vials (.v3-vstage, css/v3-stack.css) */
.v3 .product-card .product-img-placeholder.sf-specimen,
.v3 .v3-vstage {
  height: var(--v3-specimen-h, 308px);
  padding: 0;
  background:
    /* corner marks */
    linear-gradient(rgba(194, 195, 244, 0.3), rgba(194, 195, 244, 0.3)) left 10px top 10px / 9px 1px no-repeat,
    linear-gradient(rgba(194, 195, 244, 0.3), rgba(194, 195, 244, 0.3)) left 10px top 10px / 1px 9px no-repeat,
    linear-gradient(rgba(194, 195, 244, 0.3), rgba(194, 195, 244, 0.3)) right 10px top 10px / 9px 1px no-repeat,
    linear-gradient(rgba(194, 195, 244, 0.3), rgba(194, 195, 244, 0.3)) right 10px top 10px / 1px 9px no-repeat,
    linear-gradient(rgba(194, 195, 244, 0.3), rgba(194, 195, 244, 0.3)) left 10px bottom 10px / 9px 1px no-repeat,
    linear-gradient(rgba(194, 195, 244, 0.3), rgba(194, 195, 244, 0.3)) left 10px bottom 10px / 1px 9px no-repeat,
    linear-gradient(rgba(194, 195, 244, 0.3), rgba(194, 195, 244, 0.3)) right 10px bottom 10px / 9px 1px no-repeat,
    linear-gradient(rgba(194, 195, 244, 0.3), rgba(194, 195, 244, 0.3)) right 10px bottom 10px / 1px 9px no-repeat,
    /* the contact shadow the vial stands in */
    radial-gradient(22% 2.8% at 50% 88%, rgba(1, 2, 27, 0.98) 0%, rgba(1, 2, 27, 0.75) 50%, rgba(1, 2, 27, 0) 100%),
    /* the platform: one crisp rim of light, a faint violet pool */
    radial-gradient(42% 6.5% at 50% 88.5%, rgba(155, 154, 240, 0) 79%, rgba(155, 154, 240, 0.55) 89%, rgba(118, 191, 230, 0.24) 93%, rgba(155, 154, 240, 0) 97%),
    radial-gradient(42% 6.5% at 50% 88.5%, rgba(89, 52, 207, 0.16) 0%, rgba(89, 52, 207, 0) 80%),
    /* the floor: a horizon line and a glossy dark plane */
    linear-gradient(90deg, rgba(155, 154, 240, 0) 4%, rgba(155, 154, 240, 0.32) 50%, rgba(155, 154, 240, 0) 96%) 0 76% / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(1, 2, 27, 0) 76%, rgba(8, 3, 39, 0.6) 76.4%, rgba(1, 2, 27, 0.92) 100%),
    /* the lab behind: light column, molecule, helix */
    url("/images/v3/stage/specimen-stage.webp") 50% 38% / cover no-repeat,
    var(--pv-night);
  box-shadow: inset 0 0 0 1px rgba(194, 195, 244, 0.08), inset 0 1px 0 rgba(246, 247, 255, 0.05);
}
/* nothing sits over the vial: no hover sweep, no haze */
.v3 .product-card .sf-specimen::after { content: none; }
/* the vial: 78% of the stage height, cap to base, standing on the platform */
.v3 .product-card .product-img-placeholder.sf-specimen img {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: auto;
  height: 78%;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: normal;
  transform: translate3d(-50%, 0, 0);
  -webkit-box-reflect: below 1px linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 89%, rgba(255, 255, 255, 0.2) 100%);
}
.v3 .product-card:hover .product-img-placeholder.sf-specimen img { transform: translate3d(-50%, -4px, 0); }
.v3 .product-card .product-card-body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 14px 6px 0; }
.v3 .product-card .category-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-periwinkle);
}
.v3 .product-card h3 { font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--v3-on-dark); }
.v3 .product-card .sf-card-title { color: var(--v3-on-dark); transition: color 200ms var(--v3-ease-out); }
.v3 .product-card .sf-card-title:hover { color: var(--pv-lavender); }
.v3 .product-card .sf-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; margin-top: 2px; }
.v3 .product-card .card-price { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--v3-on-dark); font-variant-numeric: tabular-nums; }
.v3 .product-card .sf-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v3-on-dark-soft);
}
.v3 .product-card .sf-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
.v3 .product-card .sf-stock-in { color: var(--v3-on-dark-muted); }
.v3 .product-card .sf-stock-in::before { background: var(--pv-cyan); border-color: var(--pv-cyan); box-shadow: 0 0 8px rgba(118, 191, 230, 0.9); }
.v3 .product-card .sf-card-use, .v3 .product-card .product-strength { font-size: 12px; line-height: 18px; color: var(--v3-on-dark-soft); margin-bottom: 10px; }
.v3 .product-card .product-card-body > .card-price { margin-bottom: 10px; }
.v3 .product-card:not(.v3-pcard) .btn-add-list,
.v3 .product-card:not(.v3-pcard) .btn-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid var(--v3-line-dark-strong);
  border-radius: var(--pv3-radius-full);
  background: rgba(246, 247, 255, 0.04);
  color: var(--v3-on-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 300ms var(--v3-ease-out), border-color 300ms var(--v3-ease-out), box-shadow 300ms var(--v3-ease-out), transform 160ms var(--v3-ease-out);
}
.v3 .product-card:not(.v3-pcard) .btn-add-list:hover,
.v3 .product-card:not(.v3-pcard) .btn-product:hover { background: var(--v3-action-gradient); border-color: transparent; box-shadow: 0 10px 24px -12px rgba(89, 52, 207, 0.85); }
.v3 .product-card:not(.v3-pcard) .btn-add-list:active { transform: scale(0.97); }
.v3 .product-card:not(.v3-pcard) .btn-oos,
.v3 .product-card:not(.v3-pcard) .btn-oos:hover { background: transparent; color: var(--v3-on-dark-soft); border-color: var(--v3-line-dark); box-shadow: none; cursor: not-allowed; }

/* ---- 16. Performance guard and reduced motion for the shared layers ---- */
.v3-lite .v3-scene-drift, .v3-lite .v3-dot { animation: none; }
.v3-lite .v3-scene-canvas { display: none; }

/* ---- 12. Reduced motion: no transforms, no loops; cross-fades only ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .v3-reveal.is-armed:not(.is-in), .v3-reveal--stagger.is-armed:not(.is-in) > * { transform: none; filter: none; }
  .v3-btn:active, .v3-icon-btn:active, .nav-links a:active { transform: none; }
  .v3-btn:hover svg, .v3-link:hover svg, .v3-return:hover svg { transform: none; }
  .v3-btn:hover::after { transform: translateX(-120%) skewX(-18deg); transition: none; }
  .v3-scene-drift, .v3-dot { animation: none !important; }
  .v3-scene-par { transform: none; }
  .v3-scene--mirror .v3-scene-par { transform: scaleX(-1); }
  .v3 .product-card:hover { transform: none; }
  .v3 .product-card:hover .product-img-placeholder img { transform: translate3d(0, 4px, 0) scale(1.2); }
  .v3 .product-card:hover .product-img-placeholder::after { transition: none; transform: translateX(-120%); }
  .v3 .product-card:hover .product-img-placeholder.sf-specimen img { transform: translate3d(-50%, 0, 0); }
  .v3-page-hero h1, .v3-page-hero .v3-label, .v3-page-lead { animation: none; }
}
