/* =====================================================================
   GENESIS LIFETECH — STYLES
   Brand idea: the rapid-test read window. Teal = control line,
   burgundy = test line (the colour of a colloidal-gold result).
   ===================================================================== */
:root {
  --bg: #EEF3F3;
  --surface: #FFFFFF;
  --surface-2: #F6F9F9;
  --ink: #0C1C24;
  --muted: #4E666F;
  --line: #D3DEE0;
  --control: #137F8C;
  --test: #A3224F;
  --test-soft: #F3DCE5;
  --amber: #C98A1B;
  --chamber: #06131A;
  --chamber-2: #0B1F28;
  --on-chamber: #E6F0F1;
  --on-chamber-muted: #93AAB1;
  --glass: rgba(255,255,255,.07);
  --glass-line: rgba(255,255,255,.14);
  --shadow: 0 1px 2px rgba(12,28,36,.06), 0 12px 32px -12px rgba(12,28,36,.18);
  --radius: 14px;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #081419; --surface: #0E1F27; --surface-2: #112630; --ink: #E4EEEF; --muted: #93A9B0;
    --line: #1F3743; --control: #3CC2CE; --test: #E4588A; --test-soft: #3A1826; --amber: #E7AE45;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #081419; --surface: #0E1F27; --surface-2: #112630; --ink: #E4EEEF; --muted: #93A9B0;
  --line: #1F3743; --control: #3CC2CE; --test: #E4588A; --test-soft: #3A1826; --amber: #E7AE45;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--control); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 12px; }
.sel { user-select: all; }

.eyebrow { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--on-chamber-muted); display: flex; align-items: center; gap: 10px; }
.eyebrow.dark { color: var(--control); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3CC2CE; box-shadow: 0 0 0 0 rgba(60,194,206,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(60,194,206,0); } 100% { box-shadow: 0 0 0 0 rgba(60,194,206,0); } }

/* ---------- buttons ---------- */
.btn-primary, .btn-glass, .btn-ghost, .btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn-primary { background: var(--test); color: #fff; box-shadow: 0 10px 24px -10px var(--test); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px var(--test); }
.btn-glass { background: var(--glass); border-color: var(--glass-line); color: var(--on-chamber); backdrop-filter: blur(10px); }
.btn-glass svg { width: 20px; height: 20px; }
.btn-glass:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: transparent; border-color: var(--glass-line); color: var(--on-chamber); min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-ghost.dark { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: currentColor; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #179147; }
.sm { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 90; display: none; }
@media (hover: hover) and (pointer: fine) { body.has-cursor .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--test); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(60,194,206,.55); transition: width .35s, height .35s, margin .35s, background .35s, border-color .35s; display: grid; place-items: center; }
.cursor-ring em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #E6F0F1; opacity: 0; transition: opacity .3s; white-space: nowrap; }
body.cursor-lens .cursor-ring { width: 120px; height: 120px; margin: -60px 0 0 -60px; border-color: rgba(230,240,241,.35); }
body.cursor-lens .cursor-ring em { opacity: .85; }
body.cursor-hot .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(163,34,79,.12); border-color: var(--test); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--chamber) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--glass-line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; color: var(--on-chamber); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 24px; height: 30px; }
.brand-word { font-family: var(--f-display); font-size: 21px; letter-spacing: -.03em; font-weight: 500; }
.brand-word b { font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: 20px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--on-chamber-muted); transition: color .2s; }
.nav-links a:hover { color: var(--on-chamber); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.btn-list { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 8px 0 14px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--on-chamber); font-size: 14px; font-weight: 600; }
.btn-list svg { width: 18px; height: 18px; }
.btn-list b { min-width: 24px; height: 24px; border-radius: 12px; background: var(--test); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 6px; font-family: var(--f-mono); }
.btn-list.bump b { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { width: 16px; height: 1.6px; background: var(--on-chamber); display: block; transition: transform .3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 70% 30%, #0F2F3A 0%, var(--chamber) 58%); color: var(--on-chamber); overflow: hidden; padding: calc(96px + env(safe-area-inset-top, 0px)) 0 28px; isolation: isolate; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.scene-reveal { z-index: -1; --mx: 70%; --my: 40%; --r: 170px;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.85) 45%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.85) 45%, transparent 100%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .45; }
.hero-grid { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: min(640px, 76vh); }
.hero-copy { display: grid; gap: 22px; max-width: 580px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); font-weight: 700; letter-spacing: -.045em; line-height: .98; font-variation-settings: "wdth" 88; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #3CC2CE, #E4588A); -webkit-background-clip: text; background-clip: text; }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--on-chamber-muted); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: #5E7880; text-transform: uppercase; }

.stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.stage-halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(60,194,206,.28), rgba(228,88,138,.08) 55%, transparent 70%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.07); opacity: .8; } }
.stage-orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(230,240,241,.12); animation: spin 60s linear infinite; }
.stage-orbit span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #3CC2CE; top: -4px; left: 50%; box-shadow: 0 0 12px #3CC2CE; }
.stage-orbit span + span { background: #E4588A; top: auto; bottom: -4px; box-shadow: 0 0 12px #E4588A; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-product { position: absolute; inset: 14% 18% 22%; display: grid; place-items: center; perspective: 900px; }
.stage-product .render, .stage-product img { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.stage-product .swap-in { animation: swapIn .8s cubic-bezier(.2,.8,.2,1) both, float 7s 0.8s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotateY(-10deg) rotateX(4deg); } 50% { transform: translateY(-12px) rotateY(10deg) rotateX(-2deg); } }
@keyframes swapIn { from { opacity: 0; transform: translateY(40px) scale(.85) rotateY(-40deg); } to { opacity: 1; transform: none; } }
.stage-product .tl, .stage-product .cl { transform-box: fill-box; transform-origin: center; }
.stage-product.reading .flow { animation: flow 2.6s ease-out forwards; }
.stage-product.reading .cl { animation: lineIn 1s 1.4s both; }
.stage-product.reading .tl { animation: lineIn 1.2s 2.2s both; }
@keyframes flow { 0% { opacity: .0; clip-path: inset(100% 0 0 0); } 30% { opacity: .55; } 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
@keyframes lineIn { from { opacity: 0; transform: scaleX(.3); } to { opacity: 1; transform: none; } }

.widget { position: absolute; background: rgba(9,27,35,.62); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; min-width: 128px; max-width: 190px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transition: opacity .4s, transform .4s; }
.widget small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-chamber-muted); }
.widget b { font-family: var(--f-display); font-size: 17px; font-weight: 600; line-height: 1.2; }
.widget span { font-size: 12px; color: var(--on-chamber-muted); }
.w-principal { left: -2%; top: 10%; }
.w-time { right: -2%; top: 16%; }
.w-time b { font-family: var(--f-mono); font-size: 22px; color: #3CC2CE; }
.w-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 6px; }
.w-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3CC2CE, #E4588A); }
.w-bar i.run { animation: bar 4s linear forwards; }
@keyframes bar { to { width: 100%; } }
.w-sample { left: 0; bottom: 30%; }
.w-targets { right: 0; bottom: 26%; }
.w-targets ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; font-size: 12.5px; }
.w-targets li { display: flex; gap: 7px; align-items: center; }
.w-targets li::before { content: ""; width: 10px; height: 3px; border-radius: 2px; background: #E4588A; flex: none; }
.widget.swap { opacity: 0; transform: translateY(6px); }
.stage-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; display: grid; gap: 6px; justify-items: center; }
.stage-format { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-chamber-muted); }
.stage-name { font-size: clamp(18px, 2vw, 24px); font-weight: 600; max-width: 30ch; }
.stage-btns { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; justify-content: center; }
.chip-btn { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--on-chamber); font-size: 13px; font-weight: 600; }
.chip-btn.solid { background: #E6F0F1; color: var(--chamber); border-color: #E6F0F1; }
.chip-btn:hover { border-color: #3CC2CE; }

/* the dock */
.dock-wrap { max-width: var(--maxw); margin: 26px auto 0; padding-inline: var(--gutter); display: grid; justify-items: center; gap: 10px; }
.dock { display: flex; align-items: flex-end; gap: 6px; padding: 10px 12px; height: 86px; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.8); max-width: 100%; }
.dock-item { position: relative; width: 58px; height: 58px; flex: none; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); display: grid; place-items: center; transform-origin: bottom center; transition: transform .18s ease-out, background .2s; padding: 4px; }
.dock-item svg, .dock-item img { width: 100%; height: 100%; pointer-events: none; }
.dock-item[aria-selected="true"] { background: linear-gradient(160deg, rgba(60,194,206,.35), rgba(228,88,138,.18)); border-color: rgba(60,194,206,.6); }
.dock-item[aria-selected="true"]::after { content: ""; position: absolute; bottom: -8px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #E6F0F1; }
.dock-tip { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #E6F0F1; color: var(--chamber); padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .15s; }
.dock-item:hover .dock-tip, .dock-item:focus-visible .dock-tip { opacity: 1; }
.dock-sep { width: 1px; align-self: stretch; margin: 6px 4px; background: rgba(255,255,255,.16); flex: none; }
.dock-note { font-size: 13px; color: var(--on-chamber-muted); }
.dock-note a { color: var(--on-chamber); }

/* ---------- ticker ---------- */
.ticker { background: var(--chamber-2); color: var(--on-chamber-muted); border-block: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick var(--tk-dur, 240s) linear infinite; font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; }
.ticker:hover .ticker-track, .ticker-track.paused { animation-play-state: paused; }
.tk-set { display: flex; gap: 8px; padding: 8px 4px; }
.tk { display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; background: none; border: 1px solid transparent; border-radius: 999px; padding: 6px 12px; color: var(--on-chamber-muted); font: inherit; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.tk::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--c, #3CC2CE); }
.tk:hover, .tk:focus-visible { color: var(--on-chamber); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.sec-head.row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 700; }
.sec-lede { color: var(--muted); font-size: 18px; max-width: 60ch; }
.sec-lede.light { color: var(--on-chamber-muted); }

/* principals */
.principals { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 14px; align-content: start; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.pcard h3 { font-size: 24px; font-weight: 700; }
.pcard .meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.tag.cert { font-family: var(--f-mono); font-size: 11px; background: transparent; }
.pcard .pactions { display: flex; gap: 14px; align-items: center; margin-top: 4px; font-size: 14px; font-weight: 600; }
.pcard .pactions button { background: none; border: 0; padding: 0; color: var(--control); text-decoration: underline; text-underline-offset: 3px; }
.pcard .pactions a { color: var(--muted); }
.pcard.future { background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--surface) 10px 20px); border-style: dashed; }
.pcard.future::before { background: var(--line); }

/* catalog */
.catalog { background: var(--surface-2); border-block: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; min-height: 50px; width: min(440px, 100%); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; background: transparent; flex: 1; font: inherit; font-size: 15px; color: var(--ink); min-width: 0; }
.search:focus-within { border-color: var(--control); }
.filters { display: grid; gap: 10px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { font-family: var(--f-mono); font-size: 11px; opacity: .6; }
.result-count { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 18px; letter-spacing: .04em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; transition: transform .3s, box-shadow .3s, border-color .3s; animation: cardIn .5s both; }
@keyframes cardIn { from { transform: translateY(12px); } }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--control) 40%, var(--line)); }
.card-media { aspect-ratio: 4 / 3; border-radius: 14px; background: radial-gradient(circle at 50% 40%, var(--surface), var(--surface-2)); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; cursor: pointer; position: relative; }
.card-media .render, .card-media img { width: 72%; height: 92%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media .render { transform: scale(1.08) rotate(-3deg); }
.card-media .badge { position: absolute; left: 10px; top: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.card-media .badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.card .fmt { font-size: 13px; color: var(--muted); margin-top: 4px; }
.card .specs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.card .specs span { font-family: var(--f-mono); font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.card-actions { display: flex; gap: 8px; }
.card-actions button { flex: 1; min-height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); }
.card-actions .add { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card-actions .add.added { background: var(--control); border-color: var(--control); color: #fff; }
.card-actions button:hover { border-color: var(--control); }
.empty { text-align: center; padding: 48px 16px; display: grid; gap: 12px; justify-items: center; background: var(--surface); border: 1px dashed var(--line); border-radius: 20px; }
.empty p { color: var(--muted); max-width: 46ch; }

/* film */
.film { background: var(--chamber); color: var(--on-chamber); position: relative; overflow: hidden; }
.film::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 50%, rgba(60,194,206,.14), transparent 70%); }
.film-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.film h2 { font-size: clamp(30px, 4vw, 52px); margin: 12px 0 16px; }
.film-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; counter-reset: s; }
.film-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--on-chamber-muted); transition: background .3s, color .3s; cursor: pointer; }
.film-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; padding-top: 3px; }
.film-steps li b { display: block; color: var(--on-chamber); font-weight: 600; }
.film-steps li.on { background: rgba(255,255,255,.06); color: var(--on-chamber); }
.film-steps li.on::before { color: #E4588A; }
.film-screen { background: linear-gradient(180deg, #0D2530, #081a22); border: 1px solid var(--glass-line); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.film-stage { aspect-ratio: 16 / 11; position: relative; }
.film-stage > svg { width: 100%; height: 100%; display: block; }
.film-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--glass-line); font-family: var(--f-mono); font-size: 12px; color: var(--on-chamber-muted); }
.film-bar button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); font-size: 10px; color: var(--on-chamber); }
.film-progress { flex: 1; height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.film-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3CC2CE, #E4588A); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 28px 0; display: grid; gap: 10px; align-content: start; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--f-mono); font-size: 13px; color: var(--test); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); font-size: 15px; }
.sectors { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sectors div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; }
.sectors h3 { font-size: 18px; }
.sectors p { color: var(--muted); font-size: 14.5px; }

/* about */
.about { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-mark { color: var(--ink); max-width: 300px; justify-self: center; width: 100%; }
.about-mark svg { width: 100%; height: auto; }
.about-t { transform-box: fill-box; transform-origin: left center; animation: aboutT 4s ease-in-out infinite; }
@keyframes aboutT { 0%, 15% { transform: scaleX(0); } 45%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.about h2 { font-size: clamp(30px, 4vw, 48px); margin: 12px 0 20px; }
.about p { color: var(--muted); font-size: 17px; max-width: 62ch; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 16px 16px 0 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(30px, 4vw, 52px); margin: 12px 0 14px; }
.channels { list-style: none; padding: 0; margin: 28px 0 16px; display: grid; gap: 10px; }
.channels li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 12px 12px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.ch-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--control); }
.ch-ico.wa { color: #1FA855; }
.ch-ico svg { width: 22px; height: 22px; }
.channels small { display: block; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.channels b { font-size: 16px; font-weight: 600; word-break: break-all; }
.copy { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
.copy:hover { border-color: var(--control); }
.fine { font-size: 13px; color: var(--muted); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid color-mix(in srgb, var(--control) 50%, transparent); border-color: var(--control); }
.form [aria-invalid="true"] { border-color: var(--test); }
.form-list { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); padding: 12px 14px; display: grid; gap: 8px; }
.form-list h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; justify-content: space-between; }
.form-list h4 button { background: none; border: 0; color: var(--control); font: inherit; text-decoration: underline; padding: 0; }
.form-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.form-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.form-list li span:last-child { font-family: var(--f-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.form-list .none { font-size: 14px; color: var(--muted); }
.form-err { color: var(--test); font-size: 14px; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note.ok { color: var(--control); font-weight: 600; }

/* footer */
.foot { background: var(--chamber); color: var(--on-chamber-muted); padding-block: 56px 28px; }
.foot .brand { color: var(--on-chamber); margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--on-chamber); margin-bottom: 12px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-chamber); }
.foot p { font-size: 14px; max-width: 34ch; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }

/* fab */
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: #1FA855; color: #fff; text-decoration: none; padding: 0 18px 0 14px; min-height: 52px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 16px 30px -12px rgba(31,168,85,.7); transition: transform .2s; }
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: translateY(-2px); }

/* viewer */
.viewer, .drawer, .tour { position: fixed; inset: 0; z-index: 70; }
.viewer-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(4,12,16,.66); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.viewer-panel { position: absolute; inset: max(16px, 3vh) max(16px, 3vw); max-width: 1180px; margin: 0 auto; background: var(--surface); border-radius: 26px; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; animation: pop .45s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 22px; line-height: 1; }
.viewer-media { background: radial-gradient(90% 90% at 50% 35%, #123542, var(--chamber)); color: var(--on-chamber); display: grid; grid-template-rows: 1fr auto auto; padding: 24px; gap: 14px; min-height: 0; }
.viewer-stage { position: relative; min-height: 0; display: grid; place-items: center; }
.viewer-stage > svg.scene-svg { width: 100%; height: 100%; max-height: 62vh; }
.viewer-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.viewer-steps button { background: rgba(255,255,255,.05); border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; text-align: left; color: var(--on-chamber-muted); font-size: 12px; line-height: 1.3; display: grid; gap: 4px; }
.viewer-steps button i { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.viewer-steps button i::after { content: ""; display: block; height: 100%; width: 0; background: #3CC2CE; }
.viewer-steps button.done i::after { width: 100%; }
.viewer-steps button.on { color: var(--on-chamber); border-color: rgba(60,194,206,.5); }
.viewer-steps button.on i::after { animation: stepfill var(--d, 3s) linear forwards; }
.viewer-steps.paused button.on i::after { animation: none; width: 100%; }
@keyframes stepfill { to { width: 100%; } }
.viewer-ctrl { display: flex; gap: 8px; justify-content: center; }
.viewer-ctrl button { min-height: 40px; min-width: 40px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--on-chamber); font-size: 18px; padding: 0 14px; }
.viewer-ctrl .play { font-size: 14px; font-weight: 600; }
.viewer-info { padding: 36px clamp(20px, 3vw, 40px); overflow-y: auto; display: grid; gap: 14px; align-content: start; }
.v-principal { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--control); display: flex; gap: 8px; align-items: center; }
.v-principal i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.viewer-info h2 { font-size: clamp(24px, 2.6vw, 34px); padding-right: 44px; }
.v-format { color: var(--muted); font-size: 15px; }
.v-summary { font-size: 16px; }
.v-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.v-specs div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.v-specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.v-specs div:nth-last-child(-n+2) { border-bottom: 0; }
.v-specs dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.v-specs dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; }
.v-targets { display: flex; flex-wrap: wrap; gap: 6px; }
.v-targets span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--test-soft); color: var(--ink); }
.v-qty { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.v-qty label { font-size: 13px; font-weight: 600; color: var(--muted); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: var(--surface-2); font-size: 18px; }
.qty input { width: 56px; border: 0; text-align: center; font: inherit; font-family: var(--f-mono); background: var(--surface); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.v-qty select { height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 12px; font: inherit; }
.v-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* scene svg (walkthroughs) */
.scene-svg text { font-family: var(--f-mono); }
.scene-svg .sc-cap { font-family: var(--f-body); }

/* drawer */
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); display: grid; grid-template-rows: auto 1fr auto; animation: slide .35s cubic-bezier(.2,.8,.2,1); padding-top: env(safe-area-inset-top, 0px); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { padding: 22px 22px 14px; border-bottom: 1px solid var(--line); position: relative; }
.drawer-head h2 { font-size: 24px; }
.drawer-head .x { top: 16px; }
.drawer-list { overflow-y: auto; padding: 12px 22px; display: grid; gap: 10px; align-content: start; }
.d-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.d-item .thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; }
.d-item .thumb svg { width: 90%; height: 90%; }
.d-item h4 { font-family: var(--f-body); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.d-item small { color: var(--muted); font-size: 12px; }
.d-item .qty button { width: 30px; height: 30px; font-size: 15px; }
.d-item .qty input { width: 36px; font-size: 13px; }
.d-item .rm { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 4px 0 0; }
.d-empty { color: var(--muted); padding: 30px 0; text-align: center; }
.drawer-foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* tour */
.tour { z-index: 80; pointer-events: none; }
.tour-spot { position: absolute; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(4,12,16,.72), 0 0 0 2px #3CC2CE, 0 0 40px 6px rgba(60,194,206,.5); transition: all .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.tour-card { position: absolute; width: min(360px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); display: grid; gap: 8px; pointer-events: auto; transition: top .6s cubic-bezier(.2,.8,.2,1), left .6s cubic-bezier(.2,.8,.2,1); }
.tour-n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--test); }
.tour-card h3 { font-size: 20px; }
.tour-card p { color: var(--muted); font-size: 14.5px; }
.tour-prog { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 4px; }
.tour-prog i { display: block; height: 100%; width: 0; background: var(--test); }
.tour-prog i.run { animation: stepfill 6s linear forwards; }
.tour-btns { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.tour-btns .lnk { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; margin-right: auto; padding: 0; }

.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 95; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); animation: pop .3s; max-width: calc(100vw - 32px); text-align: center; }

/* reveal on scroll: visible at rest, gentle lift when JS marks them */
.rv { transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s; }
.rv.pre { transform: translateY(18px); opacity: .35; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-links.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px var(--gutter) 20px; gap: 4px; background: var(--chamber); border-bottom: 1px solid var(--glass-line); }
  .nav-links.open a { padding: 10px 0; font-size: 18px; color: var(--on-chamber); }
  .nav-burger { display: inline-flex; }
  #tourBtnNav { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 640px; }
  .stage { max-width: 520px; }
  .film-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-mark { max-width: 180px; }
  .viewer-panel { grid-template-columns: 1fr; overflow-y: auto; inset: 12px; }
  .viewer-media { min-height: 420px; }
  .viewer-info { overflow: visible; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .btn-list span { display: none; }
  .brand-word { font-size: 18px; }
  .sec-head.row { grid-template-columns: 1fr; }
  .stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 100%; }
  .stage-halo { inset: 0 10% auto; height: 280px; }
  .stage-orbit { inset: 0 12% auto; height: 260px; }
  .stage-product { position: relative; inset: auto; grid-column: 1 / -1; height: 270px; }
  .stage-caption { position: static; grid-column: 1 / -1; margin-bottom: 8px; }
  .widget, .w-principal, .w-time, .w-sample, .w-targets { position: static; max-width: none; min-width: 0; order: 2; }
  .hero-hint { display: none; }
  .widget { padding: 9px 11px; align-content: start; }
  .widget b { font-size: 14px; }
  .w-time b { font-size: 17px; }
  .w-targets ul { font-size: 11px; }
  .dock { overflow-x: auto; justify-content: flex-start; height: auto; scrollbar-width: none; }
  .dock::-webkit-scrollbar { display: none; }
  .dock-item { width: 50px; height: 50px; }
  .f-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .viewer-steps { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .v-specs { grid-template-columns: 1fr; }
  .v-specs div:nth-child(odd) { border-right: 0; }
  .v-specs div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .fab span { display: none; }
  .fab { padding: 0; width: 54px; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; }
  .channels li { grid-template-columns: 40px 1fr; }
  .channels li .copy { grid-column: 2; justify-self: start; }
}
@media (hover: none) { .hero-hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; } .ticker { overflow-x: auto; }
}

/* ---------- walkthrough scenes ---------- */
.scene-svg { overflow: hidden; }
.scene-svg .mv { transform-box: view-box; transform-origin: 0 0; transition: transform 1.1s cubic-bezier(.5,0,.2,1), opacity .6s; }
.scene-svg .sc-cap { font-size: 15px; font-weight: 600; fill: #E6F0F1; }
.scene-svg .sc-sub { font-size: 11px; fill: #93AAB1; font-family: var(--f-mono); letter-spacing: .08em; }
/* collector (swab or pipette) */
.scene-svg .collector { transform: translate(70px, 206px) rotate(-14deg); }
.scene-svg[data-step="0"] .collector { animation: wiggle 1.2s .4s ease-in-out 2; }
@keyframes wiggle { 50% { transform: translate(76px, 200px) rotate(-6deg); } }
.scene-svg[data-step="1"] .collector { transform: translate(140px, 236px) rotate(0deg); }
.scene-svg[data-step="1"] .collector .spin { animation: swirl .5s linear 5; transform-box: view-box; transform-origin: 0 0; }
@keyframes swirl { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.scene-svg[data-step="2"] .collector, .scene-svg[data-step="3"] .collector, .scene-svg[data-step="4"] .collector { transform: translate(40px, 330px) rotate(-30deg); opacity: 0; }
/* buffer tube */
.scene-svg .buffer { transform: translate(140px, 262px) rotate(0deg); }
.scene-svg[data-step="1"] .buffer { animation: shake .5s linear 5; }
@keyframes shake { 25% { transform: translate(138px, 262px) rotate(-3deg); } 75% { transform: translate(142px, 262px) rotate(3deg); } }
.scene-svg[data-step="2"] .buffer { transform: translate(352px, 46px) rotate(180deg); }
.scene-svg:is([data-step="3"],[data-step="4"]) .buffer { opacity: 0; }
.scene-svg .buffer .liq { transition: fill .6s; }
.scene-svg[data-step="1"] .buffer .liq, .scene-svg[data-step="2"] .buffer .liq, .scene-svg[data-step="3"] .buffer .liq, .scene-svg[data-step="4"] .buffer .liq { fill: #D9A7BC; }
/* drops */
.scene-svg .drop { opacity: 0; transform-box: fill-box; }
.scene-svg[data-step="2"] .drop { animation: drop .7s ease-in forwards; }
.scene-svg[data-step="2"] .drop:nth-of-type(1) { animation-delay: 1.3s; }
.scene-svg[data-step="2"] .drop:nth-of-type(2) { animation-delay: 1.9s; }
.scene-svg[data-step="2"] .drop:nth-of-type(3) { animation-delay: 2.5s; }
@keyframes drop { 0% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(30px); } }
/* cassette states */
.scene-svg .well { transition: fill .8s 1.4s; }
.scene-svg:is([data-step="2"],[data-step="3"],[data-step="4"]) .well { fill: #D9A7BC; }
.scene-svg .cl, .scene-svg .tl { opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene-svg[data-step="3"] .flow { animation: flow 3.4s ease-out forwards; }
.scene-svg[data-step="3"] .cl { animation: lineIn 1s 2.6s both; }
.scene-svg[data-step="4"] .cl { opacity: 1; }
.scene-svg[data-step="4"] .tl { animation: lineIn 1.4s .5s both; }
.scene-svg .legend { opacity: 0; transition: opacity .6s .9s; }
.scene-svg[data-step="4"] .legend { opacity: 1; }
.scene-svg .clock { opacity: 0; transition: opacity .4s; }
.scene-svg:is([data-step="3"],[data-step="4"]) .clock { opacity: 1; }
.scene-svg .cas { transition: transform 1s cubic-bezier(.5,0,.2,1); transform-box: view-box; transform-origin: 350px 190px; }
.scene-svg[data-step="4"] .cas { transform: scale(1.06); }
/* pcr */
.scene-svg .strip { transform: translate(40px, 70px); }
.scene-svg[data-step="2"] .strip, .scene-svg[data-step="3"] .strip { transform: translate(262px, 64px) scale(.62); }
.scene-svg .pip { transform: translate(92px, -120px); }
.scene-svg[data-step="1"] .pip { animation: pipdown 3s ease-in-out forwards; }
@keyframes pipdown { 0% { transform: translate(92px, -120px); } 30%, 60% { transform: translate(92px, 30px); } 100% { transform: translate(92px, -120px); } }
.scene-svg .pellet { transform-box: fill-box; transform-origin: center; transition: transform 1.2s 1.2s, fill 1.2s 1.2s; }
.scene-svg:is([data-step="1"],[data-step="2"],[data-step="3"]) .pellet { transform: scale(1.7, 2.6); fill: #F2C4D5; }
.scene-svg .lid { transform-box: fill-box; transform-origin: 0 100%; transition: transform .8s; transform: rotate(-38deg); }
.scene-svg:is([data-step="2"],[data-step="3"]) .lid { transform: rotate(0deg); transition-delay: 1.1s; }
.scene-svg .cyc-led { fill: #3CC2CE; }
.scene-svg[data-step="2"] .cyc-led { animation: led .8s steps(2) infinite; }
@keyframes led { 50% { fill: #E4588A; } }
.scene-svg .chart { opacity: 0; transition: opacity .6s; }
.scene-svg[data-step="3"] .chart { opacity: 1; }
.scene-svg .curve { stroke-dasharray: 600; stroke-dashoffset: 600; }
.scene-svg[data-step="3"] .curve { animation: draw 2.6s .4s ease-out forwards; }
.scene-svg[data-step="3"] .curve:nth-of-type(2) { animation-delay: .8s; }
.scene-svg[data-step="3"] .curve:nth-of-type(3) { animation-delay: 1.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* feature (labware) scene */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; width: 100%; height: 100%; }
.feat-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.feat-media::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 1px solid rgba(60,194,206,.35); animation: ring 3s ease-out infinite; }
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.feat-media svg, .feat-media img { width: 90%; height: 90%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.feat-text { display: grid; gap: 10px; animation: fadeUp .6s both; }
.feat-text small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #3CC2CE; }
.feat-text h3 { font-size: 24px; color: #E6F0F1; }
.feat-text p { color: #93AAB1; font-size: 14.5px; }
.feat-text .chips span { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #E6F0F1; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 640px) { .feat { grid-template-columns: 1fr; } .feat-media { max-width: 200px; justify-self: center; } }

/* supplier photos (auto-detected) */
.ph { display: contents; }
.ph img.photo + svg { display: none; }
img.photo { object-fit: contain; }
.card-media img.photo { width: 86%; height: 86%; mix-blend-mode: multiply; }
.stage-product img.photo { width: 100%; height: 100%; object-fit: contain; border-radius: 18px; }
.dock-item img.photo { border-radius: 10px; object-fit: cover; background: #fff; }
.d-item .thumb img.photo { width: 90%; height: 90%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-media img.photo { mix-blend-mode: normal; } }
:root[data-theme="dark"] .card-media img.photo { mix-blend-mode: normal; }

/* real product photos */
.card-media img.photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media img.photo { transform: scale(1.06); }
.card-media .badge { z-index: 1; }
.stage-product.is-photo { inset: 16% 4% 30%; }
.stage-product img.photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 6px rgba(255,255,255,.04); filter: none; }
.dock-item img.photo { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.d-item .thumb img.photo { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.viewer-media { grid-template-rows: auto 1fr auto auto; }
.viewer-modes { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--glass-line); }
.viewer-modes button { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--on-chamber-muted); font-size: 13px; font-weight: 600; }
.viewer-modes button[aria-selected="true"] { background: #E6F0F1; color: var(--chamber); }
.viewer-media.photos .viewer-ctrl { display: none; }
.v-photo { margin: 0; width: 100%; display: grid; place-items: center; animation: fade .4s; }
.v-photo img, .v-photo video { width: 100%; max-height: 58vh; object-fit: contain; border-radius: 18px; background: transparent; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.viewer-steps.thumbs { grid-auto-columns: 84px; justify-content: center; }
.viewer-steps.thumbs button { padding: 0; aspect-ratio: 3 / 2; overflow: hidden; border: 2px solid transparent; }
.viewer-steps.thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewer-steps.thumbs button[aria-pressed="true"] { border-color: #3CC2CE; }
@media (max-width: 640px) { .viewer-steps.thumbs { grid-auto-flow: column; grid-template-columns: none; } }
@media (max-width: 640px) { .stage-product.is-photo { inset: auto; height: auto; padding: 8px 4px 16px; } }

.feat-media img.cutout { object-fit: contain; width: 86%; height: 86%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)) drop-shadow(0 0 24px rgba(60,194,206,.18)); }

/* ---------- cfDNA spotlight ---------- */
:root { --s1: #0A8E9E; --s2: #B8325F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --s1: #23A3B0; --s2: #E4588A; } }
:root[data-theme="dark"] { --s1: #23A3B0; --s2: #E4588A; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spot { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.spot-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.spot-media { position: relative; border-radius: 28px; overflow: hidden; background: #E9EFF2; aspect-ratio: 4 / 5; box-shadow: var(--shadow); max-width: 520px; width: 100%; justify-self: center; }
.spot-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-tubes { position: absolute; left: 4%; right: 4%; bottom: 6%; width: 92%; filter: drop-shadow(0 24px 24px rgba(12,28,36,.28)); animation: tubeFloat 6s ease-in-out infinite; }
@keyframes tubeFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.spot-flag { position: absolute; left: 16px; top: 16px; background: var(--chamber); color: #E6F0F1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; }
.spot-copy { display: grid; gap: 16px; }
.spot-copy h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; }
.spot-lede { color: var(--muted); font-size: 18px; max-width: 58ch; }
.spot-feats { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.spot-feats li { display: grid; gap: 3px; align-content: start; padding-left: 16px; border-left: 3px solid var(--control); }
.spot-feats b { font-size: 15px; }
.spot-feats span { font-size: 14px; color: var(--muted); }
.spot-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.spot-link { font-size: 14px; font-weight: 600; color: var(--control); }
.spot-chart { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px 20px 12px; display: grid; gap: 10px; }
.spot-chart figcaption { display: grid; gap: 4px; }
.spot-chart figcaption b { font-family: var(--f-display); font-size: 19px; }
.spot-chart figcaption span { font-size: 13.5px; color: var(--muted); max-width: 62ch; }
.chart-legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.chart-legend span { display: inline-flex; gap: 8px; align-items: center; }
.chart-legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.chart-legend .k1 { background: var(--s1); } .chart-legend .k2 { background: var(--s2); }
.chart-box { position: relative; }
.chart-box svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-box .grid line { stroke: var(--line); stroke-width: 1; }
.chart-box text { fill: var(--muted); font-family: var(--f-mono); font-size: 11px; }
.chart-box .lab { fill: var(--ink); font-family: var(--f-body); font-size: 12.5px; font-weight: 600; }
.chart-box .ln { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart-box .l1 { stroke: var(--s1); } .chart-box .l2 { stroke: var(--s2); }
.chart-box .d1 { fill: var(--s1); } .chart-box .d2 { fill: var(--s2); }
.chart-box .dot { stroke: var(--surface); stroke-width: 2; }
.chart-box .xh { stroke: var(--muted); stroke-dasharray: 3 3; opacity: 0; }
.chart-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); font-size: 12.5px; padding: 8px 10px; border-radius: 8px; line-height: 1.45; white-space: nowrap; opacity: 0; transform: translate(-50%, -110%); transition: opacity .15s; font-variant-numeric: tabular-nums; }
.chart-tip i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.spot-order { align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: grid; gap: 10px; }
.spot-order h3 { font-size: 19px; }
.spot-order table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spot-order th { text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.spot-order td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
.spot-order td:first-child { font-family: var(--f-mono); font-weight: 700; }
.card .ribbon { position: absolute; right: 10px; top: 10px; z-index: 1; background: var(--test); color: #fff; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.card.featured { border-color: color-mix(in srgb, var(--control) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--control) 14%, transparent); }
@media (max-width: 1020px) { .spot-grid { grid-template-columns: 1fr; } .spot-media { max-width: 440px; } }
@media (max-width: 640px) { .spot-feats { grid-template-columns: 1fr; } .spot-media { aspect-ratio: 4 / 4.6; } }

.viewer-info { display: flex; flex-direction: column; gap: 14px; }
.viewer-info > * { flex: none; }
.v-refs { display: grid; gap: 6px; }
.v-refs small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.v-refs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.v-refs li { display: inline-flex; gap: 8px; align-items: baseline; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 13px; }
.v-refs li b { font-family: var(--f-mono); font-size: 12.5px; }
.v-refs li span { color: var(--muted); }
.card-media img.photo.contain { object-fit: contain; background: #fff; }

/* hierarchical manufacturer filters + pagination */
.chips.sub { padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); align-items: center; }
.chips.sub + .chips.sub { margin-left: 18px; border-style: dashed; }
.chips-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--control); margin-right: 4px; }
.card .crumb { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.card .crumb b { color: var(--ink); font-weight: 700; }
.card .specs span.ivd { background: color-mix(in srgb, var(--control) 16%, transparent); color: var(--control); font-weight: 700; }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.more-wrap .btn-ghost { min-height: 46px; padding: 0 26px; font-size: 15px; }
@media (max-width: 640px) { .chips.sub + .chips.sub { margin-left: 0; } }

/* intended-use labels */
.use-row { align-items: center; }
.use-flag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; line-height: 1; white-space: nowrap; }
.use-flag.ruo { background: #FFF1D6; color: #7A4B00; border: 1px solid #E9B85C; }
.use-flag.ivd { background: #DDF3F1; color: #0B5D66; border: 1px solid #7CC7C9; }
.use-flag.req { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.card-media .use-flag { position: absolute; left: 10px; bottom: 10px; z-index: 1; }
.use-legend { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin: -8px 0 18px; }
.v-use { font-size: 13.5px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.v-use.ruo { background: #FFF6E3; border-color: #E9B85C; color: #5E3A00; }
.v-use.ivd { background: #E9F7F6; border-color: #9ED3D4; color: #0B4F57; }
.v-use.req { background: var(--surface-2); color: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v-use.ruo { background: #3A2A0B; color: #FFD9A0; border-color: #8A6420; } :root:not([data-theme="light"]) .v-use.ivd { background: #0E3337; color: #B5ECEC; border-color: #2B6B70; } }
:root[data-theme="dark"] .v-use.ruo { background: #3A2A0B; color: #FFD9A0; border-color: #8A6420; }
:root[data-theme="dark"] .v-use.ivd { background: #0E3337; color: #B5ECEC; border-color: #2B6B70; }
.tag.own { background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); font-weight: 600; }
.card-media img.photo.contain.dark { background: #0d1114; }
.card-media img.photo.contain { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-media img.photo.contain.cut { background: transparent; padding: 8% 10%; box-sizing: border-box; mix-blend-mode: normal; }
.dock-item img.photo.cut { object-fit: contain; background: transparent; }
.v-refs small em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--test); }
.v-refs li:has(.ref-pick) { padding: 0; border: 0; }
.ref-pick { display: inline-flex; gap: 8px; align-items: baseline; text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 13px; background: var(--surface, #fff); color: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.ref-pick b { font-family: var(--f-mono); font-size: 12.5px; color: var(--test); text-decoration: underline; text-underline-offset: 3px; }
.ref-pick span { color: var(--muted); }
.ref-pick i { font-style: normal; font-weight: 700; margin-left: 2px; color: var(--test); }
.ref-pick:hover, .ref-pick:focus-visible { border-color: var(--test); background: color-mix(in srgb, var(--test) 8%, transparent); }
.ref-pick:active { transform: scale(.98); }
.ref-pick.added { border-color: var(--test); background: color-mix(in srgb, var(--test) 10%, transparent); }
.d-cat { margin: 2px 0 2px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.d-cat b { font-family: var(--f-mono); color: var(--ink, inherit); }
.f-cat { font-family: var(--f-mono); font-size: .9em; }
.d-item.flash { animation: dflash 1.6s ease; }
@keyframes dflash { 0%, 40% { background: color-mix(in srgb, var(--test) 16%, transparent); } 100% { background: transparent; } }
/* DryCLO walkthrough (graphics traced from the brochure) */
.scene-svg.dc .dc-panel { fill: #EEF3F2; }
.scene-svg.dc .dc-snake { fill: none; stroke: rgba(147,171,171,.28); stroke-width: 22; stroke-linecap: round; }
.scene-svg.dc .dc-li rect { fill: rgba(22,38,66,.55); stroke: rgba(230,240,241,.14); transition: fill .4s, stroke .4s; }
.scene-svg.dc .dc-li text { font-family: var(--f-body); font-size: 10.5px; font-weight: 700; fill: #B9C7CF; transition: fill .4s; }
.scene-svg.dc[data-step="0"] .dc-li0 rect, .scene-svg.dc[data-step="1"] .dc-li1 rect, .scene-svg.dc[data-step="2"] .dc-li2 rect, .scene-svg.dc[data-step="3"] .dc-li3 rect, .scene-svg.dc[data-step="4"] .dc-li4 rect { fill: #EEF3F2; stroke: #FFF200; }
.scene-svg.dc[data-step="0"] .dc-li0 text, .scene-svg.dc[data-step="1"] .dc-li1 text, .scene-svg.dc[data-step="2"] .dc-li2 text, .scene-svg.dc[data-step="3"] .dc-li3 text, .scene-svg.dc[data-step="4"] .dc-li4 text { fill: #162642; }
.scene-svg.dc .ic { opacity: 0; transform: translateY(5px); transition: opacity .45s, transform .6s cubic-bezier(.2,.8,.2,1); }
.scene-svg.dc[data-step="0"] .ic0, .scene-svg.dc[data-step="1"] .ic1, .scene-svg.dc[data-step="2"] .ic2, .scene-svg.dc[data-step="3"] .ic3, .scene-svg.dc[data-step="4"] .ic4 { opacity: 1; transform: none; }
.scene-svg.dc .dc-res { font-family: var(--f-body); font-size: 12px; font-weight: 800; fill: #162642; letter-spacing: .04em; }
.scene-svg.dc .dc-res-s { font-family: var(--f-body); font-size: 11px; fill: #4F6670; }
.scene-svg.dc .clock rect { stroke: none; }
/* 1 peel */
.scene-svg.dc .dc-flap, .scene-svg.dc .dc-gel, .scene-svg.dc .dc-bx, .scene-svg.dc .dc-needle, .scene-svg.dc .dc-hand, .scene-svg.dc .dc-arrow, .scene-svg.dc .dc-hand2, .scene-svg.dc .dc-pos, .scene-svg.dc .dc-ripple { transform-box: fill-box; }
.scene-svg.dc[data-step="0"] .dc-flap { transform-origin: 100% 60%; animation: dcPeel 2.2s .3s cubic-bezier(.3,.7,.2,1) both; }
.scene-svg.dc[data-step="0"] .dc-gel { animation: dcFade .6s 1.5s both, dcGlow 1.4s 2.1s ease-in-out infinite alternate; transform-origin: center; }
@keyframes dcPeel { 0% { transform: scaleX(.04) skewY(0); } 55% { transform: scaleX(1.06) skewY(-4deg); } 100% { transform: scaleX(1) skewY(0); } }
@keyframes dcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dcGlow { from { transform: scale(1); } to { transform: scale(1.12); } }
/* 2 biopsy */
.scene-svg.dc[data-step="1"] .dc-needle { animation: dcNeedle 1.6s .2s cubic-bezier(.4,0,.2,1) both; }
.scene-svg.dc[data-step="1"] .dc-bx { transform-origin: center; animation: dcPop .5s 1.6s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes dcNeedle { 0% { transform: translate(16px, -16px); opacity: 0; } 25% { opacity: 1; } 75% { transform: translate(0, 0); } 88% { transform: translate(1.5px, -1.5px); } 100% { transform: translate(0, 0); } }
@keyframes dcPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* 3 reseal */
.scene-svg.dc[data-step="2"] .dc-arrow { animation: dcArrow 1s ease-in-out infinite; }
.scene-svg.dc[data-step="2"] .dc-hand { animation: dcPress 1s ease-in-out infinite; }
@keyframes dcArrow { 0%, 100% { transform: translateY(-3px); opacity: .55; } 50% { transform: translateY(1.5px); opacity: 1; } }
@keyframes dcPress { 0%, 100% { transform: translateY(-1.2px); } 50% { transform: translateY(.6px); } }
/* 4 wait */
.scene-svg.dc[data-step="3"] .dc-hand2 { transform-origin: 50% 96%; animation: dcSpin 4.2s linear both; }
.scene-svg.dc[data-step="3"] .dc-ticks { animation: dcTick 1.05s ease-in-out infinite; }
@keyframes dcSpin { to { transform: rotate(360deg); } }
@keyframes dcTick { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
/* 5 read */
.scene-svg.dc .dc-pos { stroke: #FFF200; }
.scene-svg.dc[data-step="4"] .dc-pos { animation: dcTurn 1.6s .6s ease-out forwards; }
.scene-svg.dc .dc-ripple { opacity: 0; transform-origin: center; }
.scene-svg.dc[data-step="4"] .dc-ripple { animation: dcRipple 1.6s 2.2s ease-out infinite; }
@keyframes dcTurn { from { stroke: #FFF200; } to { stroke: #ED1C24; } }
@keyframes dcRipple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scene-svg.dc * { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }
/* Vitassay photo walkthrough */
.scene-svg.vt .vph { opacity: 0; transform: scale(var(--z0, 1)); transition: opacity .7s ease; }
.scene-svg.vt[data-step="0"] .vph0, .scene-svg.vt[data-step="1"] .vph1, .scene-svg.vt[data-step="2"] .vph2, .scene-svg.vt[data-step="3"] .vph3, .scene-svg.vt[data-step="4"] .vph4 { opacity: 1; animation: vtKb 5.5s cubic-bezier(.25,.1,.25,1) forwards; }
@keyframes vtKb { from { transform: scale(var(--z0, 1)); } to { transform: scale(var(--z1, 1.1)); } }
.scene-svg.vt .sc-cap { paint-order: stroke; stroke: rgba(6,19,26,.35); stroke-width: 3px; }
.scene-svg.vt .dp { opacity: 0; }
.scene-svg.vt[data-step="2"] .dp { animation: vtDrop .75s ease-in forwards; }
.scene-svg.vt[data-step="2"] .dp1 { animation-delay: 1s; } .scene-svg.vt[data-step="2"] .dp2 { animation-delay: 1.8s; } .scene-svg.vt[data-step="2"] .dp0 { animation-delay: 2.6s; }
@keyframes vtDrop { 0% { opacity: 0; transform: translate(0, -2px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(3px, 27px); } }
.scene-svg.vt .well-ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene-svg.vt[data-step="2"] .well-ring { animation: vtRing 1.2s 1.2s ease-out 3; }
@keyframes vtRing { 0% { opacity: .95; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.7); } }
.scene-svg.vt .vt-mix circle { transform-box: fill-box; transform-origin: center; }
.scene-svg.vt[data-step="1"] .vt-mix circle { animation: vtSpin 1.1s .6s linear infinite; }
@keyframes vtSpin { to { transform: rotate(360deg); } }
.scene-svg.vt .vt-wick rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.scene-svg.vt[data-step="2"] .vt-wick rect { animation: vtWick 2.6s .6s ease-out forwards; }
@keyframes vtWick { to { transform: scaleY(1); } }
.scene-svg.vt .vt-legend { opacity: 0; transform: translateX(-12px); transition: opacity .6s .8s, transform .6s .8s; }
.scene-svg.vt[data-step="4"] .vt-legend { opacity: 1; transform: none; }
.scene-svg.vt .vw-h { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; fill: #4F6670; }
.scene-svg.vt .vw-l { font-family: var(--f-mono); font-size: 8px; fill: #7D9097; }
.scene-svg.vt .vw-t { font-family: var(--f-body); font-size: 9.5px; font-weight: 700; fill: #162642; }
.scene-svg.vt .vl { opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene-svg.vt[data-step="4"] .vl-c { animation: vtLine .6s 1.4s both; }
.scene-svg.vt[data-step="4"] .vl-t { animation: vtLine .9s 2.2s both; }
@keyframes vtLine { from { opacity: 0; transform: scaleX(.2); } to { opacity: 1; transform: scaleX(1); } }
.scene-svg.vt .vt-curves { opacity: 0; transform: translateY(10px); transition: opacity .6s .5s, transform .6s .5s; }
.scene-svg.vt:is([data-step="2"], [data-step="3"]) .vt-curves { opacity: 1; transform: none; }
.scene-svg.vt .cv { stroke-dasharray: 420; stroke-dashoffset: 420; }
.scene-svg.vt[data-step="2"] .cv { animation: vtDraw 3.6s .8s ease-out forwards; }
.scene-svg.vt[data-step="3"] .cv { stroke-dashoffset: 0; }
@keyframes vtDraw { to { stroke-dashoffset: 0; } }
.scene-svg.vt .ct, .scene-svg.vt .thr { opacity: 0; transition: opacity .5s 1s; }
.scene-svg.vt[data-step="3"] .ct, .scene-svg.vt[data-step="3"] .thr { opacity: 1; }
.scene-svg.vt .ct { font-family: var(--f-mono); font-size: 11px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .scene-svg.vt * { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }
/* Vitassay procedure-video walkthrough */
.viewer-stage > .vv { width: 100%; max-height: 62vh; }
.vv { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #06131A; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.vv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vv-top { position: absolute; left: 0; right: 0; top: 0; padding: 14px 18px 34px; background: linear-gradient(#06131Ae0, #06131A00); color: #E6F0F1; }
.vv-top small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: #93AAB1; }
.vv-top b { color: #3CC2CE; font-weight: 600; }
.vv-cap { margin: 4px 0 0; font-weight: 700; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.3; }
.vv.cap-in .vv-cap { animation: vvCap .5s ease both; }
@keyframes vvCap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.vv-src { position: absolute; right: 10px; bottom: 8px; font-family: var(--f-mono); font-size: 10px; color: rgba(255,255,255,.7); text-shadow: 0 1px 2px #000; }
.vv-legend { position: absolute; left: 14px; bottom: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.95); color: #162642; opacity: 0; transform: translateY(10px); transition: opacity .5s .6s, transform .5s .6s; pointer-events: none; }
.vv.last .vv-legend { opacity: 1; transform: none; }
.vv-legend small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; color: #4F6670; }
.vv-legend > div { display: flex; gap: 10px; margin-top: 6px; }
.vv-win { display: grid; justify-items: center; gap: 4px; font-size: 11px; font-weight: 700; }
.vv-win i { position: relative; width: 16px; height: 44px; border-radius: 3px; background: #F2F5F5; border: 1px solid #D5DEE0; }
.vv-win b { position: absolute; left: 0; right: 0; height: 3px; }
.vv-win b.c { top: 10px; background: #2F57B8; } .vv-win b.t { top: 26px; background: #C2185B; }
.vv.last .vv-win b { animation: vtLine .7s 1.2s both; }
.vv.last .vv-win b.t { animation-delay: 1.9s; }
.vv-result { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 40%) 1fr; gap: 3%; align-items: center; padding: 64px 4% 4%; background: linear-gradient(90deg, rgba(6,19,26,.55), rgba(6,19,26,.9) 45%); opacity: 0; pointer-events: none; transition: opacity .6s .5s; }
.vv.last .vv-result { opacity: 1; }
.vv-tube { position: relative; margin: 0; height: 100%; max-height: 100%; aspect-ratio: 420 / 750; justify-self: center; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -18px #000; transform: scale(.96); transition: transform 1.4s .5s cubic-bezier(.2,.8,.2,1); }
.vv.last .vv-tube { transform: scale(1); }
.vv-tube img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vv-pin { position: absolute; width: 11%; height: 2.2%; margin: -1.1% 0 0 -5.5%; border: 2px solid #2F7BE0; border-radius: 4px; opacity: 0; }
.vv-tline { position: absolute; width: 11%; height: 2.2%; margin: -1.1% 0 0 -5.5%; border: 2px solid #ED1C4F; border-radius: 4px; opacity: 0; box-shadow: 0 0 0 3px rgba(237,28,79,.25); }
.vv.last .vv-pin { animation: vvPin .5s 1.3s both; }
.vv.last .vv-tline { animation: vvPin .5s 2s both, vvPulse 1.4s 2.5s ease-in-out infinite; }
@keyframes vvPin { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: none; } }
@keyframes vvPulse { 50% { box-shadow: 0 0 0 7px rgba(237,28,79,0); } }
.vv-tag { position: absolute; left: 4%; transform: translateY(-50%); font-style: normal; font: 700 10px var(--f-mono); color: #fff; padding: 1px 5px; border-radius: 4px; opacity: 0; }
.vv-tag.c { background: #2F7BE0; } .vv-tag.t { background: #ED1C4F; }
.vv.last .vv-tag.c { animation: vvPin .4s 1.3s both; } .vv.last .vv-tag.t { animation: vvPin .4s 2s both; }
.vv-read { color: #E6F0F1; font-size: clamp(11px, 1.15vw, 13.5px); }
.vv-read small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: #93AAB1; }
.vv-read ul { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 6px; }
.vv-read li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateX(10px); }
.vv.last .vv-read li { animation: vvLi .5s both; }
.vv.last .vv-read li:nth-child(1) { animation-delay: 2.2s; } .vv.last .vv-read li:nth-child(2) { animation-delay: 2.45s; } .vv.last .vv-read li:nth-child(3) { animation-delay: 2.7s; } .vv.last .vv-read li:nth-child(4) { animation-delay: 2.95s; }
@keyframes vvLi { to { opacity: 1; transform: none; } }
.vv-read li b { font-weight: 700; } .vv-read li span { grid-column: 1; color: #93AAB1; font-size: .9em; }
.vv-read li i { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font: 700 10.5px var(--f-mono); letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: rgba(47,123,224,.18); color: #8FC0FF; }
.vv-read li.pos { border-color: rgba(237,28,79,.6); background: rgba(237,28,79,.14); }
.vv-read li.pos i { background: #ED1C4F; color: #fff; }
.vv-read p { margin: 4px 0 0; color: #B9C7CF; font-size: .88em; line-height: 1.45; }
.vv-read .k { display: inline-block; width: 14px; height: 4px; border-radius: 2px; vertical-align: middle; margin: 0 5px 0 0; } .vv-read .k.c { background: #2F7BE0; } .vv-read .k.t { background: #ED1C4F; margin-left: 4px; }
.vv-note { font-style: italic; color: #93AAB1 !important; }
@media (max-width: 640px) { .vv-result { grid-template-columns: 34% 1fr; padding: 54px 3% 3%; } .vv-read p { display: none; } .vv-read p.vv-note { display: block; } }
.vv-top { z-index: 3; }
.vv-read ul { gap: 4px; margin: 6px 0 6px; }
.vv-read li { grid-template-columns: auto 1fr auto; padding: 4px 10px; }
.vv-read li span { grid-column: 2; font-size: .85em; }
.vv-read li i { grid-row: 1; grid-column: 3; }
.vv-result { padding-top: 70px; }
/* GenTech cut-outs in the hero stage and dock: keep the whole product in frame */
.dock-item img.photo.cut { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: contain; background: #fff; border-radius: 11px; padding: 3px; box-sizing: border-box; }
.stage-product img.photo.cut { width: 100%; height: auto; max-height: 100%; aspect-ratio: 3 / 2; object-fit: contain; padding: 6% 8%; box-sizing: border-box; background: radial-gradient(circle at 50% 40%, #ffffff, #e6eef0); }
.vv-snd { position: absolute; right: 12px; top: 12px; z-index: 4; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(6,19,26,.7); color: #E6F0F1; font: 600 12.5px var(--f-body); cursor: pointer; backdrop-filter: blur(6px); }
.vv-snd:hover { background: rgba(6,19,26,.9); }
.vv-snd .off { display: none; } .vv-snd.muted .on { display: none; } .vv-snd.muted .off { display: inline; }
.vv-snd.muted { border-color: #3CC2CE; box-shadow: 0 0 0 3px rgba(60,194,206,.25); animation: vvHint 1.6s ease-in-out 3; }
@keyframes vvHint { 50% { box-shadow: 0 0 0 7px rgba(60,194,206,0); } }

/* social */
.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; font-size: 13px; color: var(--muted); }
.soc { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 13px; }
.soc svg { width: 18px; height: 18px; }
.soc.fb svg { color: #1877F2; } .soc.ig svg { color: #D62976; }
.soc:hover { border-color: currentColor; }
.ch-ico.ms { color: #0A7CFF; }
.foot-soc { display: flex; gap: 10px; margin-top: 12px; }
.foot-soc a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: inherit; }
.foot-soc svg { width: 18px; height: 18px; }
.foot-soc a:hover { background: rgba(255,255,255,.08); }
.fab-ms { position: fixed; right: 22px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0A7CFF, #A033FF); color: #fff; box-shadow: 0 14px 26px -12px rgba(10,124,255,.8); transition: transform .2s; }
.fab-ms svg { width: 24px; height: 24px; }
.fab-ms:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .fab-ms { right: 22px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note.ok { color: #1a7f4b; font-weight: 600; }

/* email chooser */
.mail-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.mail-link:hover { color: var(--control); }
.mailpick { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(6,19,26,.55); backdrop-filter: blur(4px); }
.mailpick[hidden] { display: none; }
.mp-card { position: relative; width: min(440px, 100%); background: var(--surface); color: var(--ink); border-radius: 18px; padding: 24px 22px 18px; box-shadow: var(--shadow); animation: pop .25s; }
.mp-card h3 { font-family: var(--f-display); font-size: 22px; margin: 0 0 4px; }
.mp-sub { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.mp-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.mp-x:hover { background: var(--surface-2); color: var(--ink); }
.mp-opts { display: grid; gap: 8px; }
.mp-opts button { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink); font: inherit; cursor: pointer; }
.mp-opts button:hover, .mp-opts button:focus-visible { border-color: var(--control); outline: none; background: color-mix(in srgb, var(--control) 8%, var(--surface)); }
.mp-opts b { font-size: 15px; }
.mp-opts span { font-size: 13px; color: var(--muted); }
.mp-addr { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.mp-addr b { color: var(--ink); }

/* share */
.v-share { min-height: 46px; gap: 8px; }
.v-share svg { width: 18px; height: 18px; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sp-grid a, .sp-grid button { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font: 600 13px var(--f-body); text-decoration: none; cursor: pointer; }
.sp-grid a:hover, .sp-grid button:hover { border-color: var(--control); }
.sp-grid svg { width: 26px; height: 26px; }
.sp-fb svg { color: #1877F2; } .sp-wa svg { color: #1FA855; } .sp-vb svg { color: #7360F2; } .sp-in svg { color: #0A66C2; } .sp-ms svg { color: #0A7CFF; }
.foot-admin { color: inherit; opacity: .55; font-size: 12px; text-decoration: none; }
.foot-admin:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 420px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* crawlable product links (cards + ticker open the viewer, but are real links for search engines) */
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: var(--control); }
a.tk { text-decoration: none; }
