/*! BioCollex Refresh · module: about · About Us page (body.page-id-188)
 * Mobile first. The layout works from this file alone; about.js adds the CTAs,
 * the mission headline, the swipe dots and the scroll-linked process line.
 */

/* ---------- Hero: shorter, lab-grid texture, room for the stats card ---------- */
.page-id-188 main > section:first-child::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(42, 106, 208, .085) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 106, 208, .085) 1px, transparent 1px);
  background-size: 24px 24px; background-position: 50% -1px;
  -webkit-mask-image: radial-gradient(120% 85% at 50% 0%, #000 18%, transparent 72%);
  mask-image: radial-gradient(120% 85% at 50% 0%, #000 18%, transparent 72%);
}
.page-id-188 main > section:first-child > div.relative { min-height: 0; }
.page-id-188 main > section:first-child > div.relative > div { width: 100%; max-width: 760px; padding: 18px 16px 76px; }
.page-id-188 main > section:first-child h1 {
  font-size: clamp(29px, calc(4.2vw + 13px), 60px) !important;
  line-height: 1.04; letter-spacing: -.035em;
}
.page-id-188 main > section:first-child h1 + p {
  max-width: 34em !important; margin-top: 12px;
  font-size: 14.5px !important; line-height: 1.55; color: #3d4b63; text-wrap: balance;
}
.page-id-188 .bxrf-ab-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-id-188 .bxrf-ab-btn { flex: 1 1 0; min-width: max-content; max-width: 220px; min-height: 48px; gap: 6px; padding: 0 14px; font-size: 14px; }
.page-id-188 .bxrf-ab-btn svg { flex: none; }
.page-id-188 .bxrf-ab-btn.bxrf-btn-ghost { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.page-id-188 .bxrf-ab-btn:active, .page-id-188 .bxrf-ab-cta2:active, .page-id-188 .bxrf-ab-ctarow > a:active { transform: scale(.98); }

/* Floating vials: tucked into the top corners on phones so they never sit on the text */
@media (max-width: 639.98px) {
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(1) { top: 10px; left: -4px; width: 48px; }
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(2) { top: 8px; right: 2px; width: 44px; }
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(3) { display: none; }
}

/* ---------- Section rhythm and headings ---------- */
.page-id-188 .bx-about-sec { padding: 40px 16px; }
.page-id-188 .bx-about-h {
  margin: 0 0 18px; text-align: left; text-wrap: balance;
  font-size: clamp(26px, calc(1.6vw + 20px), 40px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--bxrf-ink);
}
.page-id-188 .bx-about-h span {
  background: linear-gradient(95deg, var(--bxrf-blue), var(--bxrf-blue-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Stats: a navy band that overlaps the hero ---------- */
.page-id-188 main > section.bx-about-sec:nth-child(2) { display: flex; flex-direction: column; padding-top: 0; }
.page-id-188 .bx-about-stats {
  order: -1; position: relative; z-index: 2; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  width: 100%; max-width: 1100px; margin: -48px auto 0; padding: 4px;
  border-radius: 22px;
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(79, 143, 230, .42) 0%, rgba(79, 143, 230, 0) 60%),
    linear-gradient(145deg, var(--bxrf-navy) 0%, #12306a 60%, var(--bxrf-navy-2) 100%);
  box-shadow: 0 28px 50px -28px rgba(10, 31, 68, .72), 0 2px 6px rgba(10, 31, 68, .12);
}
.page-id-188 .bx-about-stats::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, #000, transparent 75%);
  mask-image: linear-gradient(110deg, #000, transparent 75%);
}
.page-id-188 .bx-about-stat {
  position: relative; gap: 5px; padding: 15px 14px 14px;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  transition: opacity .6s ease var(--bx-rv-delay, 0ms), transform .7s var(--bxrf-ease) var(--bx-rv-delay, 0ms) !important;
}
.page-id-188 .bx-about-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); }
.page-id-188 .bx-about-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
.page-id-188 .bx-about-stat:hover { transform: none; box-shadow: none !important; border-color: rgba(255, 255, 255, .1) !important; }
.page-id-188 .bx-about-stat strong {
  font-size: 28px; font-weight: 800; line-height: 1.05; letter-spacing: -.025em; white-space: nowrap;
  background: linear-gradient(100deg, #fff 35%, var(--bxrf-sky));
  -webkit-background-clip: text; background-clip: text;
}
.page-id-188 .bx-about-stat strong.bxrf-ab-range { font-variant-numeric: normal; }
.page-id-188 .bx-about-stat span { font-size: 12.5px; line-height: 1.3; font-weight: 500; color: rgba(226, 236, 252, .8); }

/* ---------- Mission ---------- */
.page-id-188 .bx-about-narrow { width: 100%; max-width: 1100px; margin: 34px auto 0; text-align: left; }
.page-id-188 .bx-about-narrow .bx-about-p { max-width: 64ch; margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #45536b; text-wrap: pretty; }
.page-id-188 .bx-about-narrow .bx-about-p:last-child { margin-bottom: 0; }
.page-id-188 .bxrf-ab-mission .bx-about-h {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--bxrf-blue);
}
.page-id-188 .bxrf-ab-mission .bx-about-h::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.page-id-188 .bxrf-ab-mission .bx-about-h span { background: none; color: inherit; }
.page-id-188 .bxrf-ab-lead {
  margin: 10px 0 16px; text-wrap: balance;
  font-size: clamp(25px, calc(1.5vw + 19px), 40px); font-weight: 800; line-height: 1.14; letter-spacing: -.03em; color: var(--bxrf-ink);
}
.page-id-188 .bxrf-ab-lead span {
  background: linear-gradient(95deg, var(--bxrf-blue), var(--bxrf-blue-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Values: swipe row on phones, grid from 640px ---------- */
.page-id-188 .bx-about-alt { padding: 40px 0 28px; background: linear-gradient(180deg, #f5f8ff 0%, var(--bxrf-mist) 100%); }
.page-id-188 .bx-about-alt .bx-about-h { padding: 0 16px; }
.page-id-188 .bx-about-values {
  position: relative; display: flex; gap: 12px; margin: 0;
  padding: 4px 0 22px 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
}
.page-id-188 .bx-about-values::-webkit-scrollbar { display: none; }
.page-id-188 .bx-about-values::after { content: ""; flex: 0 0 4px; }
.page-id-188 .bx-about-values:focus-visible { outline: 2px solid var(--bxrf-blue); outline-offset: -2px; border-radius: 14px; }
.page-id-188 .bx-about-card {
  flex: 0 0 min(80%, 300px); scroll-snap-align: start;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: center; gap: 12px;
  padding: 18px 18px 20px; border: 1px solid rgba(42, 106, 208, .12); border-radius: 20px; background: #fff;
  box-shadow: 0 1px 2px rgba(11, 21, 48, .04), 0 14px 28px -20px rgba(26, 58, 120, .45);
  transition: opacity .6s ease var(--bx-rv-delay, 0ms), transform .5s var(--bxrf-ease) var(--bx-rv-delay, 0ms), box-shadow .35s var(--bxrf-ease), border-color .3s !important;
}
.page-id-188 .bx-about-values > .bx-about-card.bxrf-in { animation: none; }
.page-id-188 .bx-about-icon {
  width: 44px; height: 44px; margin: 0; border-radius: 14px; color: var(--bxrf-blue);
  background: linear-gradient(145deg, #f4f8ff, #d9e6fb);
  box-shadow: inset 0 0 0 1px rgba(42, 106, 208, .14), 0 6px 14px -10px rgba(42, 106, 208, .7);
}
.page-id-188 .bx-about-icon svg { width: 22px; height: 22px; }
.page-id-188 .bx-about-card h3 { margin: 0; font-size: 16px; line-height: 1.25; letter-spacing: -.01em; color: var(--bxrf-ink); }
.page-id-188 .bx-about-card p { grid-column: 1 / -1; align-self: start; margin: 0; font-size: 14px; line-height: 1.55; color: #50607a; }
.page-id-188 .bxrf-ab-dots { display: flex; justify-content: center; margin-top: -8px; }
.page-id-188 .bxrf-ab-dots button { display: flex; align-items: center; height: 24px; padding: 0 3px; border: 0; background: none; cursor: pointer; }
.page-id-188 .bxrf-ab-dots button::before {
  content: ""; width: 7px; height: 7px; border-radius: 99px; background: #c3d3ee;
  transition: width .35s var(--bxrf-ease), background-color .3s;
}
.page-id-188 .bxrf-ab-dots button.bxrf-on::before { width: 22px; background: var(--bxrf-blue); }

/* ---------- Quality process: a timeline (vertical on phones, a stepper on desktop) ---------- */
.page-id-188 .bx-about-steps { gap: 0; }
.page-id-188 .bx-about-steps > li {
  position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: start; align-content: start;
  padding: 0 0 20px; border: 0; border-radius: 0; background: none; box-shadow: none;
}
.page-id-188 .bx-about-steps > li:last-child { padding-bottom: 0; }
.page-id-188 .bx-about-steps > li:hover { transform: none; }
.page-id-188 .bx-about-steps > li::before,
.page-id-188 .bx-about-steps > li::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; border-radius: 2px; }
.page-id-188 .bx-about-steps > li::before { background: var(--bxrf-line); }
.page-id-188 .bx-about-steps > li::after {
  background: linear-gradient(180deg, var(--bxrf-blue), var(--bxrf-blue-2));
  transform-origin: 50% 0; transform: scaleY(var(--bxrf-f, 1));
}
.page-id-188 .bx-about-steps > li:last-child::before,
.page-id-188 .bx-about-steps > li:last-child::after { content: none; }
.page-id-188 .bx-about-num {
  position: relative; z-index: 1; isolation: isolate; width: 40px; height: 40px;
  font-size: 13px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  color: #fff; background: #fff;
  box-shadow: 0 0 0 5px rgba(42, 106, 208, .12), 0 10px 18px -10px rgba(42, 106, 208, .9);
  transition: color .4s, box-shadow .45s var(--bxrf-ease);
}
.page-id-188 .bx-about-num::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(140deg, var(--bxrf-blue-2), var(--bxrf-blue) 50%, var(--bxrf-navy-2));
  transition: opacity .45s var(--bxrf-ease), transform .45s var(--bxrf-ease);
}
.page-id-188 .bxrf-ab-tl > li:not(.bxrf-on) .bx-about-num { color: var(--bxrf-blue); box-shadow: inset 0 0 0 2px #cddbf3; }
.page-id-188 .bxrf-ab-tl > li:not(.bxrf-on) .bx-about-num::before { opacity: 0; transform: scale(.55); }
.page-id-188 .bx-about-steps > li > div { min-width: 0; padding-top: 9px; }
.page-id-188 .bx-about-steps h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; color: var(--bxrf-ink); }
.page-id-188 .bx-about-steps p { max-width: 60ch; margin: 0; font-size: 14px; line-height: 1.55; color: #50607a; }
.page-id-188 .bxrf-ab-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-top: 4px;
  font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--bxrf-blue); text-decoration: none;
}
.page-id-188 .bxrf-ab-link svg { transition: transform .25s var(--bxrf-ease); }
.page-id-188 .bxrf-ab-link:hover svg { transform: translateX(3px); }

/* ---------- Closing CTA band ---------- */
.page-id-188 main > section.cv-auto { content-visibility: visible; }
.page-id-188 .bx-cta-band { padding-top: 40px; padding-bottom: 92px; }
.page-id-188 .bx-cta-band > img { display: none; }
.page-id-188 .bx-cta-band h2 { max-width: 21em; font-size: 22px; font-weight: 800; line-height: 1.28; letter-spacing: -.02em; text-wrap: balance; }
.page-id-188 .bxrf-ab-ctarow { flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.page-id-188 .bxrf-ab-ctarow > a { min-height: 48px; padding-left: 18px; padding-right: 18px; font-size: 15px; }
.page-id-188 .bxrf-ab-cta2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border-radius: 999px; background: #fff; color: var(--bxrf-navy-2); font-weight: 700; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(42, 106, 208, .25), 0 10px 22px -14px rgba(26, 58, 120, .5);
  transition: transform .2s var(--bxrf-ease), box-shadow .2s;
}
.page-id-188 .bxrf-ab-cta2:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--bxrf-blue), 0 14px 26px -14px rgba(26, 58, 120, .55); }
.page-id-188 .bxrf-ab-ruo {
  display: flex; align-items: flex-start; justify-content: center; gap: 6px;
  max-width: 34em; margin: 18px auto 0; font-size: 12px; line-height: 1.5; color: #44536d; text-align: left;
}
.page-id-188 .bxrf-ab-ruo svg { flex: none; margin-top: 1px; color: var(--bxrf-blue); }
.page-id-188 .bxrf-ab-ruo a { color: var(--bxrf-navy-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 640px and up: tablets and half-width desktop windows ---------- */
@media (min-width: 640px) {
  .page-id-188 main > section:first-child > div.relative > div { padding: 40px 24px 104px; }
  .page-id-188 main > section:first-child h1 + p { font-size: 17px !important; }
  .page-id-188 .bxrf-ab-cta { gap: 12px; margin-top: 24px; }
  .page-id-188 .bxrf-ab-btn { flex: 0 0 auto; min-height: 50px; gap: 8px; padding: 0 24px; font-size: 15px; }

  .page-id-188 .bx-about-sec { padding: 64px 24px; }
  .page-id-188 .bx-about-h { margin-bottom: 26px; }

  .page-id-188 .bx-about-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -64px; padding: 6px; border-radius: 26px; }
  .page-id-188 .bx-about-stat { padding: 22px 20px 20px; }
  .page-id-188 .bx-about-stat:nth-child(n+2) { border-left: 1px solid rgba(255, 255, 255, .1); }
  .page-id-188 .bx-about-stat:nth-child(n+3) { border-top: 0; }
  .page-id-188 .bx-about-stat strong { font-size: clamp(26px, calc(2.4vw + 10px), 42px); }
  .page-id-188 .bx-about-stat span { font-size: 13px; }
  .page-id-188 .bx-about-narrow { margin-top: 48px; }
  .page-id-188 .bx-about-narrow .bx-about-p { font-size: 16px; }

  .page-id-188 .bx-about-alt { padding: 64px 24px 72px; }
  .page-id-188 .bx-about-alt .bx-about-h { padding: 0; }
  .page-id-188 .bx-about-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; overflow: visible; scroll-snap-type: none; }
  .page-id-188 .bx-about-values::after { content: none; }
  .page-id-188 .bx-about-card { padding: 22px 22px 24px; }
  .page-id-188 .bxrf-ab-dots { display: none; }

  .page-id-188 .bx-about-steps > li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding-bottom: 26px; }
  .page-id-188 .bx-about-num { width: 44px; height: 44px; }
  .page-id-188 .bx-about-steps > li > div { padding-top: 10px; }
  .page-id-188 .bx-about-steps > li::before,
  .page-id-188 .bx-about-steps > li::after { left: 21px; top: 50px; }
  .page-id-188 .bx-about-steps p { font-size: 15px; }

  .page-id-188 .bx-cta-band { padding-top: 56px; padding-bottom: 112px; }
  .page-id-188 .bx-cta-band > img { display: block; top: 32px; width: 120px; transform: none; }
  .page-id-188 .bxrf-ab-ctarow { gap: 12px; }
  .page-id-188 .bxrf-ab-ctarow > a { padding-left: 26px; padding-right: 26px; font-size: 16px; }
  .page-id-188 .bx-cta-band h2 { font-size: clamp(26px, calc(1.8vw + 16px), 38px); }
  .page-id-188 .bxrf-ab-ruo { max-width: 46em; font-size: 12.5px; }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(1) { top: 22px; left: 2%; width: 70px; }
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(2) { top: 18px; right: 3%; width: 64px; }
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(3) { display: none; }
}

/* ---------- 900px and up ---------- */
@media (min-width: 900px) {
  .page-id-188 .bx-about-sec { padding: 80px 32px; }
  .page-id-188 .bxrf-ab-mission { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 64px; align-items: start; }
  .page-id-188 .bxrf-ab-lead { margin-bottom: 0; }
  .page-id-188 .bxrf-ab-mcopy { padding-top: 30px; }
  .page-id-188 .bx-about-alt { padding: 80px 32px 88px; }
  .page-id-188 .bx-about-values { gap: 18px; }
  .page-id-188 .bx-about-card { padding: 24px 24px 26px; }
  .page-id-188 .bx-about-card p { font-size: 14.5px; }
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(3) { bottom: 26%; right: 6%; }
}

/* Half-width desktop windows: heading on the left, timeline on the right */
@media (min-width: 900px) and (max-width: 1099.98px) {
  .page-id-188 .bxrf-ab-pwrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 56px; align-items: start; }
  .page-id-188 .bxrf-ab-pwrap > .bx-about-h { position: sticky; top: 104px; margin: 4px 0 0; }
}

/* ---------- 1024px and up ---------- */
@media (min-width: 1024px) {
  .page-id-188 main > section:first-child > div.relative > div { padding: 52px 24px 124px; }
  .page-id-188 main > section:first-child h1 + p { font-size: 18px !important; }
  .page-id-188 .bx-about-stats { margin-top: -72px; }
  .page-id-188 .bx-about-stat { padding: 26px 28px 24px; }
  .page-id-188 .bx-about-stat span { font-size: 13.5px; }
  .page-id-188 .bx-cta-band { padding-top: 64px; padding-bottom: 128px; }
  .page-id-188 .bx-cta-band > img { top: 40px; width: 160px; }
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(1) { left: 4%; }
  .page-id-188 main > section:first-child > div.pointer-events-none > div:nth-child(2) { right: 5%; }
}

/* ---------- 1100px and up: values in three columns, the process as a horizontal stepper ---------- */
@media (min-width: 1100px) {
  .page-id-188 .bx-about-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-id-188 .bx-about-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 22px; }
  .page-id-188 .bx-about-steps > li { grid-template-columns: minmax(0, 1fr); row-gap: 18px; padding: 0; }
  .page-id-188 .bx-about-steps > li > div { padding-top: 0; }
  .page-id-188 .bx-about-steps > li::before,
  .page-id-188 .bx-about-steps > li::after { top: 21px; bottom: auto; left: 56px; right: -11px; width: auto; height: 2px; }
  .page-id-188 .bx-about-steps > li::after { transform-origin: 0 50%; transform: scaleX(var(--bxrf-f, 1)); }
  .page-id-188 .bx-about-steps h3 { min-height: 2.6em; }
  .page-id-188 .bx-about-steps p { font-size: 14.5px; }
}

/* ---------- Reduced motion: everything is shown in its finished state ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-id-188 .bx-about-card,
  .page-id-188 .bx-about-stat,
  .page-id-188 .bx-about-num,
  .page-id-188 .bx-about-num::before,
  .page-id-188 .bx-about-steps > li::after,
  .page-id-188 .bxrf-ab-dots button::before,
  .page-id-188 .bxrf-ab-link svg,
  .page-id-188 .bxrf-ab-cta2 { transition: none !important; }
  .page-id-188 .bx-about-card:hover,
  .page-id-188 .bxrf-ab-cta2:hover,
  .page-id-188 .bxrf-ab-link:hover svg { transform: none; }
}
