/* =====================================================================
   DESIGN D2 — Refined clone (refinedbiolabs layout/motion) for
   AURELIUS LABS. Color-NEUTRAL build: recolor via --accent / --accent-dark.
   Pure CSS + minimal vanilla JS. Mobile-first, responsive.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&display=swap');

:root{
  color-scheme:dark;
  /* ---- HALLOWEEN ACCENT CONTROL — pumpkin orange primary ---- */
  --accent:#ff7a1a;          /* pumpkin orange */
  --accent-dark:#ffa04d;     /* light orange */
  /* supporting Halloween accents */
  --purple:#8b5cf6;          /* eerie purple */
  --purple-dark:#6d28d9;     /* deep witch purple */
  --toxic:#8bff3d;           /* potion / toxic green (sparingly) */
  /* premium purple-charcoal base (clinical dark, not void black) */
  --bg:#0d0a14;              /* deep purple-charcoal, not pure black */
  --bg-soft:#120d1c;
  --band:#120d1c;
  --panel:#181320;           /* lifted dark panel */
  --card:#181320;
  --line:#2e2540;            /* purple hairline */
  --hair:#281f38;
  --ink:#f7f3ff;             /* headings ghost-white */
  --text:#efeaf5;
  --muted:#b4aec4;           /* muted lavender-grey */
  --soft:#857e97;
  --max:1240px;
  --radius-card:20px;
  --serif:'Playfair Display',Georgia,serif;
  --display:'Bricolage Grotesque',Inter,sans-serif;
  --shadow:0 18px 55px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:120px}
html,body{max-width:100%;overflow-x:hidden}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.6 'DM Sans',Arial,sans-serif}
button,input,select,textarea{font:inherit}
a{color:inherit;text-decoration:none}
button{cursor:pointer;color:inherit}
img{max-width:100%}
.wrap{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.eyebrow{color:var(--accent-dark);font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}

/* =====================================================================
   PROMO BANNER + COUNTDOWN
   ===================================================================== */
.promo{display:flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:8px 16px;flex-wrap:wrap;
  background:linear-gradient(90deg,#1a0f28 0%,#2a1206 50%,#1a0f28 100%);
  border-bottom:1px solid rgba(255,122,26,.35);
  color:#fff;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-align:center}
.promo-text{opacity:1;color:#ffe9d1}
.promo-text b,.promo-text strong{color:var(--accent)}
.promo-cd{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
.promo-cd .cd-box{display:inline-flex;flex-direction:column;align-items:center;min-width:34px;padding:3px 6px;
  background:rgba(255,122,26,.18);border:1px solid var(--accent);border-radius:7px;line-height:1}
.promo-cd .cd-num{font-size:14px;font-weight:800;letter-spacing:.02em;color:var(--accent)}
.promo-cd .cd-lab{font-size:7px;font-weight:600;letter-spacing:.1em;opacity:.9;margin-top:2px;color:#cfc6b2}
.promo-cd .cd-sep{opacity:.5;font-weight:400}
@media(max-width:600px){.promo{font-size:9px;gap:10px;letter-spacing:.1em}.promo-cd .cd-box{min-width:28px}.promo-cd .cd-num{font-size:12px}}

/* =====================================================================
   NAV
   ===================================================================== */
.nav-shell{position:sticky;top:0;z-index:40;background:rgba(26,18,48,.4);backdrop-filter:blur(16px);border-bottom:1px solid var(--hair)}
.nav-shell>.wrap{width:min(1340px,calc(100% - 48px))}
nav{height:74px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brandmark{display:flex;align-items:center;min-width:180px}
.brand-logo{display:block;width:190px;height:auto;max-height:52px;object-fit:contain;object-position:left center;filter:none}
.nav-links{display:flex;align-items:center;gap:30px;font-size:12px;font-weight:500;letter-spacing:.01em;color:var(--ink)}
.nav-links a{padding:6px 0;transition:color .2s}
.nav-links a:hover{color:var(--accent-dark)}
.nav-actions{display:flex;align-items:center;gap:10px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:999px;
  background:transparent;border:1px solid var(--line);color:var(--text);font-size:11px;font-weight:600;letter-spacing:.02em;white-space:nowrap;transition:.2s}
.icon-btn.ghost:hover{border-color:var(--accent);color:var(--accent-dark)}
.icon-btn.cart-btn{background:var(--accent);color:#160a02;border-color:var(--accent)}
.icon-btn.cart-btn:hover{background:var(--accent-dark);color:#160a02;border-color:var(--accent-dark);box-shadow:0 8px 22px rgba(255,122,26,.35)}
.cart-count{min-width:19px;height:19px;padding:0 5px;border-radius:50%;display:grid;place-items:center;background:#160a02;color:var(--accent);font-size:10px;font-weight:800}
.icon-btn.cart-btn:hover .cart-count{background:#160a02;color:var(--accent)}
.menu-toggle{display:none;flex-direction:column;gap:4px;width:44px;height:44px;align-items:center;justify-content:center;background:transparent;border:1px solid var(--line);border-radius:999px}
.menu-toggle span{display:block;width:17px;height:2px;background:var(--accent-dark);border-radius:2px;transition:.25s}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* Mobile overlay menu */
.mobile-panel{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;gap:0;padding:96px 28px 40px;
  background:rgba(15,14,12,.98);backdrop-filter:blur(18px);transform:translateY(-100%);opacity:0;pointer-events:none;
  transition:transform .32s cubic-bezier(.4,0,.2,1),opacity .32s}
.mobile-panel.open{transform:translateY(0);opacity:1;pointer-events:auto}
.mobile-panel a{width:100%;font-family:var(--display);font-size:21px;font-weight:600;color:var(--text);padding:17px 2px;border-bottom:1px solid var(--line)}
.mobile-panel a:hover{color:var(--accent-dark)}

/* =====================================================================
   PILLS / BUTTONS
   ===================================================================== */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:0 30px;border-radius:999px;
  font-size:14px;font-weight:600;letter-spacing:.005em;border:1px solid transparent;white-space:nowrap;
  transition:transform .18s,background .2s,box-shadow .2s,border-color .2s,color .2s}
.pill:hover{transform:translateY(-2px)}
.pill-primary{background:linear-gradient(180deg,var(--accent-dark),var(--accent));color:#160a02;box-shadow:0 10px 30px rgba(255,122,26,.28)}
.pill-primary:hover{box-shadow:0 14px 38px rgba(255,122,26,.45)}
.pill-ghost{background:transparent;color:var(--text);border-color:var(--accent)}
.pill-ghost:hover{border-color:var(--accent-dark);color:var(--accent-dark)}
/* generic .btn primary — same BLACK treatment, gold hover (used in empty cart etc.) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 24px;border-radius:999px;
  background:var(--accent);color:#160a02;border:1px solid var(--accent);font-size:12px;font-weight:700;letter-spacing:.04em;
  transition:background .2s,color .2s,border-color .2s,box-shadow .2s}
.btn:hover{background:var(--accent-dark);color:#160a02;border-color:var(--accent-dark);box-shadow:0 8px 22px rgba(255,122,26,.4)}

/* =====================================================================
   HERO — centered serif headline, floating vials, mouse parallax
   ===================================================================== */
.hero{position:relative;overflow:hidden;padding:clamp(56px,8vw,108px) 0 clamp(36px,5vw,64px);
  background:
    radial-gradient(760px 420px at 50% -4%,rgba(255,122,26,.26) 0,transparent 58%),
    radial-gradient(900px 520px at 78% 12%,rgba(139,92,246,.20) 0,transparent 64%),
    radial-gradient(1100px 620px at 50% 8%,#160f22 0,transparent 72%),
    var(--bg)}
.hero .wrap{width:min(var(--max),calc(100% - 48px))}
.hero-inner{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;z-index:1}
.hero-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:22px}
.hero-eyebrow:before,.hero-eyebrow:after{content:"";width:22px;height:1px;background:var(--accent)}
.hero-title{font-family:var(--serif);font-weight:600;font-size:clamp(44px,8.5vw,84px);line-height:1.02;letter-spacing:-.03em;margin:0 0 20px;color:var(--text)}
.hero-title em{font-style:normal;color:var(--accent);text-shadow:0 0 24px rgba(255,122,26,.45),0 0 48px rgba(255,122,26,.25);animation:flicker 4.5s linear infinite}
@media(prefers-reduced-motion:reduce){.hero-title em{animation:none}}
.hero-sub{max-width:520px;color:var(--muted);font-size:15px;line-height:1.75;margin:0 0 32px}
.hero-btns{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:430px}
.hero-btns .pill-primary{width:100%;max-width:310px}
.hero-btns-row{display:flex;gap:10px;width:100%;justify-content:center;flex-wrap:wrap}
.hero-btns-row .pill{flex:1 1 auto;min-width:0;min-height:48px;padding:0 22px;font-size:13px}

/* floating vials stage */
.hero-vials{position:relative;margin-top:clamp(42px,6vw,70px);width:100%;max-width:760px;height:clamp(300px,42vw,440px);
  display:flex;align-items:flex-end;justify-content:center;gap:clamp(8px,4vw,56px)}
.hero-vials:before{content:"";position:absolute;left:50%;top:38%;transform:translate(-50%,-50%) translateZ(0);
  width:min(620px,92%);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(255,122,26,.42) 0,rgba(139,92,246,.20) 46%,transparent 72%);z-index:0;will-change:auto}
.hero-vial{position:relative;z-index:1;height:100%;width:28%;max-width:32%;object-fit:cover;object-position:center;
  filter:drop-shadow(0 22px 30px rgba(0,0,0,.5));will-change:transform;transform:translateZ(0);backface-visibility:hidden}
.hero-vial.v1{height:82%;animation:bob 6s ease-in-out infinite}
.hero-vial.v2{height:100%;animation:bob 5.2s ease-in-out infinite .4s}
.hero-vial.v3{height:86%;animation:bob 6.6s ease-in-out infinite .8s}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-18px)}}
/* parallax wrapper set by JS via custom props */
.hero-vials{transition:transform .2s ease-out}
/* Decorative only: the glow circle extends up over the hero buttons, so the
   vials must never catch clicks or taps meant for them. */
.hero-vials,.hero-vials:before,.hero-vial{pointer-events:none}

@media(prefers-reduced-motion:reduce){
  .hero-vial.v1,.hero-vial.v2,.hero-vial.v3{animation:none}
}

/* =====================================================================
   MARQUEE TICKER
   ===================================================================== */
.ticker{overflow:hidden;border-block:1px solid var(--line);background:#0e0a16;padding:16px 0}
.ticker-track{display:flex;width:max-content;align-items:center;animation:tk 32s linear infinite;will-change:transform}
.ticker-group{display:flex;align-items:center;gap:30px;padding-right:30px;flex:0 0 auto;white-space:nowrap}
.ticker-track span{font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--accent-dark)}
.ticker-track .tk-dot{color:var(--accent);letter-spacing:0;font-size:13px}
@keyframes tk{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}}

/* =====================================================================
   SECTION RHYTHM + HEADINGS
   ===================================================================== */
section{padding:clamp(60px,8vw,96px) 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:40px}
.section-head h2,.center-head h2,.quality-intro h2,.verify-copy h2,.faq-intro h2{
  font-family:var(--display);font-weight:700;letter-spacing:-.025em;line-height:1.04;
  font-size:clamp(32px,4.4vw,52px);margin:10px 0 0;color:var(--text)}
.section-head p,.center-head p{max-width:540px;color:var(--muted);font-size:13px;margin:10px 0 0}
.center-head{text-align:center;margin-bottom:46px}
.center-head .eyebrow{display:inline-flex;justify-content:center}
.center-head p{margin-inline:auto}
.text-link{display:inline-flex;align-items:center;gap:8px;padding-bottom:6px;border-bottom:1px solid var(--accent);
  color:var(--accent-dark);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;transition:.2s}
.text-link:hover{color:var(--text);border-color:var(--text)}

/* =====================================================================
   QUALITY PROTOCOL — "every batch 8× tested"
   ===================================================================== */
.quality{background:var(--bg-soft);border-block:1px solid var(--line)}
.quality-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:62px;align-items:center}
.quality-intro h2{margin:14px 0 16px}
.quality-intro p{max-width:460px;color:var(--muted);font-size:13px}
.quality-intro .inline-actions{display:flex;gap:22px;flex-wrap:wrap;margin-top:26px}
.quality-board{padding:26px 28px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.board-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--line);
  color:var(--accent-dark);font-size:9px;letter-spacing:.14em;text-transform:uppercase}
.status-pill{border-radius:999px;border:1px solid var(--line);padding:4px 11px;color:var(--accent-dark);font-size:8px;letter-spacing:.12em}
.report-row{display:grid;grid-template-columns:34px 1fr auto;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--hair)}
.report-row:last-child{border:0}
.report-num{color:var(--accent-dark);font-family:var(--serif);font-size:18px;font-weight:700}
.report-row b{display:block;font-size:12px;font-weight:600}
.report-row small{color:var(--muted);font-size:10px}
.pass{color:var(--accent-dark);font-size:8px;letter-spacing:.12em;text-transform:uppercase}

/* =====================================================================
   WHY WE'RE DIFFERENT
   ===================================================================== */
.why{background:var(--bg)}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:6px}
.why-card{padding:28px 26px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-card)}
.why-card .wk{color:var(--accent-dark);font-family:var(--serif);font-size:28px;font-weight:700}
.why-card h3{font-family:var(--display);font-weight:700;font-size:20px;margin:12px 0 9px;color:var(--text)}
.why-card p{color:var(--muted);font-size:12.5px;line-height:1.65;margin:0}

/* =====================================================================
   TESTING PROTOCOL — numbered 01–08 grid
   ===================================================================== */
.protocol{background:var(--bg-soft);border-block:1px solid var(--line)}
.protocol-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:6px}
.protocol-card{min-height:150px;padding:24px 22px;background:var(--panel);border:1px solid var(--line);border-radius:16px;transition:transform .2s,border-color .2s}
.protocol-card:hover{transform:translateY(-4px);border-color:var(--accent)}
.protocol-card .pk{color:var(--accent-dark);font-family:var(--serif);font-size:32px;line-height:1;font-weight:700}
.protocol-card h3{font-family:var(--display);font-weight:700;font-size:16px;margin:13px 0 7px;color:var(--text)}
.protocol-card p{font-size:11.5px;color:var(--muted);margin:0;line-height:1.6}

/* =====================================================================
   CATALOGUE (featured products) — white+gold premium cards
   ===================================================================== */
.catalog-section{background:var(--bg)}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.product-card{position:relative;overflow:hidden;background:var(--panel);border:1px solid var(--line);
  border-radius:18px;box-shadow:0 14px 34px rgba(0,0,0,.45);
  transition:border-color .22s,transform .22s,box-shadow .22s}
.product-card:hover{border-color:var(--accent);transform:translateY(-6px);
  box-shadow:0 22px 52px rgba(0,0,0,.6),0 0 0 1px rgba(255,122,26,.4),0 0 26px rgba(255,122,26,.18)}
/* image tile — dark with a soft gold radial glow so vials lift off */
.product-art{height:230px;position:relative;overflow:hidden;display:block;
  background:
    radial-gradient(circle at 50% 42%,rgba(255,122,26,.22) 0,rgba(255,122,26,.06) 48%,transparent 72%),
    linear-gradient(180deg,#141019,#0d0912);
  border-bottom:1px solid var(--hair)}
.product-photo{width:100%;height:100%;object-fit:contain;padding:18px 18px 14px;transition:transform .4s}
.product-card:hover .product-photo{transform:scale(1.05)}
.tag{position:absolute;z-index:2;top:12px;left:12px;padding:4px 10px;border-radius:999px;border:1px solid var(--accent);
  background:#0f0b14;color:var(--accent);font-size:7px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  box-shadow:0 2px 8px rgba(0,0,0,.4)}
/* premium fallback when a product image is missing */
.photo-pending{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  text-align:center;padding:20px;
  background:radial-gradient(circle at 50% 40%,rgba(255,122,26,.18) 0,transparent 70%),linear-gradient(180deg,#141019,#0d0912);
  border:1px dashed var(--accent)}
.photo-pending span{color:var(--accent-dark);font-size:9px;font-weight:800;letter-spacing:.24em;text-transform:uppercase}
.photo-pending b{font-family:var(--display);font-weight:700;font-size:17px;color:var(--ink);line-height:1.15}
.photo-pending small{color:var(--muted);font-size:8px;letter-spacing:.18em;text-transform:uppercase}
.product-body{padding:16px 17px 18px}
.product-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.product-body h3{font-family:var(--display);font-weight:700;letter-spacing:-.02em;font-size:16px;line-height:1.2;margin:0;color:var(--ink)}
.product-body h3 a{color:var(--ink)}
.product-body h3 a:hover{color:var(--accent-dark)}
.product-row .price{flex:0 0 auto;font-family:var(--display);font-weight:800;font-size:17px;color:var(--accent-dark);white-space:nowrap}
/* category eyebrow in gold */
.product-cat{display:block;margin-bottom:8px;color:var(--accent-dark);font-size:9px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
/* Add to cart — BLACK primary, gold hover (consistent site-wide) */
.add-btn{margin-top:14px;width:100%;min-height:44px;border-radius:999px;background:var(--accent);color:#160a02;border:1px solid var(--accent);
  font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  transition:background .2s,color .2s,border-color .2s,box-shadow .2s}
.add-btn:hover{background:var(--accent-dark);color:#160a02;border-color:var(--accent-dark);box-shadow:0 8px 22px rgba(255,122,26,.4)}
.empty-state{grid-column:1/-1;padding:30px;text-align:center;border:1px dashed var(--accent);border-radius:16px;color:var(--muted)}

/* =====================================================================
   VERIFICATION CENTER — lot lookup
   ===================================================================== */
.verify-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:62px;align-items:center}
.verify-copy h2{margin:12px 0}
.verify-copy p{max-width:440px;color:var(--muted);font-size:13px}
.home-verify-form{display:flex;gap:10px;margin:22px 0 16px;flex-wrap:wrap}
.home-verify-form input{flex:1;min-width:220px;height:54px;padding:0 20px;border-radius:999px;background:var(--panel);border:1px solid var(--line);color:var(--text);outline-color:var(--accent)}
.verify-card{padding:26px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.cert-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line)}
.cert-header h3{font-family:var(--serif);font-weight:600;font-size:19px;margin:2px 0;color:var(--text)}
.cert-header small,.cert-grid small{font-size:8px;color:var(--muted);letter-spacing:.13em;text-transform:uppercase}
.cert-mark{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--accent);border-radius:50%;color:var(--accent-dark);font-size:16px;font-family:var(--serif)}
.cert-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:19px 0}
.cert-grid small{display:block;margin-bottom:4px}
.cert-grid b{font-size:11px;font-weight:600;color:var(--accent-dark)}

/* =====================================================================
   NEWSLETTER — "Lab Brief"
   ===================================================================== */
.labbrief{background:var(--bg-soft);border-block:1px solid var(--line)}
.labbrief-inner{display:flex;align-items:center;justify-content:space-between;gap:34px;flex-wrap:wrap;
  padding:38px 40px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}
.labbrief-copy{min-width:260px;flex:1}
.labbrief-copy h2{font-family:var(--display);font-weight:700;font-size:clamp(26px,3.2vw,36px);margin:8px 0 6px;color:var(--text)}
.labbrief-copy p{margin:0;color:var(--muted);font-size:13px;max-width:440px}
.news-form{display:flex;gap:10px;width:min(460px,100%);flex-wrap:wrap}
.news-form input{flex:1;min-width:200px;height:54px;padding:0 20px;border-radius:999px;background:var(--bg-soft);border:1px solid var(--line);color:var(--text);outline-color:var(--accent)}
.news-form .pill{min-height:54px}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq{display:grid;grid-template-columns:.72fr 1.28fr;gap:55px}
.faq-intro p{color:var(--muted);font-size:13px}
.faq-list details{border-bottom:1px solid var(--line);padding:18px 0}
.faq-list summary{display:flex;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:var(--text)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:"+";color:var(--accent-dark);font-size:22px;font-weight:600;line-height:1}
.faq-list details[open] summary:after{content:"−"}
.faq-list p{max-width:680px;margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.7}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer{margin-top:0;padding:58px 0 30px;border-top:1px solid var(--line);background:#07060a}
.footer-top{display:grid;grid-template-columns:1.45fr repeat(4,1fr);gap:28px;padding-bottom:34px;border-bottom:1px solid var(--line)}
.footer-brand .brand-logo{margin-bottom:12px}
.footer-brand p{max-width:270px;color:var(--muted);font-size:11px}
.footer-col b{display:block;color:var(--accent-dark);font-size:8px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:14px}
.footer-col a{display:block;margin:9px 0;color:var(--muted);font-size:11px;transition:color .2s}
.footer-col a:hover{color:var(--accent-dark)}
.footer-bottom{display:flex;justify-content:space-between;gap:15px;padding-top:20px;color:var(--soft);font-size:10px}
.disclaimer{max-width:900px;margin-top:20px;color:var(--soft);font-size:9px;line-height:1.7}

/* =====================================================================
   CART DRAWER + TOAST (kept compatible with site.js)
   ===================================================================== */
.overlay{position:fixed;z-index:70;inset:0;display:block;opacity:0;pointer-events:none;background:rgba(0,0,0,.6);transition:opacity .28s ease}
.overlay.open{opacity:1;pointer-events:auto}
.drawer{position:absolute;right:0;top:0;width:min(420px,100%);height:100%;overflow:auto;padding:25px;background:var(--panel);
  border-left:1px solid var(--line);box-shadow:var(--shadow);transform:translateX(100%);transition:transform .32s cubic-bezier(.22,.61,.36,1);display:flex;flex-direction:column}
.overlay.open .drawer{transform:translateX(0)}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px;border-bottom:1px solid var(--line)}
.drawer-head h2{font-family:var(--display);font-weight:700;margin:0;font-size:24px}
.close-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--text);font-size:22px}
.drawer-note{margin:15px 0;padding:13px;background:var(--bg-soft);border-radius:12px;color:var(--muted);font-size:10px}
.drawer-referral{padding:10px 12px;margin:0 0 12px;border:1px solid var(--line);border-radius:12px;color:var(--accent-dark);font-size:10px;line-height:1.6}
.cart-items{display:grid;gap:9px;flex:1;overflow:auto}
.cart-item{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px;background:var(--card);border:1px solid var(--line);border-radius:14px;align-items:center}
.cart-item b{display:block;font-size:13px}
.cart-item small{color:var(--muted);font-size:10px}
.remove-item{border:0;background:none;color:var(--accent-dark);font-size:10px}
.qty-control{display:inline-flex;align-items:center;gap:10px;margin-top:8px;border:1px solid var(--line);border-radius:999px;padding:3px 9px}
.qty-control button{width:28px;height:28px;border:0;background:transparent;color:var(--accent-dark);font-size:17px}
.qty-control output{min-width:18px;text-align:center;color:var(--text);font-size:12px}
.cart-summary{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);position:sticky;bottom:0;background:var(--panel)}
.cart-summary-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;letter-spacing:.02em;color:var(--text);margin-bottom:14px}
.cart-summary-row span:last-child{font-weight:700;color:var(--accent-dark)}
.checkout-btn{width:100%}
.toast{position:fixed;z-index:90;left:50%;bottom:22px;transform:translate(-50%,15px);opacity:0;pointer-events:none;padding:12px 18px;border-radius:999px;background:var(--accent);color:#160a02;font-size:11px;transition:.2s}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Focus visibility */
.pill:focus-visible,.icon-btn:focus-visible,.close-btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.add-btn:focus-visible{outline:2px solid var(--accent-dark);outline-offset:3px}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media(max-width:1050px){
  .nav-links{gap:18px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .protocol-grid{grid-template-columns:repeat(2,1fr)}
  .footer-top{grid-template-columns:1.4fr repeat(2,1fr)}
}
@media(max-width:920px){
  .nav-links{display:none}
  .menu-toggle{display:flex}
  .icon-btn.ghost{display:none}
}
@media(max-width:760px){
  .wrap,.nav-shell>.wrap,.hero .wrap{width:calc(100% - 36px)}
  nav{height:66px}
  .brand-logo{width:160px;max-height:44px}
  .section-head{flex-direction:column;align-items:flex-start;gap:16px}
  .quality-grid,.verify-grid,.faq{grid-template-columns:1fr;gap:30px}
  .why-grid{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .product-art{height:180px}
  .product-body h3,.product-row .price{font-size:14px}
  .labbrief-inner{padding:26px 22px}
  .footer-top{grid-template-columns:1fr 1fr;gap:20px}
  .footer-brand{grid-column:1/-1}
  .footer-bottom{flex-direction:column;gap:8px}
  /* iOS zoom guard */
  input,select,textarea{font-size:16px!important}
  .icon-btn{min-height:44px}
}
@media(max-width:480px){
  .hero-vials{gap:4px;height:clamp(240px,60vw,320px)}
  .protocol-grid{grid-template-columns:1fr}
}
@media(max-width:400px){
  .wrap,.nav-shell>.wrap,.hero .wrap{width:calc(100% - 28px)}
  .product-grid{grid-template-columns:1fr}
  .brand-logo{width:140px}
}

/* DARK DOMINANT colorway: GOLD fill primary buttons pop on dark */
.pill-primary{background:linear-gradient(180deg,var(--accent-dark),var(--accent));color:#160a02;box-shadow:0 10px 30px rgba(255,122,26,.3)}
.pill-primary:hover{background:var(--accent-dark);color:#160a02;box-shadow:0 14px 40px rgba(255,122,26,.45)}

/* =====================================================================
   🎃 HALLOWEEN FLOURISH LAYER (homepage) — CSS-only, 60fps-safe.
   Animations use only transform/opacity. No blur on animated nodes.
   All motion disabled under prefers-reduced-motion.
   ===================================================================== */

/* candle-flicker for the hero accent word (opacity only) */
@keyframes flicker{
  0%,100%{opacity:1}
  12%{opacity:.86}18%{opacity:1}
  34%{opacity:.78}40%{opacity:1}
  62%{opacity:.9}68%{opacity:.7}72%{opacity:1}
  88%{opacity:.92}
}

/* --- Hero spooky ambiance: drifting bats/ghost + low fog --- */
.hero{isolation:isolate}
/* soft fog rising from the bottom of the hero (pure gradient, static = cheap) */
.hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:40%;z-index:0;pointer-events:none;
  background:linear-gradient(0deg,rgba(26,15,40,.85) 0,rgba(26,15,40,.35) 45%,transparent 100%)}

/* drifting creatures layer */
.hero-haunt{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.hero-haunt span{position:absolute;opacity:0;font-size:26px;line-height:1;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.5));will-change:transform,opacity}
.hero-haunt .h1{left:-6%;top:22%;animation:drift1 19s linear infinite}
.hero-haunt .h2{left:-8%;top:58%;font-size:20px;animation:drift2 26s linear infinite 4s}
.hero-haunt .h3{left:-6%;top:40%;font-size:30px;animation:drift1 23s linear infinite 9s}
.hero-haunt .h4{left:-8%;top:74%;font-size:18px;animation:drift2 31s linear infinite 2s}
@keyframes drift1{
  0%{transform:translate(0,0) rotate(-4deg);opacity:0}
  8%{opacity:.5}
  50%{transform:translate(58vw,-26px) rotate(4deg);opacity:.55}
  92%{opacity:.5}
  100%{transform:translate(116vw,10px) rotate(-4deg);opacity:0}
}
@keyframes drift2{
  0%{transform:translate(0,0) rotate(3deg);opacity:0}
  10%{opacity:.4}
  50%{transform:translate(60vw,22px) rotate(-3deg);opacity:.45}
  90%{opacity:.4}
  100%{transform:translate(118vw,-14px) rotate(3deg);opacity:0}
}
@media(prefers-reduced-motion:reduce){
  .hero-haunt{display:none}
}

/* --- Ticker: alternate orange / purple accents --- */
.ticker-track span{color:var(--accent-dark)}
.ticker-track .tk-dot{color:var(--purple)}

/* --- Protocol + why numbers: orange, hover lifts to purple-glow --- */
.protocol-card:hover{border-color:var(--accent);box-shadow:0 14px 34px rgba(0,0,0,.5),0 0 22px rgba(139,92,246,.22)}
.why-card{transition:border-color .2s,transform .2s,box-shadow .2s}
.why-card:hover{border-color:var(--accent);transform:translateY(-4px);box-shadow:0 14px 34px rgba(0,0,0,.5),0 0 22px rgba(255,122,26,.18)}

/* --- Product cards: orange hairline + orange/purple glow on hover --- */
.product-card:hover{border-color:var(--accent);
  box-shadow:0 22px 52px rgba(0,0,0,.6),0 0 0 1px rgba(255,122,26,.4),0 0 26px rgba(139,92,246,.22)}

/* --- Pill-ghost secondary = purple outline for Halloween contrast --- */
.pill-ghost{border-color:var(--purple)}
.pill-ghost:hover{border-color:var(--accent-dark);color:var(--accent-dark);box-shadow:0 0 18px rgba(139,92,246,.3)}

/* subtle toxic-green tick on the verification check mark vibe */
.cert-mark{border-color:var(--accent);color:var(--accent-dark);box-shadow:0 0 16px rgba(255,122,26,.22)}

/* ===== MINIMAL / SMALL FOOTER ===== */
.footer-mini {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  background: #0a0810;
}
.footer-mini .wrap { display: flex; flex-direction: column; gap: 14px; }
.footer-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-mini .brand-logo { height: 26px; width: auto; opacity: 0.9; }
.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-mini-links a {
  color: #9b94a8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-mini-links a:hover { color: #e0a94c; }
.footer-mini-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #6b6478;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 12px;
}
@media (max-width: 640px) {
  .footer-mini-row { justify-content: center; text-align: center; }
  .footer-mini-links { justify-content: center; }
  .footer-mini-bottom { justify-content: center; text-align: center; }
}

/* ===== CLEAN PROMO BANNER (single line, no countdown clash) ===== */
.promo-clean{
  gap:0;
  min-height:38px;
  padding:9px 16px;
  background:rgba(26,18,48,.55);
  border-bottom:1px solid var(--hair);
  font-size:11px;letter-spacing:.1em;
}
.promo-clean .promo-text{
  color:#ffe9d1;
  line-height:1.4;
  display:block;
  max-width:900px;
}
@media(max-width:600px){
  .promo-clean{font-size:9.5px;letter-spacing:.05em;padding:8px 14px}
  .promo-clean .promo-text{text-transform:none;font-weight:600}
}

/* ============================================================
   OPTION A — PREMIUM-CLINICAL DARK (purple identity)
   Goal: keep the dark, kill the "grey-market void" feel. Purple
   becomes the identity (not an afterthought on black), trust reads
   higher, lab-grade premium. Pure CSS — no HTML/image/checkout edits.
   ============================================================ */

/* ---- whole-page atmospheric purple-charcoal (no dead black) ---- */
body.pdp-atmos{background:
  radial-gradient(1100px 680px at 50% -2%,rgba(139,92,246,.14) 0,transparent 58%),
  radial-gradient(900px 620px at 88% 24%,rgba(139,92,246,.07) 0,transparent 60%),
  radial-gradient(900px 620px at 8% 66%,rgba(139,92,246,.06) 0,transparent 60%),
  var(--bg)}

/* ---- HERO (homepage) lifted to the same premium purple identity ---- */
.hero{background:
  radial-gradient(760px 420px at 50% -4%,rgba(139,92,246,.30) 0,transparent 58%),
  radial-gradient(900px 520px at 80% 14%,rgba(255,122,26,.12) 0,transparent 62%),
  radial-gradient(1100px 640px at 50% 6%,#1a1230 0,transparent 72%),
  var(--bg)}
.hero-vials:before{background:radial-gradient(circle,rgba(139,92,246,.42) 0,rgba(255,122,26,.12) 46%,transparent 72%)}

/* ---- top band (breadcrumb + title) ---- */
.page-hero{position:relative;isolation:isolate;padding-top:clamp(28px,4vw,46px);padding-bottom:clamp(26px,3.5vw,40px);border-radius:0 0 22px 22px;
  background:
    radial-gradient(680px 340px at 22% -20%,rgba(139,92,246,.28) 0,transparent 62%),
    radial-gradient(640px 320px at 90% -10%,rgba(255,122,26,.10) 0,transparent 64%),
    linear-gradient(180deg,#1a1230 0,transparent 80%),
    var(--bg)}
.page-hero .breadcrumb,.page-hero .eyebrow,.page-hero h1,.page-hero p{position:relative;z-index:1}

/* ---- the vial image panel — clean purple halo (lab-grade, not muddy) ---- */
.product-detail-card.verify-card{position:relative;overflow:hidden;
  background:
    radial-gradient(440px 440px at 50% 34%,rgba(139,92,246,.20) 0,transparent 68%),
    linear-gradient(180deg,#191130 0,var(--panel) 72%);
  border-color:var(--line)}
.product-detail-card .detail-art{position:relative;z-index:1}
.product-detail-card .detail-art:before{content:"";position:absolute;left:50%;top:52%;
  width:80%;height:72%;transform:translate(-50%,-50%);z-index:0;pointer-events:none;
  background:radial-gradient(circle,rgba(139,92,246,.34) 0,rgba(139,92,246,.10) 50%,transparent 74%);filter:blur(5px)}
.product-detail-card .detail-product-photo{position:relative;z-index:1}

/* ---- price chip — purple-tinted card ---- */
.detail-price{background:linear-gradient(180deg,rgba(139,92,246,.14),rgba(139,92,246,.04));
  border:1px solid var(--line);border-radius:14px;padding:14px 18px;display:inline-flex;
  flex-direction:column;gap:2px;margin:4px 0 2px}
.detail-price b{color:var(--ink)}
.detail-price small{color:var(--muted)}

/* ---- Independent analysis section — soft purple fog ---- */
.protocol{position:relative;overflow:hidden;background:
  radial-gradient(760px 380px at 50% -10%,rgba(139,92,246,.12) 0,transparent 66%),
  var(--bg-soft)}
.protocol>.wrap{position:relative;z-index:1}

/* ---- report card — purple sheen + stronger purple COA mark ---- */
.report-detail.verify-card{background:
  radial-gradient(520px 320px at 15% 0%,rgba(139,92,246,.12) 0,transparent 64%),
  linear-gradient(180deg,#191130 0,var(--panel) 72%);border-color:var(--line)}
.report-detail .cert-mark{border-color:var(--purple);color:var(--purple-dark)}

/* ---- records/route cards — tighten dead gap + purple hover ---- */
.route-grid{position:relative;margin-top:clamp(10px,2vw,20px)}
.route-grid:before{content:"";position:absolute;left:50%;bottom:-40%;width:120%;height:160%;
  transform:translateX(-50%);z-index:0;pointer-events:none;
  background:radial-gradient(60% 50% at 50% 50%,rgba(139,92,246,.09) 0,transparent 70%)}
.route-grid>*{position:relative;z-index:1}
.route-grid .detail-card:hover{border-color:var(--purple);box-shadow:0 14px 34px rgba(0,0,0,.5),0 0 22px rgba(139,92,246,.26)}

/* ---- OPTION A: shop/catalogue grid cards → premium purple identity ---- */
.product-card{background:linear-gradient(180deg,#191130 0,var(--panel) 72%);border-color:var(--line)}
.product-card:hover{border-color:var(--purple);
  box-shadow:0 22px 52px rgba(0,0,0,.6),0 0 0 1px rgba(139,92,246,.45),0 0 28px rgba(139,92,246,.22)}
/* image tile — clean purple halo so dark vials lift off the card */
.product-art{background:
  radial-gradient(circle at 50% 42%,rgba(139,92,246,.30) 0,rgba(139,92,246,.09) 48%,transparent 72%),
  linear-gradient(180deg,#1b1338,#120d1c)}
.photo-pending{background:
  radial-gradient(circle at 50% 40%,rgba(139,92,246,.22) 0,transparent 70%),
  linear-gradient(180deg,#1b1338,#120d1c);border:1px dashed var(--purple)}
.photo-pending span{color:#c4b5fd}
.tag{border-color:var(--purple);background:#160f26;color:#c4b5fd}

/* ---- OPTION A: catalogue page — sync background + header + footer ----
   One cohesive purple-charcoal surface (like refinedbiolabs): no cards
   floating on dead black; nav + footer share the page tone. ---- */
body.shop-synced{background:
  radial-gradient(1100px 680px at 50% -2%,rgba(139,92,246,.16) 0,transparent 56%),
  radial-gradient(1000px 700px at 85% 40%,rgba(139,92,246,.07) 0,transparent 60%),
  radial-gradient(1000px 700px at 10% 80%,rgba(139,92,246,.06) 0,transparent 60%),
  var(--bg)}
/* header synced to the same tone (was a different brown-black) */
body.shop-synced .nav-shell{background:rgba(20,15,32,.82);backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line)}
/* footer synced — purple-charcoal, not near-pure black, with soft top wash */
body.shop-synced footer{background:
  radial-gradient(900px 300px at 50% 0%,rgba(139,92,246,.10) 0,transparent 70%),
  linear-gradient(180deg,#140d20 0,#100b1a 100%);
  border-top:1px solid var(--line)}
/* page title band (if present) kept transparent so the body wash shows through */
body.shop-synced .page-hero{background:transparent;border-radius:0}

/* ---- OPTION A: catalogue — fully blend the top stack (promo+nav) ----
   Make promo banner + nav transparent so the page's purple wash flows
   straight through; only a hairline divider keeps the nav legible. ---- */
body.shop-synced .promo,
body.shop-synced .promo-clean{background:rgba(26,18,48,.55);border-bottom:1px solid var(--hair)}
body.shop-synced .nav-shell{background:rgba(26,18,48,.35);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--hair)}
/* when scrolled the sticky nav gets a touch more tint for legibility */
body.shop-synced .nav-shell{box-shadow:0 1px 0 rgba(139,92,246,.10)}

/* ---- OPTION A: blend the .annc promo strip (shop uses .annc, in site.css) ----
   Override the flat #0e0a16 black bar so the top strip matches the page wash. */
body.shop-synced .annc{background:rgba(26,18,48,.5)!important;border-bottom:1px solid var(--hair)!important}
body.pdp-atmos .annc{background:rgba(26,18,48,.5)!important;border-bottom:1px solid var(--hair)!important}

/* ---- Unified header: give the homepage body the same top purple wash
   so the nav + promo sit on the identical tone as shop/product pages ---- */
body{background:
  radial-gradient(1100px 520px at 50% -2%,rgba(139,92,246,.16) 0,transparent 52%),
  var(--bg)}

/* ---- Stronger purple tint baked INTO promo+nav so the header reads
   clearly purple on EVERY page, not reliant on the body wash behind ---- */
.promo-clean{background:linear-gradient(180deg,#241a3e,#1d1533) !important;border-bottom:1px solid var(--hair) !important}
.nav-shell{background:rgba(31,22,56,.72) !important;backdrop-filter:blur(16px) !important;border-bottom:1px solid var(--hair) !important}
