/* ==========================================================
   Next Level Research Labs — Home (light)
   Gradient sampled from brand backdrop: #E8EAF2 → #D5DBF1 → #B4C2F0 → #7A97EF
   ========================================================== */
:root {
  --g1: #e8eaf2;
  --g2: #d5dbf1;
  --g3: #b4c2f0;
  --g4: #7a97ef;
  --brand-grad: linear-gradient(135deg, var(--g1) 0%, var(--g2) 42%, var(--g3) 72%, var(--g4) 100%);
  --bg: #f3f4f9;
  --white: #ffffff;
  --navy: #0a1230;
  --navy-2: #1b2550;
  --text: #0a1230;
  --muted: #56607f;
  --dim: #8890aa;
  --line: rgba(10, 18, 48, .08);
  --line-2: rgba(10, 18, 48, .14);
  --blue: #1a3076; /* client brand blue */
  --blue-2: #5b72b8;
  --ok: #10a46e;
  --glass: rgba(255, 255, 255, .55);
  --radius: 24px;
  --shadow: 0 30px 60px -30px rgba(26, 46, 120, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  /* motion tokens */
  --ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
  --ease-out-quart: cubic-bezier(.165, .84, .44, 1);
  --ease-out-expo: cubic-bezier(.19, 1, .22, 1);
  --ease-in-out-cubic: cubic-bezier(.645, .045, .355, 1);
  --ease-in-out-quart: cubic-bezier(.77, 0, .175, 1);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
p { margin: 0; }
/* Highlighted heading phrases: same typeface as the heading, brand blue — no script/italic */
em { font-style: normal; color: var(--blue); }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.center { display: flex; justify-content: center; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Buttons ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .35s var(--ease), background .3s, box-shadow .35s, border-color .3s; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-dark { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -12px rgba(26, 48, 118, .55); }
.btn-dark:hover { background: #10204f; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(26, 48, 118, .7); }
.btn-glass { background: var(--glass); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(12px); color: var(--navy); }
.btn-glass:hover { background: #fff; transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--line-2); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: #fff; }
.btn-lg { --h: 58px; padding: 0 34px; font-size: 16px; }
.btn-block { width: 100%; }

.kicker { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }

/* ---------- Announcement ---------- */
.announce { background: var(--navy); color: #c9d2ef; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-align: center; padding: 10px 16px; }
.announce span { color: var(--blue-2); margin: 0 10px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--blue); transition: box-shadow .4s; }
.nav.scrolled { box-shadow: 0 12px 30px -18px rgba(10, 18, 48, .55); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; gap: 16px; }
.brand img { width: 300px; max-width: 100%; height: auto; }
.nav-left, .nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions { justify-content: flex-end; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; color: var(--navy); transition: background .25s; }
.icon-btn:hover { background: rgba(10,18,48,.06); }
.icon-btn svg { width: 21px; height: 21px; }
.nav .icon-btn { color: #fff; }
.nav .icon-btn:hover { background: rgba(255,255,255,.16); }
.nav .icon-btn:focus-visible, .brand:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nav .icon-btn svg { width: 26px; height: 26px; stroke-width: 2.1; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 10.5px; font-weight: 800; display: grid; place-items: center; transition: transform .4s var(--ease); }
.cart-count.zero { transform: scale(0); }
.cart-count.bump { transform: scale(1.35); }
.site-menu { position: absolute; top: 100%; left: max(24px, calc((100vw - 1240px) / 2)); width: min(380px, 100%); display: grid; padding: 8px 24px 20px; background: #fff; border-radius: 0 0 20px 20px; box-shadow: 0 30px 50px -24px rgba(10,18,48,.4); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
body.menu-open .site-menu { opacity: 1; visibility: visible; transform: none; }
.site-menu a { padding: 15px 0; font-size: 18px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); transition: color .25s; }
.site-menu a:last-child { border-bottom: 0; }
.site-menu a:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(26,48,118,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(26,48,118,0); } 100% { box-shadow: 0 0 0 0 rgba(26,48,118,0); } }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; line-height: 1.65; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section h2, .standard h2, .final-card h2 { font-size: clamp(38px, 4.8vw, 66px); letter-spacing: -.04em; line-height: 1.02; color: var(--navy); }
.section h2 em, .standard h2 em, .final-card h2 em { color: var(--blue); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head p { color: var(--muted); margin-top: 18px; font-size: 17px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card[hidden] { display: none; }
/* Filter chips */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px auto 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; color: var(--navy-2); transition: background 150ms ease, color 150ms ease, border-color 150ms ease; }
.chip span { font-family: var(--mono); font-size: 11px; font-weight: 500; opacity: .6; }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (hover: hover) { .chip:not(.active):hover { border-color: var(--navy); } }
/* Cards rise in one after another when the filter changes */
.card.pop-in { animation: popIn .5s var(--ease-out-quart) both; animation-delay: calc(var(--pi, 0) * 40ms); }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(10,18,48,.04); transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1 / .95; overflow: hidden; background: var(--brand-grad); }
.card-media::before { content: ""; position: absolute; inset: 12% 18% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), transparent 65%); }
.card-media::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 7%; height: 9%; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%); }
.card-media img { position: absolute; left: 0; right: 0; margin: auto; bottom: -1%; height: 97%; width: auto; z-index: 1; filter: drop-shadow(0 22px 22px rgba(26,46,120,.28)); transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: translateY(-8px) rotate(-2deg); }
.card-badge { position: absolute; top: 18px; left: 18px; z-index: 2; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.75); backdrop-filter: blur(8px); color: var(--navy); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-title { display: flex; flex-direction: column; gap: 2px; }
.card-title h3 { font-size: 21px; letter-spacing: -.02em; }
.price { font-weight: 800; font-size: 18px; }
.purity { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ok); margin-top: -8px; }
.purity::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(16,164,110,.14); }
.size-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -8px; }
.size { padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; color: var(--navy-2); transition: all .25s; }
.size:hover { border-color: var(--navy); }
.size.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; padding-top: 4px; }
.card-actions .btn { --h: 48px; }
.add-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--navy); transition: transform .3s var(--ease), background .3s, color .3s; }
.add-btn:hover { transform: rotate(90deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.add-btn svg { width: 20px; height: 20px; stroke-width: 2.2; }

/* ---------- The Standard (full-bleed gradient) ---------- */
.standard { position: relative; padding: clamp(84px, 11vw, 140px) 0; overflow: hidden; }
.standard-bg { position: absolute; inset: 0; background: var(--brand-grad); }
.standard-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 15% 40%, rgba(255,255,255,.6), transparent 70%); }
.standard-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.standard .lead { margin-top: 24px; color: var(--navy-2); opacity: .8; }
.pillars { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 12px; }
.pillars li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 22px 24px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.85); backdrop-filter: blur(14px); transition: transform .4s var(--ease), background .3s; }
.pillars li:hover { transform: translateX(6px); background: rgba(255,255,255,.8); }
.pillars .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 13px; }
.pillars h3 { font-size: 19px; letter-spacing: -.015em; margin: 2px 0 6px; }
.pillars p { color: var(--muted); font-size: 15px; }
.standard-visual { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); box-shadow: 0 50px 90px -40px rgba(26,46,120,.55); }
.standard-visual img { width: 100%; height: auto; }
.standard-badge { position: absolute; right: 22px; top: 22px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.8); backdrop-filter: blur(12px); display: grid; }
.standard-badge span { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ok); }
.standard-badge strong { font-size: 17px; }

/* ---------- Kit + partners ---------- */
.duo-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.duo-card { position: relative; border-radius: 28px; overflow: hidden; background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.1fr; min-height: 380px; transition: box-shadow .5s, transform .5s var(--ease); }
.duo-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.duo-alt { grid-template-columns: 1fr; background: var(--navy); color: #fff; }
.duo-alt::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(122,151,239,.55), transparent 65%); }
.duo-alt h3 { color: #fff; }
.duo-alt p { color: #b6c0e2 !important; }
.duo-alt .kicker { color: #9db3ff; }
.duo-alt .btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.duo-alt .btn-dark { background: #fff; color: var(--navy); }
.duo-alt .btn-dark:hover { background: var(--g3); }
.duo-media { position: relative; background: var(--brand-grad); }
.duo-media img { position: absolute; bottom: 10%; width: 32%; filter: drop-shadow(0 18px 18px rgba(26,46,120,.3)); transition: transform .7s var(--ease); }
.dm-1 { left: 8%; transform: rotate(-8deg); }
.dm-2 { left: 33%; width: 36% !important; bottom: 13% !important; z-index: 2; }
.dm-3 { left: 60%; transform: rotate(8deg); }
.duo-card:hover .dm-1 { transform: rotate(-12deg) translate(-6px, -6px); }
.duo-card:hover .dm-3 { transform: rotate(12deg) translate(6px, -6px); }
.duo-card:hover .dm-2 { transform: translateY(-10px); }
.duo-body { position: relative; padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.duo-body .kicker { margin-bottom: 0; }
.duo-body h3 { font-size: 30px; letter-spacing: -.03em; }
.duo-body p { color: var(--muted); }
.duo-body > .btn { align-self: flex-start; margin-top: 10px; }
.duo-body .cta-row { margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head p { color: var(--muted); margin: 20px 0 30px; max-width: 360px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; transition: color .3s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, color .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
details[open] .plus { background: var(--navy); border-color: var(--navy); color: #fff; }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details p { color: var(--muted); padding: 0 56px 24px 0; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 40px 0 clamp(84px, 10vw, 130px); background: var(--white); }
.final-card { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(70px, 9vw, 120px) 24px; text-align: center; background: var(--brand-grad); }
.final-card::before { content: ""; position: absolute; left: 50%; top: 50%; width: 700px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(255,255,255,.75), transparent 65%); }
.final-card > * { position: relative; }
.final-card h2 { font-size: clamp(42px, 6vw, 88px); }
.final-card p { color: var(--navy-2); opacity: .75; font-size: 17px; max-width: 520px; margin: 24px auto 0; }
.final-vial { position: absolute !important; width: 140px; filter: drop-shadow(0 24px 24px rgba(26,46,120,.3)); animation: float 8s ease-in-out infinite; }
.fv-1 { left: 5%; top: 14%; transform: rotate(-14deg); }
.fv-2 { right: 5%; bottom: 10%; transform: rotate(12deg); animation-delay: -3s; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; padding-bottom: 48px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { color: var(--muted); margin-top: 18px; max-width: 300px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.footer-cols h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 16px; }
.footer-cols a { display: block; color: var(--navy-2); font-size: 14.5px; padding: 5px 0; transition: color .25s; }
.footer-cols a:hover { color: var(--blue); }
.disclaimer { border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 22px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.7; background: var(--white); }
.footer-bottom { margin-top: 24px; font-size: 13px; color: var(--dim); text-align: center; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(10,18,48,.35); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 100; background: var(--white); transform: translateX(100%); transition: transform .55s var(--ease); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(10,18,48,.3); }
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.empty img { width: 52px; margin: 0 auto 18px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item .thumb { height: 76px; border-radius: 12px; background: var(--brand-grad); display: grid; place-items: center; }
.line-item .thumb img { height: 64px; }
.line-item h4 { font-size: 15px; }
.line-item small { color: var(--muted); font-size: 12.5px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 26px; height: 26px; font-size: 15px; color: var(--muted); }
.qty span { min-width: 16px; text-align: center; font-size: 13px; font-weight: 700; }
.line-item .lp { font-weight: 800; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.ship-progress { font-size: 13px; color: var(--muted); display: grid; gap: 8px; }
.ship-progress .bar { height: 5px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.ship-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--g4)); transition: width .6s var(--ease); }
.subtotal { display: flex; justify-content: space-between; font-size: 17px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 220%); opacity: 0; z-index: 120; padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 20px 50px -10px rgba(10,18,48,.5); transition: transform .5s var(--ease), opacity .4s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Motion ---------- */
.rise { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.stage-top .rise:nth-child(2) { animation-delay: .08s; }
.stage-bottom .rise:nth-child(1) { animation-delay: .2s; }
.stage-bottom .rise:nth-child(2) { animation-delay: .28s; }
.stage-bottom .rise:nth-child(3) { animation-delay: .36s; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .duo-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 900px) {
  .standard-inner, .faq-inner, .footer-top { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-head { position: relative; top: 0; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .announce { font-size: 11.5px; }
  .nav-inner { height: 72px; gap: 8px; }
  .nav-left, .nav-actions { gap: 0; }
  .nav .icon-btn { width: 40px; height: 40px; }
  .brand img { width: 44vw; }
  .site-menu { left: 0; width: 100%; border-radius: 0; }
  .lead { font-size: 16.5px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 14px; gap: 12px; }
  .card-title { flex-direction: column; gap: 2px; }
  .card-title h3 { font-size: 16px; }
  .price { font-size: 15px; }
  .purity { font-size: 11.5px; }
  .size-label { display: none; }
  .size { padding: 5px 9px; font-size: 12px; }
  .card-actions .btn { display: none; }
  .card-actions { grid-template-columns: 1fr; }
  .add-btn { width: 100%; height: 40px; border-radius: 999px; }
  .card-badge { top: 10px; left: 10px; font-size: 9px; padding: 4px 8px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: -28px -16px 28px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .duo-card { grid-template-columns: 1fr; }
  .duo-media { min-height: 240px; }
  .duo-body { padding: 32px 26px; }
  .pillars li { padding: 18px; grid-template-columns: 44px 1fr; }
  .pillars .num { width: 38px; height: 38px; }
  .faq-list summary { font-size: 16.5px; }
  .faq-list details p { padding-right: 0; }
  .final-card { border-radius: 26px; }
  .final-vial { width: 80px; opacity: .6; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Bundle & save ---------- */
.bundle-section { padding-bottom: 40px; }
#partners-wrap { padding-top: 40px; }
#partners-wrap .duo-grid { grid-template-columns: 1fr; }
#partners-wrap .duo-card { min-height: 0; }
#partners-wrap .duo-body { padding: 56px; max-width: 760px; }

.bundle { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 5vw, 64px); background: var(--brand-grad); border: 1px solid rgba(255,255,255,.8); }
.bundle::before { content: ""; position: absolute; width: 760px; height: 760px; right: -120px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.85), transparent 65%); pointer-events: none; }
.bundle > * { position: relative; }
.bundle-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 8px; background: #d9f6e7; color: #0b7a50; font-size: 13px; font-weight: 700; }
.bundle-copy h2 { font-size: clamp(38px, 4.8vw, 64px); letter-spacing: -.04em; line-height: 1.02; color: var(--navy); margin: 18px 0 20px; }
.bundle-copy h2 em { color: var(--blue); }
.bundle-copy p { color: var(--navy-2); opacity: .8; font-size: 17px; max-width: 470px; }
.bundle-copy .cta-row { margin-top: 30px; }
.bundle-box img { width: 100%; max-width: 620px; margin-left: auto; filter: drop-shadow(0 10px 30px rgba(26,46,120,.12)); transition: transform 1s var(--ease); }
.bundle:hover .bundle-box img { transform: translateY(-6px) rotate(-1deg); }

.bundle-calc { display: grid; justify-items: center; gap: 22px; margin: 28px auto 0; max-width: 680px; }
/* The vials in the bundle stand on a frosted glass tray. The PNGs have transparent padding, so they
   are drawn oversized and pulled together with negative margins. */
.bundle-vials { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 196px; padding: 0 30px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.22)); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 34px 54px -36px rgba(26,46,120,.55), inset 0 1px 0 #fff; backdrop-filter: blur(10px); }
.bundle-vials::after { content: ""; position: absolute; left: 9%; right: 9%; bottom: 9px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26,48,118,.3), transparent); filter: blur(5px); }
.bundle-vials img { position: relative; z-index: 1; height: 163px; width: auto; margin: 0 7px 8px; transform-origin: 50% 100%; filter: drop-shadow(0 12px 10px rgba(26,46,120,.25)); transition: opacity .3s ease, transform .45s var(--ease-out-quart), filter .3s ease; }
.bundle-vials img:nth-child(2) { transition-delay: 30ms; } .bundle-vials img:nth-child(3) { transition-delay: 60ms; } .bundle-vials img:nth-child(4) { transition-delay: 90ms; } .bundle-vials img:nth-child(5) { transition-delay: 120ms; } .bundle-vials img:nth-child(6) { transition-delay: 150ms; }
.bundle-vials img.off { opacity: .2; transform: scale(.88); filter: grayscale(1); }
@media (hover: hover) { .bundle-vials img:not(.off):hover { transform: scale(1.07); transition-delay: 0s; } }
.bundle-more { position: absolute; z-index: 2; right: -14px; top: -12px; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: all .35s var(--ease); }
.bundle-more.show { opacity: 1; transform: none; }
.stepper { display: flex; align-items: center; gap: 34px; }
.step-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); font-size: 22px; font-weight: 600; line-height: 1; display: grid; place-items: center; background: rgba(255,255,255,.5); transition: background .25s, color .25s, transform .2s; }
.step-btn:hover { background: var(--navy); color: #fff; }
.step-btn:active { transform: scale(.92); }
.step-btn:disabled { opacity: .3; pointer-events: none; }
.step-val { display: grid; justify-items: center; min-width: 90px; }
.step-val strong { font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.step-val span { font-size: 13px; color: var(--muted); }
.step-val strong.pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }
.tier-track { position: relative; width: 100%; height: 6px; border-radius: 6px; background: rgba(10,18,48,.12); margin: 6px 0 40px; }
.tier-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: inherit; background: var(--navy); transition: width .5s var(--ease); }
.tier { position: absolute; left: var(--p); top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; }
.tier i { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid rgba(10,18,48,.2); transition: all .35s var(--ease); }
.tier.on i { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(10,18,48,.1); }
.tier b, .tier small { position: absolute; top: 24px; white-space: nowrap; font-size: 13px; color: var(--navy-2); }
.tier small { top: 42px; font-size: 11px; color: var(--muted); }
.tier:last-child { transform: translate(-100%, -50%); justify-items: end; }
.tier:last-child b, .tier:last-child small { right: 0; }
.tier-msg { font-weight: 700; color: var(--navy); text-align: center; min-height: 1.6em; }
.tier-msg span { color: var(--blue); }
.bundle-note { margin-top: 36px; font-size: 13.5px; color: var(--navy-2); opacity: .75; }

.subtotal.discount { font-size: 14.5px; color: var(--ok); }
.subtotal[hidden] { display: none; }

@media (max-width: 900px) {
  .bundle-top { grid-template-columns: 1fr; }
  .bundle-box img { margin: 0 auto; }
}
@media (max-width: 640px) {
  .bundle { border-radius: 26px; padding: 30px 20px; }
  .bundle-vials { height: 124px; padding: 0 14px; border-radius: 22px; }
  .bundle-vials img { height: 102px; margin: 0 3px 6px; }
  .bundle-more { right: -6px; top: -12px; }
  .stepper { gap: 22px; }
  .tier-track { width: calc(100% - 24px); }
  #partners-wrap .duo-body { padding: 32px 26px; }
}

/* ==========================================================
   Studio photos (relabelled with the new label artwork)
   ========================================================== */
/* Catalog cards show the 3D vial renders (transparent PNGs) on the brand gradient. */
.line-item .thumb { overflow: hidden; }
.line-item .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* The Standard: photo background, copy on the right */
.standard-bg { background: #e8edfa; }
.standard-bg::after { background: none; }
.standard-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; }
.standard-inner { grid-template-columns: 1fr 1fr; }
.standard-copy { grid-column: 2; }
.standard .lead { color: var(--navy-2); opacity: .85; }
.pillars li { background: rgba(255,255,255,.72); border-color: rgba(255,255,255,.9); }

/* Bundle: photo as a framed tile on the gradient */
.bundle-box img { max-width: 620px; height: auto; border-radius: 24px; border: 1px solid rgba(255,255,255,.85); box-shadow: 0 40px 70px -40px rgba(26,46,120,.55); filter: none; }

/* Final CTA: photo with copy on the right */
.final-card { background: #e9edf9; text-align: left; padding: 0; min-height: 520px; display: flex; align-items: center; justify-content: flex-end; }
.final-card::before { display: none; }
.final-photo { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 15% 50%; }
.final-copy { position: relative; width: min(560px, 100%); margin-right: clamp(24px, 6vw, 90px); padding: 60px 0; }
.final-copy p { margin-left: 0; }
.final-copy .cta-row { justify-content: flex-start; }

.subtotal.discount { font-size: 14.5px; }

@media (max-width: 900px) {
  /* Photos stack above the copy on small screens, so no text sits over a vial */
  .standard { padding-top: 0; background: #e8edfa; }
  .standard-bg { position: relative; inset: auto; height: 72vw; margin-bottom: 40px; }
  .standard-bg img { object-position: 8% 50%; }
  .standard-inner { grid-template-columns: 1fr; }
  .standard-copy { grid-column: 1; }
  .final-card { display: block; min-height: 0; }
  .final-photo { position: relative !important; inset: auto; height: 62vw; object-position: 0% 50%; }
  .final-copy { margin: 0; width: 100%; padding: 32px 24px 44px; }
}

/* Closed cart must not cast a shadow onto the page edge */
.drawer { box-shadow: none; }
body.cart-open .drawer { box-shadow: -30px 0 60px -30px rgba(10,18,48,.3); }

@media (max-width: 350px) {
  .nav .icon-btn { width: 35px; height: 35px; }
  .nav .icon-btn svg { width: 23px; height: 23px; }
}

/* ==========================================================
   3D stage hero + scroll story
   ========================================================== */
@property --accent { syntax: "<color>"; inherits: true; initial-value: #38bdf8; }

.btn-light { background: #fff; color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.btn-light:hover { background: #e9edfa; transform: translateY(-2px); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }

/* height = viewport minus announcement bar (≈38px) and header (88px) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Hero + story share a light palette: white, the brand's blue-greys, and the product's blue tone (--accent). */
.stage, .story {
  --ink: #0d1a45; --ink-2: rgba(13,26,69,.62); --ink-line: rgba(13,26,69,.22);
  --accent-ink: color-mix(in srgb, var(--accent) 72%, #0a1236);
  /* --seam: the shared colour where the hero hands over to the story, so they read as one section. */
  --seam: color-mix(in srgb, var(--accent) 24%, #eef2fc);
}
.stage { position: relative; isolation: isolate; height: calc(100svh - 126px); min-height: 680px; max-height: 1040px; overflow: hidden; color: var(--ink); background: #f7f9ff; transition: --accent .9s var(--ease-out-cubic); }

/* Light studio backdrop: white at the top, a pool of the product's blue behind the vial and rising from the floor. */
.stage-glow { position: absolute; inset: 0; z-index: -2; overflow: hidden; background:
  linear-gradient(0deg, var(--seam) 0.0%, color-mix(in srgb, var(--seam) 96%, transparent) 5.0%, color-mix(in srgb, var(--seam) 85%, transparent) 10.5%, color-mix(in srgb, var(--seam) 64%, transparent) 16.8%, color-mix(in srgb, var(--seam) 40%, transparent) 23.1%, color-mix(in srgb, var(--seam) 20%, transparent) 29.4%, color-mix(in srgb, var(--seam) 6%, transparent) 35.7%, transparent 42.0%),
  radial-gradient(ellipse 30% 42% at 50% 54%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 72%),
  radial-gradient(ellipse 38% 42% at 8% 102%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 72%),
  radial-gradient(ellipse 38% 42% at 92% 102%, color-mix(in srgb, var(--accent) 48%, transparent), transparent 72%),
  linear-gradient(180deg, #ffffff 0%, #f2f5fd 45%, #dfe6f8 100%); }
.stage-glow::before, .stage-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.stage-glow::before { width: 70%; height: 42%; left: -14%; top: 22%; background: radial-gradient(closest-side, rgba(255,255,255,.9), transparent); animation: smoke 22s ease-in-out infinite alternate; }
.stage-glow::after { width: 60%; height: 44%; right: -12%; top: 22%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent); animation: smoke 28s ease-in-out -9s infinite alternate-reverse; }
@keyframes smoke { from { transform: translate3d(-4%, 3%, 0) scale(1); } to { transform: translate3d(6%, -4%, 0) scale(1.15); } }

/* The edges of the stage dim slightly; the spotlight itself is a real light in the 3D scene (stage3d.js). */
.stage-spot { position: absolute; inset: 0; z-index: -2; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 90%); mask-image: linear-gradient(180deg, #000 55%, transparent 90%); /* fades out before the join with the story */ background: radial-gradient(ellipse 58% 70% at 50% 54%, transparent 35%, rgba(13,26,69,.16) 75%, rgba(13,26,69,.26) 100%); }
/* The canvas fades out over its last fifth, so the spotlight pool and shadows never end in a hard line at the hero's bottom edge. */
/* The row can be dragged sideways; vertical swipes still scroll the page. */
.stage { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.stage.is-dragging { cursor: grabbing; }
.stage-canvas { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s var(--ease-out-quart); touch-action: pan-y; }
.stage.is-3d .stage-canvas { opacity: 1; }
.stage-fallback { position: absolute; inset: 26% 0 24%; z-index: -1; display: flex; justify-content: center; align-items: center; gap: 2%; }
.stage-fallback img { height: 44%; width: auto; opacity: .55; }
.stage-fallback img.is-main { height: 76%; opacity: 1; }
.stage.is-3d .stage-fallback { display: none; }

/* Headline */
.stage-top { position: absolute; left: 0; right: 0; top: clamp(34px, 5.5vh, 64px); z-index: 2; text-align: center; padding: 0 20px; pointer-events: none; }
.stage .eyebrow { background: rgba(255,255,255,.7); border-color: var(--ink-line); color: var(--ink); backdrop-filter: blur(8px); }
.stage .pulse { background: var(--accent); }
.stage h1 { margin-top: 16px; font-size: clamp(32px, 3.9vw, 58px); letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.stage h1 em { color: var(--accent-ink); transition: color .9s var(--ease-out-cubic); }

/* Viewfinder frame: corner brackets and a timer line along the top. */
.stage-frame { position: absolute; inset: clamp(14px, 2.4vw, 32px); pointer-events: none; z-index: 1; font-family: var(--mono); }
.stage-frame > i { position: absolute; width: 9px; height: 9px; border: 0 solid var(--ink-line); }
.stage-frame .tl { top: 14px; left: 0; border-width: 1px 0 0 1px; }
.stage-frame .tr { top: 14px; right: 0; border-width: 1px 1px 0 0; }
.stage-frame .bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.stage-frame .br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.stage-progress { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink-line); }
.stage-progress b { position: absolute; left: 0; top: 0; height: 1px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, transparent, var(--accent-ink)); }

.stage-arrow { position: absolute; top: 52%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; color: var(--ink); opacity: .7; transition: opacity 150ms ease, transform 240ms var(--ease-out-quart); }
.stage-arrow svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.stage-arrow.prev { left: calc(50% - clamp(120px, 13vw, 190px)); }
.stage-arrow.next { right: calc(50% - clamp(120px, 13vw, 190px)); }
@media (hover: hover) {
  .stage-arrow:hover { opacity: 1; }
  .stage-arrow.prev:hover { transform: translateX(-4px); }
  .stage-arrow.next:hover { transform: translateX(4px); }
}
.stage:not(.is-3d) .stage-arrow, .stage:not(.is-3d) .stage-slider { visibility: hidden; }

.stage-bottom { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3.4vh, 36px); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 1.8vh, 18px); text-align: center; pointer-events: none; }
.stage-bottom > * { pointer-events: auto; }
.stage-name { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(26px, 2.8vw, 42px); line-height: .92; letter-spacing: -.02em; color: var(--ink); }
.stage-name .ln { display: block; overflow: hidden; padding: 0 .08em; }
.stage-name .ln + .ln { color: var(--accent-ink); }
.stage-name .ch { display: inline-block; animation: chIn .75s var(--ease-out-expo) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes chIn { from { transform: translateY(110%) rotate(8deg); opacity: 0; } }
.stage-slider { position: relative; width: min(360px, 72vw); height: 22px; cursor: pointer; touch-action: none; }
.stage-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--track, linear-gradient(90deg, #38bdf8, #1a3076)); }
.stage-knob { position: absolute; top: 50%; left: var(--k, 0%); width: 15px; height: 15px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(13,26,69,.25), 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); transform: translate(-50%, -50%); transition: left .6s var(--ease-in-out-cubic); }
.stage-slider.dragging .stage-knob { transition: none; }
.stage-scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 4px 14px; transition: color 150ms ease; }
.stage-scroll::after { content: ""; width: 1px; height: 22px; background: linear-gradient(var(--ink-2), transparent); transform-origin: top; animation: scrollCue 1.8s var(--ease-in-out-cubic) infinite; }
@keyframes scrollCue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (hover: hover) { .stage-scroll:hover { color: var(--ink); } }
.stage :focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

.story { position: relative; height: 320vh; background: #f4f7ff; color: var(--ink); transition: --accent .9s var(--ease-out-cubic); }
.story:not(.is-3d) { display: none; }
.story-sticky { position: sticky; top: 88px; height: calc(100vh - 88px); overflow: hidden; isolation: isolate; }
/* A wash of the product's blue: white at the heart of the glow behind the vial, deepening toward the edges. */
.story-bg { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(ellipse 34% 48% at 58% 48%, #fff, color-mix(in srgb, var(--accent) 30%, #fff) 50%, transparent 78%),
  radial-gradient(ellipse 95% 110% at 55% 50%, color-mix(in srgb, var(--accent) 45%, #fff), color-mix(in srgb, var(--accent) 60%, #dfe6f8) 62%, color-mix(in srgb, var(--accent) 78%, #0d1a45) 130%); }
/* Mirror image of the hero's bottom fade, so the colour runs straight across the join. */
.story-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--seam) 0.0%, color-mix(in srgb, var(--seam) 96%, transparent) 5.0%, color-mix(in srgb, var(--seam) 85%, transparent) 10.5%, color-mix(in srgb, var(--seam) 64%, transparent) 16.8%, color-mix(in srgb, var(--seam) 40%, transparent) 23.1%, color-mix(in srgb, var(--seam) 20%, transparent) 29.4%, color-mix(in srgb, var(--seam) 6%, transparent) 35.7%, transparent 42.0%); }
/* Fixed to the viewport (same box the pinned story occupies) so the vial arriving from the hero is
   drawn whole, over the hero, instead of being cut at the join. stage3d.js hides it at the top of
   the page and moves it away with the story when the story ends. */
.story-canvas { position: fixed; top: 88px; left: 0; width: 100%; height: calc(100vh - 88px); z-index: -1; pointer-events: none; visibility: hidden; }
.story-frame { z-index: 0; }
/* One continuous frame: the hero keeps its top corners, the story its bottom ones. */
.story-frame .tl, .story-frame .tr, .stage-frame .bl, .stage-frame .br { display: none; }
.story-frame .bl, .story-frame .br { display: block; }

.story-ui { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.story-steps { position: relative; width: min(400px, 100%); height: 340px; }
.story-step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out-quart), transform .6s var(--ease-out-quart); }
.story-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story-title { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 3.3vw, 50px); letter-spacing: -.02em; line-height: .92; color: var(--ink); }
/* Copy sits inside small corner brackets, like a viewfinder. */
.story-step p { position: relative; font-size: 16px; line-height: 1.55; color: var(--ink); max-width: 330px; padding: 14px 18px; }
.story-step p::before, .story-step p::after { content: ""; position: absolute; width: 7px; height: 7px; border: 0 solid var(--ink-2); }
.story-step p::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.story-step p::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.story-step .btn { align-self: flex-start; }

.story-badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; pointer-events: auto; }
.story-badges::before { content: ""; position: absolute; left: 50%; top: -40px; bottom: -40px; width: 1px; background: linear-gradient(transparent, var(--ink-line) 20%, var(--ink-line) 80%, transparent); }
.story-badges li { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.75); border: 1px solid var(--ink-line); box-shadow: 0 8px 20px -10px rgba(13,26,69,.3); transition: background .3s ease, border-color .3s ease, transform .3s var(--ease-out-quart); }
.story-badges li.is-active { background: var(--accent-ink); border-color: var(--accent-ink); transform: scale(1.08); }
.story-badges svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.5; fill: none; transition: stroke .3s ease; }
.story-badges li.is-active svg { stroke: #fff; }
.story-badges span { position: absolute; right: calc(100% + 12px); white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: translateX(6px); transition: opacity .2s ease, transform .2s var(--ease-out-quart); }
.story-badges li:hover span, .story-badges li.is-active span { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .stage { min-height: 620px; }
  .stage-arrow.prev { left: 6px; }
  .stage-arrow.next { right: 6px; }
  .story-ui { align-items: flex-start; padding-top: 32px; }
  .story-steps { height: 260px; }
  .story-step { justify-content: flex-start; }
  .story-step p { font-size: 16px; }
  .story-badges { position: absolute; left: 16px; right: 16px; bottom: 22px; grid-auto-flow: column; justify-content: center; gap: 14px; }
  .story-badges::before { left: -16px; right: -16px; top: 50%; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--ink-line) 20%, var(--ink-line) 80%, transparent); }
  .story-badges li { width: 44px; height: 44px; }
  .story-badges span { display: none; }
}
@media (max-width: 640px) {
  /* header is 72px tall at this width */
  .stage { height: calc(100svh - 128px); } /* two-line announcement bar + 72px header */
  .stage-top { top: 26px; }
  .stage h1 { font-size: 30px; }
  .story-sticky { top: 72px; height: calc(100vh - 72px); }
  .story-canvas { top: 72px; height: calc(100vh - 72px); }
}

/* ==========================================================
   Page loader
   ========================================================== */
html.is-loading { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background:
  radial-gradient(ellipse 60% 55% at 50% 60%, #d5dbf1, transparent 70%),
  linear-gradient(180deg, #ffffff, #e8eaf2); transition: transform .9s var(--ease-in-out-quart), visibility 0s linear .9s; }
.loader.done { transform: translateY(-100%); visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 26px; width: min(320px, 70vw); transition: opacity .3s ease, transform .9s var(--ease-in-out-quart); }
.loader.done .loader-inner { opacity: 0; transform: translateY(40px); }
.loader-mark { position: relative; width: 100%; }
/* A light sweeps across the mark while loading. */
.loader-mark::after { content: ""; position: absolute; inset: -10%; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%); background-size: 250% 100%; animation: sheen 1.6s linear infinite;  -webkit-mask: url(../brand/logo-color.png) center / contain no-repeat; mask: url(../brand/logo-color.png) center / contain no-repeat; }
.loader-logo { width: 100%; height: auto; animation: loaderIn .9s var(--ease-out-expo) .12s both; }
.loader-bar { width: 100%; height: 2px; background: rgba(26,48,118,.14); border-radius: 2px; overflow: hidden; animation: loaderIn .9s var(--ease-out-expo) .2s both; }
.loader-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--lp, 0)); background: linear-gradient(90deg, #7a97ef, #1a3076); }
.loader-pct { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: #1a3076; font-variant-numeric: tabular-nums; animation: loaderIn .9s var(--ease-out-expo) .28s both; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }

/* Hero entrance once the loader has gone */
.stage-top, .stage-bottom, .stage-frame { transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo); }
html.is-loading .stage-top, html.is-loading .stage-bottom { opacity: 0; transform: translateY(24px); }
html.is-loading .stage-frame { opacity: 0; }
.stage-bottom { transition-delay: .25s; }

/* ==========================================================
   Motion graphics
   ========================================================== */
/* Scroll progress, along the bottom edge of the header */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform-origin: left; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, #7a97ef, #fff); pointer-events: none; }

/* Headings reveal word by word, each word rising out of a mask */
.split { opacity: 1 !important; transform: none !important; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-out-expo); transition-delay: calc(var(--wi) * 70ms + var(--d, 0s)); }
.split.in .w > span, .reveal.in .split .w > span { transform: none; } /* headings inside a revealed card reveal with it */

/* Trust ticker between the story and the catalog */
.ticker { position: relative; overflow: hidden; padding: 22px 0; background: #fff; border-block: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.ticker-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--blue); }
.ticker-track svg { width: 18px; height: 18px; fill: #7a97ef; flex: none; animation: spin 6s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Gentle parallax on large photos (driven by --py from JS) */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.06); will-change: transform; }

/* Cards and pillars lift their contents on hover; the element itself stays put */
@media (hover: hover) {
  .card:hover .card-media img { transform: translateY(-8px) rotate(-2deg); }
  .btn:hover svg { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .stage-glow::before, .stage-glow::after, .ticker-track, .ticker-track svg, .stage-scroll::after, .loader-mark::after { animation: none; }
  .split .w > span { transform: none; transition: none; }
  [data-parallax] { transform: none; }
  .loader, .loader-inner { transition-duration: .2s; }
}
html:not(.is-loading) .loader:not(.done) { display: none; } /* no JS, or already finished */
.standard-bg { overflow: hidden; }

/* ==========================================================
   Client revisions, 16 Nov
   ========================================================== */
/* Footer in the brand blue with the white logo, like the header. */
.footer { background: var(--blue); border-top: 0; color: #fff; }
.footer-brand img { height: 44px; }
.footer-brand p { color: rgba(255,255,255,.78); }
.footer-cols h4 { color: rgba(255,255,255,.6); }
.footer-cols a { color: #fff; }
.footer-cols a:hover { color: #c9d6ff; }
.footer .disclaimer { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.88); }
.footer-bottom { color: rgba(255,255,255,.65); }

/* Loader: brand blue with the white logo. */
.loader { background: radial-gradient(ellipse 60% 55% at 50% 55%, #24409a, transparent 70%), var(--blue); }
.loader-mark::after { -webkit-mask-image: url(../brand/logo-white.svg); mask-image: url(../brand/logo-white.svg); background-image: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); }
.loader-bar { background: rgba(255,255,255,.22); }
.loader-bar i { background: #fff; }
.loader-pct { color: #fff; }

/* Every piece of blue text uses the brand colour code (#1a3076), whatever product is selected. */
.stage h1 em, .stage-name .ln + .ln { color: var(--blue); }
.stage :focus-visible { outline-color: var(--blue); }
.story-badges li.is-active { background: var(--blue); border-color: var(--blue); }
.stage-progress b { background: linear-gradient(90deg, transparent, var(--blue)); }

/* Hero and story on a clean white studio: only a faint tint of blue behind the vial. */
.stage, .story { --seam: color-mix(in srgb, var(--accent) 7%, #ffffff); }
.stage { background: #fff; }
.stage-glow { background:
  linear-gradient(0deg, var(--seam) 0%, transparent 40%),
  radial-gradient(ellipse 32% 40% at 50% 56%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%),
  linear-gradient(180deg, #ffffff 0%, #fbfcff 55%, #f1f4fb 100%); }
.stage-glow::before { background: radial-gradient(closest-side, rgba(255,255,255,.9), transparent); }
.stage-glow::after { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 10%, transparent), transparent); }
.stage-spot { background: radial-gradient(ellipse 60% 72% at 50% 54%, transparent 40%, rgba(13,26,69,.05) 80%, rgba(13,26,69,.09) 100%); }
.story { background: #fff; }
.story-bg { background:
  radial-gradient(ellipse 36% 50% at 56% 50%, color-mix(in srgb, var(--accent) 14%, #fff), transparent 75%),
  linear-gradient(180deg, #ffffff, #f4f6fc); }
.story-bg::after { background: linear-gradient(180deg, var(--seam) 0%, transparent 40%); }

/* ==========================================================
   Product images: the vial on white with a soft shadow
   ========================================================== */
.card-media { background: #fff; aspect-ratio: 1 / .92; border-bottom: 1px solid var(--line); }
.card-media::before, .card-media::after { display: none; }
/* The whole square image fits inside the card, sitting low so the cap clears the badge in the corner. */
.card-media img { inset: auto 0 0; margin: 0 auto; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; filter: none; transform: translateY(6%) scale(0.9); transform-origin: 50% 82%; transition: transform .7s var(--ease-out-quart); }
.card:hover .card-media img { transform: translateY(6%) scale(0.9); }
@media (hover: hover) { .card:hover .card-media img { transform: translateY(3%) scale(0.93); } }
.card-badge { background: #eef1f9; color: var(--blue); backdrop-filter: none; z-index: 3; }
.line-item .thumb { background: #fff; border: 1px solid var(--line); }
.line-item .thumb img { object-fit: cover; padding: 0; transform: scale(1.2); }

/* Loader failsafe: never stays up longer than 6 s, even if the scripts arrive late (on WordPress
   the theme's script runs only after every plugin's tracking script has loaded). */
html.is-loading { overflow: auto; }
.loader { animation: nlLoaderFailsafe .6s ease 6s forwards; }
@keyframes nlLoaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
html.is-loading .stage-top, html.is-loading .stage-bottom, html.is-loading .stage-frame { animation: nlStageFailsafe .6s ease 6s forwards; }
@keyframes nlStageFailsafe { to { opacity: 1; transform: none; } }
