/* ============================================================
   hlix v2 — minimal / bold / lowercase / scroll-driven
   ============================================================ */
:root {
  --bg: #050607;
  --bg-rgb: 5, 6, 7;
  --bg-2: #0b0d0f;
  --bg-2-rgb: 11, 13, 15;
  --bg-3: #12151a;
  --fg: #f3f4f2;
  --dim: #8a9096;
  --faint: #4a5057;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --surface-tint: rgba(255, 255, 255, 0.035);
  --accent: #33e6b0;
  --accent-ink: #04120d;
  --warn: #f2b84b;
  --photo-blend: screen;
  --r: 8px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 72px;
  --pad: clamp(20px, 4vw, 56px);
  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

:root[data-theme="light"] {
  --bg: #f5f5f3;
  --bg-rgb: 245, 245, 243;
  --bg-2: #ffffff;
  --bg-2-rgb: 255, 255, 255;
  --bg-3: #ebebe8;
  --fg: #0e0f10;
  --dim: #5c6167;
  --faint: #8b9096;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.16);
  --surface-tint: rgba(0, 0, 0, 0.03);
  --accent: #0ea87c;
  --accent-ink: #f3fffb;
  --warn: #9a6a0c;
  --photo-blend: normal;
}
/* no prefers-color-scheme fallback on purpose: first-time visitors always get
   dark, regardless of their OS setting. light is only ever an explicit choice
   via the nav toggle (saved to localStorage as "hlix-theme"). */

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 92%; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html, body, .nav, .card, .stage, .foot, .chat, .search, .menu { transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.55 var(--f-body);
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--accent); color: var(--accent-ink); }
img, svg { display: block; max-width: 100%; }
svg { text-transform: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
/* iOS/Android auto-zoom on input focus only kicks in under 16px — this
   overrides every field's own font-size on mobile so focusing one never
   zooms the page, without touching how any of them look on desktop. */
@media (max-width: 900px) {
  input, textarea, select { font-size: 16px !important; }
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--pad); }

/* film grain — static, cheap */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.kicker { font: 500 12px/1 var(--f-mono); letter-spacing: 0.14em; color: var(--accent); }
.mono { font-family: var(--f-mono); }

/* ------------------------------------------------------------
   page transitions (cross-document view transitions)
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
html.no-motion::view-transition-group(*), html.no-motion::view-transition-old(*), html.no-motion::view-transition-new(*) { animation: none !important; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------
   reveal primitives
   ------------------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* fallbacks only apply if v2.js never starts (it adds .ready immediately) */
.js:not(.ready) [data-reveal] { animation: reveal-fallback 0s 3s forwards; }
.js:not(.ready) [data-split] .wi { animation: wi-fallback 0s 3.4s forwards; }
.js:not(.ready) .rule { animation: rule-fallback 0s 3s forwards; }
@keyframes wi-fallback { to { transform: none; } }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; padding-right: 0.08em; margin-right: -0.08em; }
.wi { display: inline-block; }
.js [data-split] .wi {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 50ms + var(--sd, 0ms));
}
.js [data-split].in .wi { transform: none; }
.js [data-split]:not(.is-split) { visibility: hidden; animation: show 0s 1.6s forwards; }
@keyframes show { to { visibility: visible; } }

.rule { height: 1px; background: var(--line-2); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.rule.in { transform: none; }
@keyframes rule-fallback { to { transform: none; } }

.sw { opacity: 0.16; transition: opacity 0.4s, color 0.4s; }
.sw.lit { opacity: 1; }
.hl .sw.lit { color: var(--accent); }

.no-motion [data-reveal], .no-motion [data-split] .wi { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
.no-motion [data-split] { visibility: visible !important; }
.no-motion .rule { transform: none; transition: none; }
.no-motion .sw { opacity: 1; }
.no-motion .hl .sw { color: var(--accent); }
.no-motion *, .no-motion *::before, .no-motion *::after { animation-duration: 0s !important; animation-delay: 0s !important; }

/* ------------------------------------------------------------
   scroll progress + nav
   ------------------------------------------------------------ */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 150; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px var(--accent); }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--pad);
  transition: transform 0.6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: rgba(var(--bg-rgb), 0.72); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-101%); }
.menu-open .nav { transform: none; }
.nav__brand { display: inline-flex; align-items: center; gap: 6px; font: 800 27px/1 var(--f-display); letter-spacing: -0.06em; justify-self: start; }
.nav__brand i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: pulse 2.6s ease-in-out infinite; align-self: flex-start; margin-top: 12px; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }
.nav__links { display: flex; gap: clamp(22px, 3.2vw, 48px); }
.nav__links a { position: relative; padding: 6px 0; font: 500 15px var(--f-display); color: var(--dim); transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.55s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--fg); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.nav__search {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--r); color: var(--dim); font: 500 14px var(--f-display);
  transition: color 0.3s, border-color 0.3s;
}
.nav__search:hover { color: var(--fg); border-color: var(--fg); }
.nav__search svg { width: 15px; height: 15px; }
.nav__search kbd { font: 500 11px var(--f-mono); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; color: var(--faint); }
.nav__theme { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--dim); transition: color 0.3s, border-color 0.3s; }
.nav__theme:hover { color: var(--fg); border-color: var(--fg); }
.nav__theme svg { width: 17px; height: 17px; }
.nav__theme-sun, .nav__theme-moon { display: none; }
:root[data-theme="light"] .nav__theme-sun { display: block; }
:root[data-theme="dark"] .nav__theme-moon, :root:not([data-theme]) .nav__theme-moon { display: block; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); position: relative; }
.nav__burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--fg); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__burger i:nth-child(1) { top: 17px; }
.nav__burger i:nth-child(2) { top: 25px; }
.menu-open .nav__burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: calc(var(--nav-h) + 16px) var(--pad) 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.85s var(--ease-io), visibility 0s 0.85s;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font: 800 clamp(3rem, 14vw, 6rem)/1.05 var(--f-display); letter-spacing: -0.055em;
  opacity: 0; transform: translateY(40px);
  transition: transform 0.9s var(--ease), opacity 0.7s;
  transition-delay: calc(var(--i) * 60ms + 250ms);
}
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu__links a span { font: 500 12px var(--f-mono); letter-spacing: 0.1em; color: var(--accent); }
.menu__foot { display: flex; justify-content: space-between; align-items: center; color: var(--dim); font: 500 13px var(--f-mono); }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__right .btn, .nav__search span, .nav__search kbd { display: none; }
  .nav__burger { display: block; }
  .nav__search { width: 44px; padding: 0; justify-content: center; }
}

/* ------------------------------------------------------------
   buttons
   ------------------------------------------------------------ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r); border: 1px solid var(--line-2);
  font: 600 15px/1 var(--f-display); letter-spacing: -0.01em; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s, transform 0.4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn:hover { color: var(--accent-ink); border-color: var(--accent); }
.btn:hover::before { transform: none; }
.btn svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--solid::before { background: var(--fg); }
.btn--solid:hover { border-color: var(--fg); }
.btn--sm { padding: 12px 18px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--f-display); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color 0.3s, color 0.3s; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ------------------------------------------------------------
   hero
   ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 48px) 0 clamp(28px, 5vh, 56px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); will-change: transform; }
.blob--a { width: 44vw; height: 44vw; left: -10vw; top: -12vw; background: var(--accent); opacity: 0.26; animation: drift 18s ease-in-out infinite alternate; }
.blob--b { width: 36vw; height: 36vw; right: -8vw; bottom: -10vw; background: #2a6bff; opacity: 0.16; animation: drift 22s ease-in-out -8s infinite alternate; }
@keyframes drift { to { transform: translate(6vw, 5vw) scale(1.15); } }
.hero__vials { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hv { position: absolute; }
.hv__in {
  --k: 1;
  animation: float 7s ease-in-out infinite;
  translate: calc(var(--mx, 0) * 16px * var(--k)) calc(var(--my, 0) * 12px * var(--k));
  transition: translate 0.6s var(--ease);
}
.hv svg { width: 100%; height: auto; filter: drop-shadow(0 44px 60px rgba(0, 0, 0, 0.65)); }
.hv--a { width: clamp(150px, 17vw, 290px); right: 13%; top: 9%; }
.hv--a .hv__in { --k: 1.2; }
.hv--b { width: clamp(110px, 12vw, 200px); right: 33%; top: 21%; }
.hv--b .hv__in { --rot: -11deg; --k: 0.7; animation-delay: -2s; }
.hv--c { width: clamp(100px, 11vw, 190px); right: 3%; top: 20%; }
.hv--c .hv__in { --rot: 10deg; --k: 0.5; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-18px) rotate(calc(var(--rot, 0deg) + 2deg)); }
}
.hero__label { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 3vh, 34px); color: var(--dim); font: 500 12px var(--f-mono); letter-spacing: 0.14em; }
.hero__label::before { content: ""; width: 44px; height: 1px; background: var(--accent); }
.hero__title { font: 800 clamp(3.2rem, 11.2vw, 11rem)/0.9 var(--f-display); letter-spacing: -0.058em; margin-left: -0.04em; }
.hero__title .ol { -webkit-text-stroke: 2px var(--fg); color: transparent; letter-spacing: -0.03em; }
.hero__title .ac { color: var(--accent); }
.hero__bar { padding-right: clamp(0px, 11vw, 176px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(28px, 6vh, 64px); padding-top: 26px; border-top: 1px solid var(--line); }
.hero__sub { max-width: 34ch; color: var(--dim); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cue { position: absolute; right: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 12px; color: var(--faint); font: 500 11px var(--f-mono); letter-spacing: 0.14em; writing-mode: vertical-rl; }
.cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--accent), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  /* Extra top padding (not a smaller/repositioned vial graphic) is what
     keeps the vials clear of the label/title text: some mobile browsers
     (Chrome in particular) resolve the vials' percentage offsets against
     a shorter box than Safari does, so on a short viewport they can sit
     close enough to the text to touch. Growing the hero's own height
     pushes the flex-end-anchored text block down by the same amount,
     without changing the vial graphic's size or relative position. */
  .hero { padding-top: calc(var(--nav-h) + 42vh); }
  .hv--a { width: 34vw; right: auto; left: 33vw; top: 7%; }
  .hv--b { width: 24vw; right: auto; left: 6vw; top: 15%; }
  .hv--c { width: 22vw; right: 6vw; top: 17%; }
  .hero__bar { flex-direction: column; align-items: flex-start; padding-right: 0; }
  .cue { display: none; }
}

/* ------------------------------------------------------------
   marquee
   ------------------------------------------------------------ */
.marq { border-block: 1px solid var(--line); overflow: hidden; padding: clamp(18px, 3vw, 34px) 0; }
.marq + .marq { border-top: 0; }
.marq__track { display: flex; width: max-content; will-change: transform; }
.marq__item { display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); font: 800 clamp(3rem, 9vw, 8rem)/1 var(--f-display); letter-spacing: -0.05em; white-space: nowrap; -webkit-text-stroke: 1px var(--line-2); color: transparent; }
.marq__item:nth-child(even) { color: var(--fg); -webkit-text-stroke: 0; }
.marq__item::after { content: ""; width: 0.14em; height: 0.14em; border-radius: 50%; background: var(--accent); flex: none; }

/* ------------------------------------------------------------
   statement (scrubbed words) + stats
   ------------------------------------------------------------ */
.statement { padding: clamp(110px, 24vh, 280px) 0; }
.statement p { max-width: 20ch; font: 700 clamp(2rem, 5.6vw, 5.4rem)/1.06 var(--f-display); letter-spacing: -0.04em; }
.statement--wide p { max-width: 24ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: clamp(28px, 5vw, 72px) clamp(16px, 2.4vw, 40px) clamp(28px, 5vw, 72px) 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 48px); }
.stat__n { font: 800 clamp(3.6rem, 12vw, 11rem)/0.9 var(--f-display); letter-spacing: -0.07em; }
.stat__n sup { font-size: 0.32em; letter-spacing: 0; color: var(--accent); vertical-align: top; margin-left: 0.1em; position: relative; top: 0.25em; }
.stat__l { margin-top: 16px; color: var(--dim); font: 500 12px var(--f-mono); letter-spacing: 0.12em; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* ------------------------------------------------------------
   lineup — pinned horizontal scroll (desktop), native swipe (mobile)
   ------------------------------------------------------------ */
.lineup { position: relative; border-top: 1px solid var(--line); }
.lineup__pin { padding: clamp(60px, 10vh, 120px) 0; }
.lineup__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 5vh, 56px); }
.lineup__title { font: 800 clamp(2.6rem, 7vw, 6.4rem)/0.95 var(--f-display); letter-spacing: -0.055em; }
.lineup__count { color: var(--dim); font: 500 12px var(--f-mono); letter-spacing: 0.12em; white-space: nowrap; }
.lineup__track { display: flex; gap: clamp(14px, 1.8vw, 28px); padding-inline: var(--pad); scroll-padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.lineup__track::-webkit-scrollbar { display: none; }
.lineup__bar { display: none; height: 1px; margin: clamp(24px, 4vh, 44px) var(--pad) 0; background: var(--line); }
.lineup__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.lineup.is-h .lineup__pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.lineup.is-h .lineup__track { overflow: visible; scroll-snap-type: none; will-change: transform; padding-bottom: 0; }
.lineup.is-h .lineup__bar { display: block; }

.lcard { flex: 0 0 clamp(250px, 27vw, 420px); scroll-snap-align: start; display: block; }
.lcard__stage, .pcard__stage {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg);
  display: grid; place-items: center; background: var(--bg-2);
  background: radial-gradient(70% 55% at 50% 38%, color-mix(in srgb, var(--c, #33e6b0) 24%, transparent), transparent 72%), var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color 0.5s;
}
.lcard__stage svg, .pcard__stage svg { height: 80%; width: auto; transition: transform 0.9s var(--ease); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.lcard:hover .lcard__stage, .pcard:hover .pcard__stage { border-color: var(--c, var(--accent)); }
.lcard:hover .lcard__stage svg, .pcard:hover .pcard__stage svg { transform: translateY(-12px) rotate(-3deg) scale(1.04); }
.lcard__meta { display: flex; align-items: baseline; gap: 14px; padding-top: 18px; }
.lcard__n { color: var(--faint); font: 500 12px var(--f-mono); }
.lcard__meta h3 { font: 700 clamp(1.4rem, 2.2vw, 2rem)/1 var(--f-display); letter-spacing: -0.04em; flex: 1; }
.lcard__meta span:last-child { color: var(--dim); font: 500 13px var(--f-mono); }

/* ------------------------------------------------------------
   category rows
   ------------------------------------------------------------ */
.sec { padding: clamp(90px, 16vh, 200px) 0; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 6vh, 72px); }
.sec__title { font: 800 clamp(2.6rem, 7vw, 6.4rem)/0.95 var(--f-display); letter-spacing: -0.055em; }
.crows { border-top: 1px solid var(--line); }
.crow { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 36px; align-items: center; gap: 20px; padding: clamp(20px, 3.2vw, 42px) 0; border-bottom: 1px solid var(--line); transition: color 0.4s, padding 0.6s var(--ease); }
.crow::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.crow__n { color: var(--faint); font: 500 12px var(--f-mono); }
.crow__t { font: 700 clamp(1.7rem, 5.2vw, 4.8rem)/1 var(--f-display); letter-spacing: -0.05em; }
.crow__c { color: var(--dim); font: 500 13px var(--f-mono); }
.crow__a { width: 26px; height: 26px; justify-self: end; transition: transform 0.5s var(--ease), color 0.3s; }
.crows:hover .crow { color: var(--faint); }
.crows .crow:hover { color: var(--fg); padding-left: clamp(10px, 2vw, 28px); }
.crows .crow:hover::before { transform: scaleX(1); }
.crow:hover .crow__a { color: var(--c); transform: translateX(6px); }
.crow:hover .crow__n { color: var(--c); }
@media (max-width: 700px) { .crow { grid-template-columns: 34px minmax(0, 1fr) 24px; } .crow__c { display: none; } }

/* ------------------------------------------------------------
   ai section + chat mock
   ------------------------------------------------------------ */
.ai { border-top: 1px solid var(--line); }
.ai__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.ai__title { font: 800 clamp(2.6rem, 6.6vw, 6.4rem)/0.95 var(--f-display); letter-spacing: -0.06em; margin: 22px 0 26px; }
.ai__title .sp { display: inline-block; width: 0.62em; height: 0.62em; color: var(--accent); vertical-align: -0.02em; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai__copy { color: var(--dim); max-width: 40ch; margin-bottom: 30px; font-size: 18px; }
.mock { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 32px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent); display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.mock__bar { display: flex; align-items: center; gap: 10px; color: var(--dim); font: 500 12px var(--f-mono); letter-spacing: 0.08em; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock__bar svg { width: 15px; height: 15px; color: var(--accent); }
.bub { max-width: 88%; padding: 14px 16px; border-radius: 12px; font-size: 15.5px; line-height: 1.5; }
.bub--u { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 3px; font-weight: 500; }
.bub--a { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.bub.is-typing::after { content: "▍"; color: var(--accent); animation: blink 0.9s steps(1) infinite; }
.bub[hidden] { display: none; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .ai__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   calculator teaser
   ------------------------------------------------------------ */
.calcband { border-top: 1px solid var(--line); text-align: center; overflow: hidden; }
.calcband__title { font: 800 clamp(3rem, 10.5vw, 10rem)/0.9 var(--f-display); letter-spacing: -0.065em; margin: 22px 0 clamp(28px, 6vh, 64px); }
.calcband .syr { max-width: 980px; margin: 0 auto clamp(28px, 5vh, 56px); }
.calcband p { color: var(--dim); max-width: 46ch; margin: 0 auto 30px; font-size: 18px; }

/* ------------------------------------------------------------
   syringe illustration (css-var driven: --fill 0..1)
   ------------------------------------------------------------ */
.syr svg { width: 100%; height: auto; overflow: visible; }
.syr .needle { stroke: #8a9096; stroke-width: 2.5; stroke-linecap: round; }
.syr .hub { fill: #2b3036; }
.syr .barrel { fill: rgba(255, 255, 255, 0.035); stroke: rgba(255, 255, 255, 0.24); stroke-width: 1.2; }
.syr .ticks line { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; }
.syr .fill { opacity: 0.62; transform-origin: 75px 50px; transform: scaleX(var(--fill, 0.1)); transition: transform 0.8s var(--ease); filter: drop-shadow(0 0 10px rgba(51, 230, 176, 0.5)); }
.syr .plunger { transform: translateX(calc(var(--fill, 0.1) * 260px)); transition: transform 0.8s var(--ease); }
.syr .rod, .syr .flange { fill: #3b4148; }
.syr .cap { fill: var(--accent); }
.syr .tick { fill: var(--faint); font: 500 9px var(--f-mono); text-anchor: middle; text-transform: none; }
.syr.no-tr .fill, .syr.no-tr .plunger { transition: none; }

/* ------------------------------------------------------------
   footer
   ------------------------------------------------------------ */
.foot { border-top: 1px solid var(--line); padding-top: clamp(60px, 10vh, 120px); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.foot__lede { color: var(--dim); max-width: 34ch; margin-top: 18px; }
.foot h4 { color: var(--faint); font: 500 11px var(--f-mono); letter-spacing: 0.14em; margin-bottom: 18px; }
.foot__col a, .foot__col span { display: block; padding: 5px 0; color: var(--dim); transition: color 0.3s, transform 0.4s var(--ease); }
.foot__col a:hover { color: var(--accent); transform: translateX(4px); }
.foot__word { margin-top: clamp(40px, 8vh, 100px); height: clamp(120px, 22vw, 380px); overflow: hidden; pointer-events: none; user-select: none; }
.foot__word span { display: block; font: 900 clamp(7rem, 27vw, 460px)/0.78 var(--f-display); letter-spacing: 0.03em; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__legal { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; line-height: 1.6; }
.foot__legal p { max-width: 72ch; }
.foot__orig { white-space: nowrap; font: 500 11px var(--f-mono); letter-spacing: 0.1em; color: var(--faint); }
.foot__orig:hover { color: var(--accent); }
@media (max-width: 800px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__top > :first-child { grid-column: 1 / -1; } .foot__legal { flex-direction: column; } }

/* ------------------------------------------------------------
   page headers (catalog / about / contact)
   ------------------------------------------------------------ */
.phead { padding: calc(var(--nav-h) + clamp(60px, 12vh, 150px)) 0 clamp(36px, 6vh, 72px); }
.phead__title { font: 800 clamp(3.4rem, 14vw, 13rem)/0.86 var(--f-display); letter-spacing: -0.065em; margin: 22px 0 clamp(20px, 3vh, 36px); }
.phead__title sup { font-size: 0.16em; letter-spacing: 0; color: var(--accent); vertical-align: top; margin-left: 0.4em; position: relative; top: 0.6em; font-family: var(--f-mono); font-weight: 500; }
.phead__sub { max-width: 46ch; color: var(--dim); font-size: clamp(16px, 1.4vw, 20px); }

/* ------------------------------------------------------------
   catalog controls + grid
   ------------------------------------------------------------ */
.ctrl { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vh, 44px); }
.tabs { position: relative; display: flex; gap: clamp(18px, 2.4vw, 34px); overflow-x: auto; scrollbar-width: none; padding-bottom: 14px; margin-bottom: -20px; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-right: 40px; }
.tabs button { position: relative; white-space: nowrap; padding: 4px 0; color: var(--dim); font: 500 15px var(--f-display); transition: color 0.3s; }
.tabs button sup { margin-left: 4px; color: var(--faint); font: 500 10px var(--f-mono); }
.tabs button:hover, .tabs button.is-active { color: var(--fg); }
.tabs__ind { position: absolute; left: 0; bottom: 8px; height: 2px; width: var(--w, 0); transform: translateX(var(--x, 0)); background: var(--accent); transition: transform 0.6s var(--ease), width 0.6s var(--ease); box-shadow: 0 0 10px var(--accent); }
.find { display: flex; align-items: center; gap: 10px; flex: 0 0 240px; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--dim); transition: border-color 0.3s; }
.find:focus-within { border-color: var(--accent); }
.find svg { width: 15px; height: 15px; flex: none; }
.find input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 500 14px var(--f-display); }
.find input::placeholder { color: var(--faint); }
@media (max-width: 800px) { .ctrl { flex-direction: column; align-items: stretch; } .find { flex: none; } .tabs { margin-bottom: 0; } }
.tagfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin: -8px 0 24px; }
.tagfilter__label { color: var(--faint); font: 500 12px var(--f-mono); letter-spacing: 0.02em; white-space: nowrap; }
.tagfilter__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip { color: var(--dim); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 13px; font: 500 12.5px var(--f-mono); background: none; white-space: nowrap; transition: color 0.25s, border-color 0.25s, background-color 0.25s; }
.tag-chip:hover { color: var(--fg); border-color: var(--fg); }
.tag-chip.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tagfilter__more { color: var(--faint); border: 1px dashed var(--line-2); border-radius: 999px; padding: 5px 13px; font: 500 12.5px var(--f-mono); background: none; white-space: nowrap; transition: color 0.25s, border-color 0.25s; }
.tagfilter__more:hover { color: var(--fg); border-color: var(--fg); }
.tagfilter__clear { color: var(--accent); border: 1px solid transparent; border-radius: 999px; padding: 5px 4px; font: 500 12.5px var(--f-mono); background: none; white-space: nowrap; transition: color 0.25s; }
.tagfilter__clear:hover { color: var(--fg); }
@media (max-width: 640px) { .tagfilter__label { width: 100%; } }

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); padding-bottom: clamp(80px, 14vh, 160px); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard { display: block; min-width: 0; }
.pcard.is-hidden { display: none; }
.pcard.pop { animation: pop 0.7s var(--ease) both; animation-delay: calc(var(--d, 0) * 28ms); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
.pcard__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, #33e6b0) 20%, transparent), transparent 60%); }
.pcard:hover .pcard__stage::after { opacity: 1; }
.pcard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; }
.pcard__row h3 { font: 700 clamp(1.1rem, 1.7vw, 1.55rem)/1.05 var(--f-display); letter-spacing: -0.04em; overflow-wrap: anywhere; }
.pcard__price { font: 500 13px var(--f-mono); color: var(--fg); white-space: nowrap; }
.pcard__meta { margin-top: 6px; color: var(--faint); font: 500 11.5px/1.4 var(--f-mono); letter-spacing: 0.04em; }
.empty { display: none; padding: 80px 0 140px; color: var(--dim); font-size: 20px; }
.empty.is-on { display: block; }

/* ------------------------------------------------------------
   product page
   ------------------------------------------------------------ */
.pdp { padding-top: calc(var(--nav-h) + 24px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0 28px; color: var(--faint); font: 500 12px var(--f-mono); letter-spacing: 0.06em; }
.crumbs a { color: var(--dim); transition: color 0.3s; }
.crumbs a:hover { color: var(--accent); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(70px, 12vh, 140px); }
.pdp__media { position: sticky; top: calc(var(--nav-h) + 20px); min-width: 0; max-width: 440px; }
.stage {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--bg-2);
  background: radial-gradient(70% 55% at 50% 40%, color-mix(in srgb, var(--c, #33e6b0) 30%, transparent), transparent 72%), var(--bg-2);
  perspective: 1000px;
}
.stage svg { height: 82%; width: auto; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6)); }
.stage svg.bump { animation: bump 0.6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.05) rotate(-1.5deg); } }
.stage__hint { position: absolute; left: 18px; bottom: 16px; color: var(--faint); font: 500 11px var(--f-mono); letter-spacing: 0.1em; }
.pdp__info { min-width: 0; padding-top: 4px; }
.pdp__name { font: 800 clamp(3rem, 8.4vw, 8rem)/0.9 var(--f-display); letter-spacing: -0.06em; margin: 20px 0 18px; overflow-wrap: anywhere; }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vh, 36px); }
.tag-pill { display: inline-block; font: 500 11.5px var(--f-mono); letter-spacing: 0.04em; color: var(--dim); border: 1px solid var(--line-2); padding: 6px 12px; border-radius: 999px; text-transform: lowercase; text-decoration: none; transition: color 0.3s, border-color 0.3s; }
a.tag-pill:hover { color: var(--accent); border-color: var(--accent); }
.price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 30px; }
.price__n { font: 800 clamp(3rem, 6vw, 5.4rem)/1 var(--f-display); letter-spacing: -0.05em; color: var(--accent); }
.price__u { color: var(--dim); font: 500 13px var(--f-mono); letter-spacing: 0.08em; }
.field-l { display: block; margin-bottom: 12px; color: var(--dim); font: 500 11px var(--f-mono); letter-spacing: 0.14em; }
.seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 22px; border: 1px solid var(--line-2); border-radius: var(--r); max-width: 100%; }
.seg button { position: relative; z-index: 1; padding: 12px 18px; border-radius: 6px; color: var(--dim); font: 500 14px var(--f-mono); transition: color 0.35s; }
.seg button:hover { color: var(--fg); }
.seg button.is-active { color: var(--accent-ink); }
.seg__thumb { position: absolute; z-index: 0; top: 0; left: 0; height: 0; width: var(--w, 0); transform: translate(var(--x, 0), var(--y, 0)); height: var(--h, 0); border-radius: 6px; background: var(--accent); transition: transform 0.55s var(--ease), width 0.55s var(--ease), height 0.55s var(--ease); }
.stock { display: flex; align-items: center; gap: 10px; margin: 26px 0 8px; color: var(--accent); font: 500 12px var(--f-mono); letter-spacing: 0.08em; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.specs { margin: 32px 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--dim); font: 500 12px var(--f-mono); letter-spacing: 0.08em; }
.specs dd { text-align: right; font-weight: 500; }
.ruo { padding: 16px 18px; border: 1px solid rgba(242, 184, 75, 0.3); border-radius: var(--r); background: rgba(242, 184, 75, 0.06); color: #e6c98d; font-size: 13.5px; line-height: 1.6; }
.ruo b { display: block; margin-bottom: 4px; color: var(--warn); font: 500 11px var(--f-mono); letter-spacing: 0.14em; }
.acc { margin-top: 32px; border-top: 1px solid var(--line); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__h { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; text-align: left; font: 600 clamp(1.1rem, 1.6vw, 1.4rem) var(--f-display); letter-spacing: -0.03em; }
.acc__h i { position: relative; width: 16px; height: 16px; flex: none; }
.acc__h i::before, .acc__h i::after { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease); }
.acc__h i::after { transform: rotate(90deg); }
.acc__i.is-open .acc__h i::after { transform: rotate(0); }
.acc__b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.acc__i.is-open .acc__b { grid-template-rows: 1fr; }
.acc__b > div { overflow: hidden; }
.acc__b p { padding-bottom: 22px; color: var(--dim); max-width: 56ch; }
.related { border-top: 1px solid var(--line); padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 14vh, 160px); }
.related .pgrid { padding-bottom: 0; }
@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; }
  /* width:100% is load-bearing, not decorative: an auto margin on a grid
     item disables the default stretch sizing, and .stage's only child is
     position:absolute (so it contributes no intrinsic width) — without an
     explicit width the item collapses to ~0 and the vial photo vanishes. */
  .pdp__media { position: static; width: 100%; max-width: 340px; margin: 0 auto; }
}

/* ------------------------------------------------------------
   lightbox + search overlay
   ------------------------------------------------------------ */
.lb { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 40px; background: rgba(var(--bg-rgb), 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb__in { width: min(820px, 90vw); transform: scale(0.88); transition: transform 0.7s var(--ease); }
.lb.is-open .lb__in { transform: none; }
.lb__in svg { width: 100%; height: auto; filter: drop-shadow(0 50px 70px rgba(0, 0, 0, 0.7)); }
.x { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: center; transition: border-color 0.3s, transform 0.5s var(--ease); }
.x:hover { border-color: var(--accent); transform: rotate(90deg); }
.x svg { width: 18px; height: 18px; }

.search { position: fixed; inset: 0; z-index: 200; padding: calc(var(--nav-h) + 4vh) var(--pad) 40px; background: rgba(var(--bg-rgb), 0.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; pointer-events: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; transition: opacity 0.4s; }
.search-open .search { opacity: 1; pointer-events: auto; }
.search__in { max-width: 1100px; margin: 0 auto; }
.search__field { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.search__field svg { width: clamp(22px, 3vw, 34px); height: auto; color: var(--dim); flex: none; }
.search__field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 700 clamp(2rem, 6.4vw, 5rem)/1.1 var(--f-display); letter-spacing: -0.05em; }
.search__field input::placeholder { color: var(--faint); }
.search__hint { margin: 22px 0; color: var(--dim); font: 500 12px var(--f-mono); letter-spacing: 0.1em; }
.search__try { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.search__try button { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--dim); font: 500 13px var(--f-mono); transition: color 0.3s, border-color 0.3s; }
.search__try button:hover { color: var(--accent); border-color: var(--accent); }
.sr { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); animation: sr-in 0.6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); transition: padding 0.5s var(--ease), color 0.3s; }
@keyframes sr-in { from { opacity: 0; transform: translateY(16px); } }
.sr:hover, .sr.is-sel { padding-left: 14px; color: var(--accent); }
.sr__n { color: var(--faint); font: 500 12px var(--f-mono); }
.sr__t { font: 700 clamp(1.4rem, 3.4vw, 2.6rem)/1 var(--f-display); letter-spacing: -0.045em; overflow-wrap: anywhere; }
.sr__c { color: var(--dim); font: 500 11px var(--f-mono); letter-spacing: 0.08em; }
.sr__p { font: 500 14px var(--f-mono); }
@media (max-width: 700px) { .sr { grid-template-columns: 30px minmax(0, 1fr) auto; } .sr__c { display: none; } }

/* ------------------------------------------------------------
   about / contact
   ------------------------------------------------------------ */
.prin { border-top: 1px solid var(--line); }
.prin__r { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: clamp(28px, 5vw, 60px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.prin__n { color: var(--accent); font: 500 12px var(--f-mono); }
.prin__r h3 { font: 700 clamp(2rem, 5vw, 4.4rem)/1 var(--f-display); letter-spacing: -0.05em; }
.prin__r p { color: var(--dim); max-width: 38ch; }
@media (max-width: 800px) { .prin__r { grid-template-columns: 40px 1fr; } .prin__r p { grid-column: 2; } }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); }
.split2 p { color: var(--dim); font-size: 18px; max-width: 46ch; }
.split2 h2 { font: 800 clamp(2.2rem, 5vw, 4.4rem)/0.98 var(--f-display); letter-spacing: -0.055em; }
@media (max-width: 800px) { .split2 { grid-template-columns: 1fr; } }
.mail { display: inline-block; position: relative; font: 800 clamp(1.8rem, 7.4vw, 7rem)/1 var(--f-display); letter-spacing: -0.06em; overflow-wrap: anywhere; }
.mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.7s var(--ease); }
.mail:hover::after { transform: scaleX(1); transform-origin: left; }
.mail:hover { color: var(--accent); }
.cform { display: grid; gap: 26px; }
.cform label { display: block; }
.cform label span { display: block; margin-bottom: 8px; color: var(--dim); font: 500 11px var(--f-mono); letter-spacing: 0.14em; }
.cform input, .cform textarea { width: 100%; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; outline: 0; font: 500 clamp(1.1rem, 2vw, 1.5rem) var(--f-display); letter-spacing: -0.02em; transition: border-color 0.3s; resize: vertical; }
.cform input:focus, .cform textarea:focus { border-color: var(--accent); }
.cform small { color: var(--faint); font: 500 11.5px var(--f-mono); }
.cform__status { color: var(--accent); font: 500 12.5px var(--f-mono); }
.cform__status.is-error { color: var(--warn); }
.meta3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 8vh, 90px); padding-top: 26px; border-top: 1px solid var(--line); }
.meta3 dt { color: var(--faint); font: 500 11px var(--f-mono); letter-spacing: 0.14em; margin-bottom: 8px; }
@media (max-width: 700px) { .meta3 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   calculator
   ------------------------------------------------------------ */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 7vw, 120px); align-items: start; padding-bottom: clamp(100px, 16vh, 180px); }
.calc__in, .calc__out { min-width: 0; }
.step { border: 0; padding: 0; margin: 0 0 clamp(34px, 5vh, 52px); min-width: 0; }
.step legend { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 0 0 16px; }
.step__n { color: var(--accent); font: 500 12px var(--f-mono); }
.step__t { font: 700 clamp(1.3rem, 2.2vw, 1.9rem) var(--f-display); letter-spacing: -0.04em; flex: 1; }
.step__e { color: var(--accent); font: 500 14px var(--f-mono); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 13px 18px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--fg); font: 500 14px var(--f-mono); transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s, transform 0.35s var(--ease); }
.opt:hover { border-color: var(--fg); transform: translateY(-2px); }
.opt.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opt small { opacity: 0.55; font-size: 11px; margin-left: 4px; }
.opt-in { width: 110px; padding: 13px 14px; background: none; border: 1px solid var(--accent); border-radius: var(--r); outline: 0; font: 500 14px var(--f-mono); }
.opt-in[hidden] { display: none; }
.freq-custom { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--dim); font: 500 13px var(--f-mono); letter-spacing: 0.06em; }
.freq-custom[hidden] { display: none; }
.freq-custom input { width: 64px; padding: 10px 12px; background: none; border: 1px solid var(--line-2); border-radius: var(--r); outline: 0; color: var(--fg); font: 500 14px var(--f-mono); }
.freq-custom input:focus { border-color: var(--accent); }
.freq-custom .opts { gap: 6px; }
.freq-custom .opt { padding: 10px 14px; font-size: 13px; }
.calc__out { position: sticky; top: calc(var(--nav-h) + 24px); padding: clamp(20px, 2.6vw, 36px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-tint), transparent); }
.out__k { color: var(--dim); font: 500 11px var(--f-mono); letter-spacing: 0.14em; }
.out__big { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 8px; }
.out__big b { font: 800 clamp(5.4rem, 13vw, 11rem)/0.86 var(--f-display); letter-spacing: -0.07em; color: var(--accent); font-variant-numeric: tabular-nums; }
.out__big small { color: var(--dim); font: 500 13px var(--f-mono); letter-spacing: 0.1em; }
.calc__out .syr { margin: 18px 0 8px; padding: 14px 4px 4px; border-top: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--dim); font: 500 12px var(--f-mono); letter-spacing: 0.08em; }
.rows dd { font: 500 15px var(--f-mono); font-variant-numeric: tabular-nums; }
.warn { margin-top: 14px; padding: 13px 15px; border: 1px solid rgba(242, 184, 75, 0.35); border-radius: var(--r); background: rgba(242, 184, 75, 0.07); color: #e6c98d; font-size: 13.5px; line-height: 1.5; }
.warn[hidden] { display: none; }
.calc-extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); margin-top: clamp(40px, 6vh, 72px); padding-top: clamp(40px, 6vh, 72px); border-top: 1px solid var(--line); }
.sub h3 { margin-bottom: 12px; color: var(--dim); font: 500 11px var(--f-mono); letter-spacing: 0.14em; }
.sub p { color: var(--dim); margin-top: 12px; font-size: 15px; }
.sub p b { color: var(--fg); font-weight: 600; }
.sub .opts { gap: 6px; }
.sub .opt { padding: 10px 14px; font-size: 13px; }
.plan { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan input { width: 84px; padding: 10px 12px; background: none; border: 1px solid var(--line-2); border-radius: var(--r); outline: 0; font: 500 14px var(--f-mono); }
.plan input:focus { border-color: var(--accent); }
.dock { display: none; }
.v1-link { display: inline-block; margin-left: 14px; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--dim); font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; vertical-align: 1px; transition: color 0.3s, border-color 0.3s; }
.v1-link:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc__out { position: static; }
  .calc-extra { grid-template-columns: 1fr; }
  .dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: flex; flex-direction: column; gap: 6px; padding: 12px 16px 8px; border: 1.5px solid var(--accent); border-radius: var(--r); background: rgba(var(--bg-2-rgb), 0.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font: 500 12px var(--f-mono); letter-spacing: 0.1em; color: var(--dim); box-shadow: 0 0 24px rgba(51, 230, 176, 0.18); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
  .dock.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .dock__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .dock b { color: var(--accent); font: 800 26px/1 var(--f-display); letter-spacing: -0.05em; margin-right: 6px; }
  .syr--dock { max-width: 220px; margin: 0 auto; }
}

/* ------------------------------------------------------------
   chat widget
   ------------------------------------------------------------ */
.chat-fab { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 120; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); font: 700 15px var(--f-display); letter-spacing: -0.02em; box-shadow: 0 10px 40px rgba(51, 230, 176, 0.28); transition: transform 0.45s var(--ease), box-shadow 0.4s; }
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(51, 230, 176, 0.4); }
.chat-fab svg { width: 20px; height: 20px; }
.chat-open .chat-fab, .menu-open .chat-fab, .search-open .chat-fab { transform: scale(0.85); opacity: 0; pointer-events: none; }
.chat { position: fixed; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 130; width: min(400px, calc(100vw - 24px)); height: min(580px, calc(100vh - 100px)); display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: rgba(var(--bg-2-rgb), 0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); overflow: hidden; opacity: 0; transform: translateY(24px) scale(0.96); transform-origin: bottom right; pointer-events: none; transition: opacity 0.4s, transform 0.6s var(--ease); }
.chat-open .chat { opacity: 1; transform: none; pointer-events: auto; }
.chat__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat__head strong { display: flex; align-items: center; gap: 10px; font: 700 16px var(--f-display); letter-spacing: -0.03em; }
.chat__head strong svg { width: 17px; height: 17px; color: var(--accent); }
.chat__head small { display: block; color: var(--faint); font: 500 10.5px var(--f-mono); letter-spacing: 0.08em; margin-top: 4px; }
.chat__x { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: center; }
.chat__x svg { width: 14px; height: 14px; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat__m { max-width: 88%; padding: 11px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; animation: sr-in 0.5s var(--ease) both; }
.chat__m--u { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 3px; font-weight: 500; }
.chat__m--a { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.chat__m p { margin: 0 0 10px; }
.chat__m p:last-child { margin-bottom: 0; }
.chat__m ul, .chat__m ol { margin: 0 0 10px; padding-left: 20px; }
.chat__m ul:last-child, .chat__m ol:last-child { margin-bottom: 0; }
.chat__m li { margin-bottom: 4px; }
.chat__m li:last-child { margin-bottom: 0; }
.chat__m strong { font-weight: 700; color: var(--fg); }
.chat__m code { font: 500 0.9em var(--f-mono); background: var(--line); padding: 1px 5px; border-radius: 4px; }
.chat__m a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.chat__dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: dot 1s ease-in-out infinite; }
.chat__dots i:nth-child(2) { animation-delay: 0.15s; }
.chat__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: 0.4; } }
.chat__sug { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.chat__sug button { padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--dim); font: 500 12.5px var(--f-mono); text-align: left; transition: color 0.3s, border-color 0.3s; }
.chat__sug button:hover { color: var(--accent); border-color: var(--accent); }
.chat__form { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; padding: 0 14px; height: 44px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r); outline: 0; font-size: 14.5px; }
.chat__form input:focus { border-color: var(--accent); }
.chat__form button { width: 44px; height: 44px; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.chat__form button svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .calc-page .chat-fab { bottom: 132px; } }

/* ------------------------------------------------------------
   photoreal bottle mode (composited product photos)
   ------------------------------------------------------------ */
.lcard__stage img, .pcard__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lcard:hover .lcard__stage img, .pcard:hover .pcard__stage img { transform: scale(1.045); }
.lcard__stage, .pcard__stage { background: #101011; }
.pcard__stage::after { z-index: 1; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: perspective(1200px) rotateX(calc(var(--rx, 0deg) * 0.35)) rotateY(calc(var(--ry, 0deg) * 0.35)) scale(1.03); transition: transform 0.6s var(--ease), opacity 0.4s; }
.stage img.bump { animation: bump-img 0.7s var(--ease); }
@keyframes bump-img { 0% { opacity: 0.35; transform: scale(1.09); } 100% { opacity: 1; } }
.stage:has(img) { background: #101011; }
.stage__hint { z-index: 2; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.lb__in img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 50px 70px rgba(0, 0, 0, 0.7); }

/* hero: the photo backgrounds are near-black; contrast pushes them to true black and
   screen blending lets the hero glow show through instead of a gray box */
.hv--photo { mix-blend-mode: var(--photo-blend); }
.hv--photo img { display: block; width: 100%; height: auto; filter: contrast(1.45) brightness(1.02); -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
:root[data-theme="light"] .hv--photo img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.18)); -webkit-mask-image: none; mask-image: none; }
.hv--a.hv--photo { width: clamp(280px, 31vw, 520px); right: 5%; top: 6%; }
.hv--b.hv--photo { width: clamp(200px, 22vw, 370px); right: 29%; top: 21%; }
.hv--c.hv--photo { width: clamp(190px, 21vw, 350px); right: -2%; top: 23%; }
@media (max-width: 900px) {
  /* top is a fixed offset from --nav-h, not a %, on purpose: percentages
     here resolve against the hero's height, which is partly vh-based —
     and mobile Chrome and Safari disagree on what vh means (each treats
     the collapsing/expanding address bar differently), so the same %
     (and, it turns out, the same max-height media query too — same
     root cause) put the vials at different actual pixel depths in each
     browser. A calc() off --nav-h (a plain px value) can't be affected
     by that, so both browsers land in the same place. Deliberately not
     shrinking these for short viewports anymore, even though that can
     reintroduce a little hero-label overlap on old, tiny phones — a
     max-height query here is exactly the kind of condition that reads
     differently per-browser, which is what broke this the first time. */
  .hv--a.hv--photo { width: 62vw; right: auto; left: 19vw; top: calc(var(--nav-h) + 28px); }
  .hv--b.hv--photo { width: 42vw; right: auto; left: -10vw; top: calc(var(--nav-h) + 85px); }
  .hv--c.hv--photo { width: 40vw; right: -9vw; top: calc(var(--nav-h) + 91px); }
}

/* background-removed cutouts (true alpha) — no blend-mode/mask trick needed,
   just a soft contact shadow so the bottle still reads as floating */
.hv--cut { mix-blend-mode: normal; }
.hv--cut img,
:root[data-theme="light"] .hv--cut img { filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.28)); -webkit-mask-image: none; mask-image: none; }

@media (max-width: 700px) { .lineup__count { display: none; } }

/* ------------------------------------------------------------------ */
/* cart: nav icon + badge, slide-in drawer, product-page buy row       */
/* ------------------------------------------------------------------ */
.nav__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--dim); transition: color 0.3s, border-color 0.3s; }
.nav__cart:hover { color: var(--fg); border-color: var(--fg); }
.nav__cart svg { width: 17px; height: 17px; }
.nav__cart-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 10.5px var(--f-mono); display: grid; place-items: center; }
.nav__cart-count[hidden] { display: none; }

.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(420px, 100vw); display: flex; flex-direction: column; border-left: 1px solid var(--line-2); background: rgba(var(--bg-2-rgb), 0.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: -40px 0 100px rgba(0, 0, 0, 0.5); transform: translateX(100%); opacity: 0; pointer-events: none; transition: transform 0.45s var(--ease), opacity 0.45s var(--ease); }
.cart-open .cart { transform: none; opacity: 1; pointer-events: auto; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font: 800 20px var(--f-display); letter-spacing: -0.03em; margin: 0; }
.cart__head .x { position: static; width: 40px; height: 40px; }
.cart__list { flex: 1; overflow-y: auto; padding: 8px 20px; display: flex; flex-direction: column; gap: 4px; }
.cart__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__item-info { display: flex; flex-direction: column; gap: 4px; }
.cart__item-info b { font: 700 14.5px var(--f-display); letter-spacing: -0.02em; }
.cart__item-info span { color: var(--faint); font: 500 11.5px var(--f-mono); }
.cart__item-ctrl { display: flex; align-items: center; gap: 10px; }
.cart__item-price { font: 700 14px var(--f-mono); white-space: nowrap; }
.cart__item-x { width: 24px; height: 24px; border-radius: 50%; color: var(--faint); display: grid; place-items: center; font-size: 16px; transition: color 0.2s, background-color 0.2s; }
.cart__item-x:hover { color: var(--fg); background: var(--bg-3); }
.cart__empty { padding: 40px 20px; color: var(--faint); font: 500 13px var(--f-mono); }
.cart__foot { padding: 20px; border-top: 1px solid var(--line); }
.cart__subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font: 500 13px var(--f-mono); color: var(--dim); }
.cart__subtotal b { font: 800 22px var(--f-display); color: var(--fg); }
.cart__note { margin-top: 10px; color: var(--faint); font: 500 11px var(--f-mono); text-align: center; }

.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 4px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; font: 700 16px var(--f-mono); color: var(--dim); transition: background-color 0.2s, color 0.2s; }
.qty button:hover { background: var(--bg-3); color: var(--fg); }
.qty input { width: 40px; text-align: center; background: none; border: 0; font: 700 15px var(--f-mono); color: var(--fg); }
.qty--sm { padding: 2px; }
.qty--sm button { width: 22px; height: 22px; font-size: 13px; }
.qty--sm span { display: inline-block; width: 24px; text-align: center; font: 700 12.5px var(--f-mono); }

.pdp__buy { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pdp__added { color: var(--accent); font: 500 12.5px var(--f-mono); margin: -6px 0 14px; }
.pdp__added a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) {
  .pdp__buy { margin-bottom: 70px; }
}

/* ------------------------------------------------------------------ */
/* checkout page                                                       */
/* ------------------------------------------------------------------ */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(70px, 12vh, 140px); }
.checkout[hidden] { display: none; }
.checkout__items .cart__item { padding: 16px 0; }
.checkout__subtotal { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; font: 500 13px var(--f-mono); color: var(--dim); }
.checkout__subtotal[hidden] { display: none; }
.checkout__subtotal b { font: 800 24px var(--f-display); color: var(--fg); }
.checkout__form { display: grid; gap: 28px; }
.checkout__form[hidden] { display: none; }
.checkout__form fieldset { border: 0; padding: 0; display: grid; gap: 18px; }
.checkout__form legend { padding: 0 0 12px; font: 700 12px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.checkout__form label { display: block; }
.checkout__form label span { display: block; margin-bottom: 8px; color: var(--dim); font: 500 11px var(--f-mono); letter-spacing: 0.1em; }
.checkout__form input, .checkout__form textarea { width: 100%; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; outline: 0; font: 500 clamp(1rem, 1.6vw, 1.2rem) var(--f-display); letter-spacing: -0.01em; transition: border-color 0.3s; resize: vertical; }
.checkout__form input:focus, .checkout__form textarea:focus { border-color: var(--accent); }
.checkout__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkout__legal { color: var(--faint); font: 500 11px var(--f-mono); line-height: 1.6; }
.checkout__done { padding: clamp(60px, 14vh, 140px) 0; }
.checkout__done .btn { margin-top: 24px; }
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__row { grid-template-columns: 1fr; gap: 8px; }
}
