/* "Small vial. More to discover." quality section, with the split-and-twist vial render in the centre slot. */
.vq {
  --vq-bg: oklch(0.18 0.045 258);
  --vq-ink: oklch(0.96 0.008 250);
  --vq-muted: oklch(0.78 0.025 250);
  --vq-soft: oklch(0.72 0.025 250);
  --vq-accent: oklch(0.84 0.09 235);
  --vq-mint: oklch(0.84 0.12 170);
  --vq-display: 'Archivo', 'Inter', system-ui, sans-serif;
  --vq-mono: 'IBM Plex Mono', ui-monospace, monospace;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 64px) clamp(72px, 9vw, 128px);
  color: var(--vq-ink);
  font-family: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, oklch(0.17 0.045 258) 0%, oklch(0.2 0.05 257) 45%, oklch(0.17 0.045 258) 100%);
}
.vq::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.12), transparent);
}
.vq::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 380px;
  width: 1200px;
  height: 1000px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, oklch(0.36 0.09 250 / 0.5), transparent 80%);
  pointer-events: none;
}
.vq-inner { position: relative; max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(64px, 8vw, 112px); }
.vq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vq-mono { font-family: var(--vq-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }

/* Reveal on scroll, only once the script is running. */
.vq [data-vq-reveal] { transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.8,.2,1); }
.vq.vq-js [data-vq-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }

/* Heading */
.vq-head { display: flex; flex-direction: column; align-items: center; gap: 30px; max-width: 860px; text-align: center; }
.vq-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid oklch(1 0 0 / 0.12); border-radius: 999px; background: oklch(1 0 0 / 0.035); color: oklch(0.86 0.08 235); font-family: var(--vq-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.vq-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--vq-mint); box-shadow: 0 0 0 3px oklch(0.84 0.12 170 / 0.18); }
.vq-head h2 { margin: 0; font-family: var(--vq-display); font-weight: 800; font-size: clamp(50px, 7.6vw, 112px); line-height: .9; letter-spacing: -.048em; text-wrap: balance; }
.vq-head h2 span { display: block; color: oklch(0.97 0.006 250); }
.vq-head h2 span + span { color: var(--vq-accent); }
.vq-head p { margin: 0; max-width: 540px; color: var(--vq-muted); font-size: 18px; line-height: 1.65; text-wrap: pretty; }

/* Vial with the four call-outs around it */
.vq-stage-row { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(16px, 2.4vw, 40px); transition-delay: 150ms; }
.vq-col { flex: 1 1 160px; min-width: 160px; max-width: 290px; display: flex; flex-direction: column; gap: 88px; }
.vq-point { display: grid; gap: 14px; align-items: start; }
.vq-col-left .vq-point { grid-template-columns: minmax(0, 1fr) 48px; text-align: right; }
.vq-col-right .vq-point { grid-template-columns: 48px minmax(0, 1fr); }
.vq-point > div { display: flex; flex-direction: column; gap: 8px; }
.vq-point-num { font-family: var(--vq-mono); font-size: 11px; letter-spacing: .16em; color: var(--vq-accent); }
.vq-point strong { font-family: var(--vq-display); font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: -.025em; }
.vq-point p { margin: 0; color: var(--vq-soft); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.vq-link { display: flex; align-items: center; margin-top: 40px; }
.vq-link i { flex: 1; height: 1px; background: linear-gradient(90deg, oklch(0.84 0.09 235 / 0), oklch(0.84 0.09 235 / 0.7)); }
.vq-col-right .vq-link i { background: linear-gradient(270deg, oklch(0.84 0.09 235 / 0), oklch(0.84 0.09 235 / 0.7)); }
.vq-link b { width: 9px; height: 9px; border-radius: 50%; background: var(--vq-bg); border: 1.5px solid var(--vq-accent); box-shadow: 0 0 0 4px oklch(0.84 0.09 235 / 0.12); box-sizing: border-box; }

.vq-vial { position: relative; flex: 0 1 380px; min-width: 240px; margin: 0; display: flex; flex-direction: column; align-items: center; }
.vq-ring, .vq-glow { position: absolute; left: 50%; top: 46%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.vq-ring-outer { width: 122%; border: 1px solid oklch(1 0 0 / 0.06); }
.vq-ring-dashed { width: 92%; border: 1px dashed oklch(0.84 0.09 235 / 0.16); }
.vq-glow { width: 70%; background: radial-gradient(closest-side, oklch(0.84 0.09 235 / 0.22), transparent); }
/* The render has its own teal backdrop. Blending by luminosity over a navy field recolours
   that backdrop to the section palette, and the mask feathers its edges away. */
.vq-slot {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  background: radial-gradient(60% 55% at 50% 52%, oklch(0.5 0.035 250), oklch(0.36 0.09 252) 45%, oklch(0.25 0.065 256) 75%, oklch(0.2 0.05 257));
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.vq-poster, .vq-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  transform: scale(1.32);
  mix-blend-mode: luminosity;
  pointer-events: none;
  transition: opacity .5s ease;
}
.vq-video { opacity: 0; }
.vq-shadow { width: 58%; height: 26px; margin-top: -10px; border-radius: 50%; background: radial-gradient(closest-side, oklch(0.05 0.03 258 / 0.75), transparent); }
.vq-toggle { position: absolute; right: 8%; bottom: 40px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid oklch(1 0 0 / 0.14); border-radius: 50%; background: oklch(0.18 0.045 258 / 0.6); color: var(--vq-ink); cursor: pointer; transition: background .2s, border-color .2s; }
.vq-toggle:hover { background: oklch(0.27 0.065 254); border-color: oklch(0.84 0.09 235 / 0.4); }
.vq-toggle[hidden] { display: none; }
.vq-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vq-play-icon { display: none; }
.vq-toggle[aria-pressed=true] .vq-pause-icon { display: none; }
.vq-toggle[aria-pressed=true] .vq-play-icon { display: block; }

/* Five checks */
.vq-process { width: 100%; display: flex; flex-direction: column; gap: 32px; transition-delay: 300ms; }
.vq-process-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.vq-process-head > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.vq-process-head .vq-mono { color: oklch(0.66 0.04 250); }
.vq-process-head h3 { margin: 0; color: var(--vq-ink); font-family: var(--vq-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -.03em; }
.vq-bars { display: flex; align-items: center; gap: 6px; }
.vq-bars b { width: 10px; height: 3px; border-radius: 2px; background: oklch(1 0 0 / 0.18); transition: width 400ms cubic-bezier(.2,.8,.2,1), background 400ms; }
.vq-bars b.is-active { width: 28px; background: var(--vq-mint); }
.vq-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.vq-checks li { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 220px; box-sizing: border-box; padding: 22px 18px; border: 1px solid oklch(1 0 0 / 0.08); border-radius: 18px; background: oklch(1 0 0 / 0.025); transition: background 350ms, border-color 350ms, transform 350ms cubic-bezier(.2,.8,.2,1); }
.vq-line { position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--vq-mint); transition: width 600ms cubic-bezier(.2,.8,.2,1); }
.vq-check-top { display: flex; justify-content: space-between; align-items: center; }
.vq-n { color: oklch(1 0 0 / 0.22); font-family: var(--vq-display); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: -.04em; transition: color 350ms; }
.vq-tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: oklch(1 0 0 / 0.05); color: oklch(1 0 0 / 0.3); font-size: 11px; transition: background 350ms, color 350ms; }
.vq-check-body { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.vq-check-body strong { font-family: var(--vq-display); font-weight: 700; font-size: 20px; letter-spacing: -.015em; }
.vq-method { align-self: flex-start; padding: 3px 8px; border-radius: 6px; background: oklch(1 0 0 / 0.06); color: oklch(0.8 0.05 240); font-family: var(--vq-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.vq-check-body p { margin: 0; color: oklch(0.74 0.025 250); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.vq-checks li.is-active { background: oklch(0.27 0.065 254); border-color: oklch(0.84 0.09 235 / 0.4); transform: translateY(-4px); }
.vq-checks li.is-active .vq-line { width: 100%; }
.vq-checks li.is-active .vq-n { color: var(--vq-accent); }
.vq-checks li.is-active .vq-tick { background: oklch(0.84 0.12 170 / 0.18); color: oklch(0.86 0.12 170); }

/* Lot lookup */
.vq-lookup { position: relative; overflow: hidden; width: 100%; box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(28px, 3.4vw, 44px); border-radius: 28px; background: oklch(0.97 0.006 250); color: oklch(0.2 0.05 258); box-shadow: 0 40px 80px -40px oklch(0.05 0.03 258 / 0.9); transition-delay: 400ms; }
.vq-lookup::before, .vq-lookup::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid oklch(0.2 0.05 258 / 0.07); pointer-events: none; }
.vq-lookup::before { right: -120px; top: -160px; width: 420px; height: 420px; }
.vq-lookup::after { right: -60px; top: -100px; width: 300px; height: 300px; }
.vq-lookup-copy { position: relative; display: flex; flex-direction: column; gap: 12px; flex: 1 1 300px; }
.vq-lookup-copy .vq-mono { font-size: 11px; color: oklch(0.45 0.06 250); }
.vq-lookup-copy h3 { margin: 0; color: oklch(0.2 0.05 258); font-family: var(--vq-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.vq-lookup-copy p { margin: 0; max-width: 400px; color: oklch(0.42 0.04 255); font-size: 16px; line-height: 1.55; }
.vq-lookup-form { position: relative; display: flex; flex-direction: column; gap: 12px; flex: 1 1 380px; max-width: 500px; }
.vq-lookup form { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid oklch(0.86 0.02 250); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px oklch(0.2 0.05 258 / 0.06); }
.vq-lookup form:focus-within { border-color: oklch(0.42 0.1 250); }
.vq-lookup input { flex: 1 1 180px; min-width: 0; height: 52px; padding: 0 16px; border: 0; outline: none; background: transparent; color: oklch(0.2 0.05 258); font-family: var(--vq-mono); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.vq-lookup input::placeholder { color: oklch(0.55 0.03 250); }
.vq-lookup button { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border: 0; border-radius: 11px; background: oklch(0.22 0.055 258); color: oklch(0.97 0.006 250); font-family: var(--vq-display); font-weight: 600; font-size: 15px; cursor: pointer; transition: background 200ms; }
.vq-lookup button:hover { background: oklch(0.32 0.08 255); }
.vq-msg { min-height: 18px; padding-left: 4px; color: oklch(0.45 0.1 165); font-family: var(--vq-mono); font-size: 12px; }
.vq-msg.is-error { color: oklch(0.5 0.15 35); }
.vq-all { align-self: flex-start; display: flex; align-items: center; gap: 8px; padding-left: 4px; color: oklch(0.22 0.055 258); font-family: var(--vq-display); font-weight: 600; font-size: 15px; text-decoration: none; }
.vq-all:hover { color: oklch(0.42 0.1 250); }
.vq-all span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: oklch(0.22 0.055 258 / 0.08); font-size: 12px; }
.vq a:focus-visible, .vq button:focus-visible { outline: 3px solid var(--vq-accent); outline-offset: 3px; }

/* Narrow screens: vial first, then the call-outs as a tidy grid without connector lines. */
@media (max-width: 860px) {
  .vq-stage-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .vq-vial { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(100%, 340px); flex: none; }
  .vq-col { display: contents; }
  .vq-col-left .vq-point, .vq-col-right .vq-point { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .vq-link { display: none; }
  .vq-point strong { font-size: 24px; }
}
@media (max-width: 560px) {
  .vq { padding-left: 16px; padding-right: 16px; }
  .vq-head { gap: 22px; }
  .vq-head p { font-size: 16px; }
  .vq-stage-row { gap: 28px 16px; }
  .vq-point strong { font-size: 21px; }
  .vq-point p { font-size: 14px; }
  .vq-checks { grid-template-columns: 1fr 1fr; }
  .vq-checks li { min-height: 0; }
  .vq-checks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .vq-lookup { border-radius: 22px; padding: 26px 18px; }
  .vq-lookup button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vq [data-vq-reveal], .vq-checks li, .vq-line, .vq-bars b, .vq-poster, .vq-video { transition: none; }
  .vq.vq-js [data-vq-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .vq-poster { opacity: 1 !important; }
  .vq-video { opacity: 0 !important; }
}
