/* Reagnchem Scientific: site styles. Brand tokens first; change colours here. */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --sc-canvas: #F3F6FB;
  --sc-surface: #FFFFFF;
  --sc-ink: #101A3A;
  --sc-ink-soft: #4A5676;
  --sc-accent: #0B4EA2;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Outfit", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --navy: #2F388C;
  --green: #67B254;
  --tint: #E6ECF7;
  --e1: 0 1px 2px rgba(22, 40, 96, .06), 0 3px 10px -2px rgba(22, 40, 96, .08);
  --e2: 0 2px 6px rgba(22, 40, 96, .06), 0 14px 34px -10px rgba(22, 40, 96, .18);
  --e3: 0 4px 10px rgba(22, 40, 96, .06), 0 30px 70px -22px rgba(22, 40, 96, .30);
  --bar-h: 4.5rem;
}
html { scroll-padding-top: calc(var(--bar-h) + 1rem); }
body { background: var(--sc-canvas); }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sc-display { font-weight: 560; color: var(--sc-ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sc-ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.eyebrow { font-size: var(--sc-t-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-accent); }
.lede { font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink); max-width: 34ch; text-wrap: pretty; }
.blend { mix-blend-mode: multiply; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--sc-accent); color: var(--sc-accent-ink); font-weight: 560; font-size: var(--sc-t-base); text-decoration: none; white-space: nowrap;
  box-shadow: var(--e2); transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out); }
.btn:active { transform: scale(.97); }
.btn--quiet { background: var(--sc-surface); color: var(--sc-ink); box-shadow: var(--e1), inset 0 0 0 1px rgba(16, 26, 58, .12); }
.btn--small { min-height: 2.6rem; padding: 0 1.1rem; font-size: var(--sc-t-sm); }
.btn[aria-pressed="true"] { background: var(--sc-ink); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.textlink { color: var(--sc-accent); font-weight: 560; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #083F86; box-shadow: var(--e3); }
  .btn--quiet:hover { background: #fff; box-shadow: var(--e2), inset 0 0 0 1px rgba(16, 26, 58, .2); }
  .btn[aria-pressed="true"]:hover { background: #1B2852; }
  .textlink:hover { text-decoration-thickness: 2px; }
}

/* -------------------------------------------------------------------- bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h); display: flex; align-items: center;
  background: color-mix(in oklab, var(--sc-canvas) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color 200ms var(--sc-ease-out); }
.bar.is-stuck { border-bottom-color: rgba(16, 26, 58, .1); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bar__logo img { height: 2.9rem; width: auto; }
.bar__nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.bar__nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); padding: .5rem 0; position: relative; }
.bar__nav a[aria-current="page"] { color: var(--sc-ink); }
.bar__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:not(.btn):hover { color: var(--sc-ink); } }
.bar__menu { display: none; }
@media (max-width: 860px) {
  :root { --bar-h: 4rem; }
  .bar__logo img { height: 2.4rem; }
  .bar__menu { display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: 999px; border: 0; background: var(--sc-surface); box-shadow: var(--e1), inset 0 0 0 1px rgba(16, 26, 58, .12); cursor: pointer; }
  .bar__menu svg { width: 1.3rem; height: 1.3rem; }
  .bar__nav { position: fixed; inset: var(--bar-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--sc-gutter) 1.5rem;
    background: var(--sc-canvas); box-shadow: 0 30px 40px -20px rgba(22, 40, 96, .25); opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out), visibility 0s 200ms; }
  .bar__nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .bar__nav a:not(.btn) { font-size: var(--sc-t-lg); color: var(--sc-ink); padding: .9rem 0; border-bottom: 1px solid rgba(16, 26, 58, .1); }
  .bar__nav a[aria-current="page"]::after { display: none; }
  .bar__nav .btn { margin-top: 1.2rem; justify-content: center; }
}

/* ------------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; padding-top: var(--bar-h); overflow: clip; display: grid; align-items: center; }
.hero__copy { position: relative; z-index: 5; max-width: min(40rem, 50vw); padding-block: 2rem 4rem; }
.hero__copy h1 { font-size: clamp(2.6rem, 1.3rem + 4.3vw, 5.1rem); line-height: .98; }
.hero__copy p { margin-top: 1.5rem; font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink-soft); max-width: 31ch; }
.hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.hero__scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.plane { position: absolute; inset: 0; will-change: transform; }
.plane img { position: absolute; max-width: none; height: auto; }
.plane--far img { right: -8vw; top: -6vh; width: 86vw; opacity: .9; -webkit-mask-image: radial-gradient(ellipse 60% 62% at 62% 48%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 60% 62% at 62% 48%, #000 30%, transparent 78%); }
.plane--glow { background: radial-gradient(ellipse 34vw 30vw at 72% 52%, #fff 0%, rgba(255, 255, 255, .7) 35%, transparent 72%); }
.unit { position: absolute; width: var(--w); left: var(--x); bottom: var(--b); }
.unit img { position: relative; width: 100%; z-index: 1; filter: drop-shadow(0 14px 18px rgba(22, 40, 96, .16)); }
.unit::before { content: ""; position: absolute; left: -9%; right: -9%; bottom: -5.5%; height: 15%; border-radius: 50%; z-index: 0;
  background: linear-gradient(#fff, #EEF2F9); box-shadow: 0 1px 0 #fff inset, 0 10px 0 -1px #DCE4F1, 0 26px 40px -8px rgba(22, 40, 96, .28); }
.plane--back .unit img { filter: saturate(.85) brightness(1.03) blur(.6px) drop-shadow(0 10px 14px rgba(22, 40, 96, .12)); }
.plane--back .unit { opacity: .92; }
.u-floor  { --w: 15vw; --x: 77vw; --b: 39vh; }
.u-medonic{ --w: 13.5vw; --x: 53vw; --b: 37vh; }
.u-klite  { --w: 20vw; --x: 63.5vw; --b: 20vh; }
.u-mini   { --w: 13vw; --x: 49vw; --b: 12vh; }
.u-clover { --w: 22vw; --x: 75vw; --b: 4vh; }
.plane--orbs span { position: absolute; border-radius: 50%; filter: blur(14px); }
.plane--orbs span:nth-child(1) { width: 11vw; height: 11vw; right: -3vw; top: 22vh; background: radial-gradient(circle at 35% 30%, #5E6CD0, var(--navy)); opacity: .55; }
.plane--orbs span:nth-child(2) { width: 6vw; height: 6vw; left: 43vw; bottom: -1vw; background: radial-gradient(circle at 35% 30%, #A5DB8E, var(--green)); opacity: .6; filter: blur(9px); }
.plane--orbs span:nth-child(3) { width: 3.2vw; height: 3.2vw; left: 47.5vw; top: 19vh; background: var(--navy); opacity: .28; filter: blur(5px); }
.hero__floor { position: absolute; inset: auto 0 0 0; height: 16vh; z-index: 4; background: linear-gradient(to top, var(--sc-canvas), transparent); pointer-events: none; }
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding-bottom: 76vw; }
  .hero__copy { max-width: none; padding-block: 2.2rem 0; }
  .hero__copy h1 { font-size: clamp(2.3rem, 10.4vw, 3.3rem); }
  .hero__copy p { font-size: var(--sc-t-base); max-width: 36ch; margin-top: 1rem; }
  .hero__cta { margin-top: 1.5rem; }
  .hero__scene { inset: auto 0 0 0; height: 82vw; }
  .plane--far img { right: -30vw; top: -10vw; width: 150vw; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 78%); }
  .plane--glow { background: radial-gradient(ellipse 60vw 40vw at 50% 55%, #fff 0%, rgba(255, 255, 255, .7) 35%, transparent 72%); }
  .u-floor  { --w: 27vw; --x: 66vw; --b: 43vw; }
  .u-medonic{ --w: 24vw; --x: 8vw; --b: 41vw; }
  .u-klite  { --w: 36vw; --x: 32vw; --b: 22vw; }
  .u-mini   { display: none; }
  .u-clover { --w: 42vw; --x: 56vw; --b: 5vw; }
  .plane--orbs span:nth-child(1) { width: 20vw; height: 20vw; top: 6vw; }
  .plane--orbs span:nth-child(2) { width: 12vw; height: 12vw; left: 5vw; bottom: 3vw; }
  .plane--orbs span:nth-child(3) { display: none; }
  .hero__floor { height: 12vw; }
}

/* ------------------------------------------------------------- who we are */
.who { padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 8vw, 8rem); }
.who__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.who h2 { font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: var(--sc-track-snug); max-width: 18ch; }
.who__text p + p { margin-top: 1rem; }
.who__text h2 + p { margin-top: 1.6rem; }
.who__text .textlink { display: inline-block; margin-top: 1.6rem; }
.figures { display: grid; gap: 0; }
.figures div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(16, 26, 58, .14); }
.figures div:last-child { border-bottom: 1px solid rgba(16, 26, 58, .14); }
.figures dt { color: var(--sc-ink-soft); order: 2; text-align: right; }
.figures dd { font-family: var(--sc-font-display); font-weight: 560; font-size: var(--sc-t-3xl); line-height: 1; letter-spacing: var(--sc-track-tight); color: var(--sc-ink); }
.principals { margin-top: clamp(3rem, 6vw, 5.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.principals img { height: clamp(1.7rem, 2.6vw, 2.6rem); width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .78; }
.principals img.tall { height: clamp(2.6rem, 4vw, 3.8rem); }
@media (max-width: 860px) { .who__grid { grid-template-columns: 1fr; } .principals { justify-content: flex-start; } }

/* ------------------------------------------------------- the bench (peak) */
.bench { background: var(--sc-surface); }
.bench__head { padding-top: clamp(3rem, 6vw, 5rem); }
.bench__head h2 { font-size: var(--sc-t-2xl); letter-spacing: var(--sc-track-snug); line-height: 1.04; }
.station { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 4vw, 4rem); border-top: 1px solid rgba(16, 26, 58, .1); }
.station__fig { display: grid; place-items: center; }
.station__fig img { width: auto; height: auto; max-width: min(100%, 26rem); max-height: 24rem; filter: drop-shadow(0 22px 26px rgba(22, 40, 96, .2)); }
.station__label h3 { font-family: var(--sc-font-display); font-weight: 560; font-size: var(--sc-t-2xl); line-height: 1.02; letter-spacing: var(--sc-track-snug); }
.station__label .role { display: inline-block; margin-bottom: .8rem; font-size: var(--sc-t-sm); font-weight: 600; color: var(--sc-accent); }
.spec { margin-top: 1.4rem; max-width: 30rem; }
.spec div { display: grid; grid-template-columns: 7.2rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(16, 26, 58, .12); font-size: var(--sc-t-sm); line-height: 1.45; }
.spec dt { color: var(--sc-ink-soft); }
.spec dd { color: var(--sc-ink); }
.station__label .btn { margin-top: 1.5rem; }
.bench__index { display: none; }
@media (max-width: 860px) { .station { grid-template-columns: 1fr; } .station__fig img { max-height: 15rem; } }

/* live mode: one pinned stage, stations overlaid, driven by scroll */
.live .bench .bench__stage { display: block; }
.live .bench .bench__head { position: absolute; z-index: 6; left: 0; right: 0; top: calc(var(--bar-h) + clamp(.6rem, 3vh, 2rem)); padding-top: 0; }
.live .bench .bench__head h2 { font-size: var(--sc-t-xl); }
.live .bench .station { position: absolute; inset: 0; display: block; padding: 0; border: 0; pointer-events: none; }
.live .bench .station__label { position: absolute; left: max(var(--sc-gutter), calc((100vw - var(--sc-maxw)) / 2 + var(--sc-gutter))); top: 50%; width: min(31rem, 40vw); translate: 0 -46%; opacity: 0; will-change: opacity, transform; }
.live .bench .station.is-active .station__label { pointer-events: auto; }
.live .bench .station__fig { position: absolute; left: 72%; top: 52%; width: 0; height: 0; display: block; will-change: transform, opacity, filter; }
.live .bench .station__fig img { position: absolute; left: 0; top: 0; translate: -50% -50%; max-width: none; max-height: none; width: var(--fw, 30vw); filter: drop-shadow(0 30px 30px rgba(22, 40, 96, .22)); }
.live .bench .station__fig::after { content: ""; position: absolute; left: 0; top: 0; width: calc(var(--fw, 30vw) * 1.25); height: calc(var(--fw, 30vw) * .16); translate: -50% calc(var(--fh, 14vw) - 30%); border-radius: 50%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(22, 40, 96, .16), transparent 68%); }
.live .bench .bench__index { display: flex; position: absolute; z-index: 6; left: max(var(--sc-gutter), calc((100vw - var(--sc-maxw)) / 2 + var(--sc-gutter))); right: var(--sc-gutter); bottom: clamp(1rem, 4vh, 2.2rem); gap: clamp(.6rem, 2vw, 2rem); flex-wrap: wrap; }
.bench__index button { border: 0; background: none; cursor: pointer; padding: .7rem 0; font-size: var(--sc-t-sm); font-weight: 500; color: var(--sc-ink-soft); position: relative; }
.bench__index button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(16, 26, 58, .14); }
.bench__index button[aria-current="true"] { color: var(--sc-ink); }
.bench__index button[aria-current="true"]::before { background: var(--sc-accent); }
.bench__index button.in-tray::after { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); margin-left: .45rem; vertical-align: .08em; }
.live .bench .bench__lattice { position: absolute; right: -6vw; top: 8vh; width: 62vw; max-width: none; opacity: .5; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 55% 55% at 55% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 55% 55% at 55% 50%, #000 20%, transparent 75%); }
.bench__lattice { display: none; }
.live .bench .bench__lattice { display: block; }
@media (max-width: 860px) {
  .live .bench .station__fig { left: 50%; top: 36%; }
  .live .bench .station__label { top: auto; bottom: 5.2rem; translate: none; width: auto; left: var(--sc-gutter); right: var(--sc-gutter); }
  .live .bench .station__label h3 { font-size: var(--sc-t-xl); }
  .live .bench .spec { margin-top: .8rem; }
  .live .bench .spec div { padding: .45rem 0; grid-template-columns: 5.6rem 1fr; }
  .live .bench .spec div.opt { display: none; }
  .live .bench .station__label .btn { margin-top: .9rem; }
  .live .bench .bench__index { bottom: .6rem; gap: .5rem; flex-wrap: nowrap; }
  .live .bench .bench__index button { flex: 1; font-size: 0; padding: .9rem 0; }
  .live .bench .bench__index button.in-tray::after { display: none; }
  .live .bench .bench__index button.in-tray::before { background: var(--green); }
  .live .bench .bench__index button[aria-current="true"]::before { background: var(--sc-accent); }
  .live .bench .bench__lattice { width: 130vw; right: -30vw; top: 4vh; }
}

/* ------------------------------------------------------ service rail (pan) */
.rail-act { background: var(--sc-canvas); }
.rail { display: flex; height: 100%; align-items: center; padding-inline: var(--sc-gutter); gap: clamp(1.2rem, 2.5vw, 2.5rem); padding-top: var(--bar-h); }
.rail > * { flex: none; }
.rail__lead { width: clamp(18rem, 34vw, 30rem); }
.rail__lead h2 { font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: var(--sc-track-snug); }
.rail__lead p { margin-top: 1.2rem; }
.step { width: clamp(17rem, 27vw, 23rem); height: min(26rem, 58vh); padding: clamp(1.4rem, 2.2vw, 2rem); border-radius: 20px; background: var(--sc-surface); box-shadow: var(--e2), inset 0 1px 0 #fff;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.step svg { width: 2.6rem; height: 2.6rem; color: var(--sc-accent); }
.step h3 { font-family: var(--sc-font-display); font-weight: 560; font-size: var(--sc-t-xl); letter-spacing: var(--sc-track-snug); line-height: 1.05; }
.step p { margin-top: .7rem; color: var(--sc-ink-soft); font-size: var(--sc-t-base); line-height: 1.5; }
.step::after { content: ""; position: absolute; top: 2.7rem; left: calc(100% + .2rem); width: clamp(.8rem, 2.1vw, 2.1rem); height: 2px; background: rgba(11, 78, 162, .35); }
.step:last-of-type::after { display: none; }
.rail__end { width: clamp(16rem, 26vw, 22rem); }
.rail__end p { font-size: var(--sc-t-lg); line-height: 1.4; color: var(--sc-ink); }
.rail__end a { display: inline-block; margin-top: 1.2rem; }
@media (prefers-reduced-motion: no-preference) {
  .rail-act .step { opacity: calc(.55 + .45 * clamp(0, (var(--sc-p, 1) - var(--at)) * 9, 1)); transform: translateY(calc((1 - clamp(0, (var(--sc-p, 1) - var(--at)) * 9, 1)) * 22px)); }
}
@media (max-width: 860px) { .rail__lead { width: 78vw; } .step { width: 74vw; height: min(24rem, 56vh); } .rail__end { width: 70vw; } }

/* ------------------------------------------------------------ reach (flow) */
.reach { background: var(--sc-surface); padding-block: var(--sc-section) clamp(3rem, 6vw, 6rem); }
.reach__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.reach h2 { font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: var(--sc-track-snug); }
.reach__intro p { margin-top: 1.2rem; }
.sectors { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 3vw, 3rem); }
.sectors li { padding: 1.15rem 0; border-top: 1px solid rgba(16, 26, 58, .12); }
.sectors h3 { font-family: var(--sc-font-display); font-weight: 560; font-size: var(--sc-t-lg); letter-spacing: -.01em; line-height: 1.2; }
.sectors p { margin-top: .35rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); line-height: 1.5; }
.chem { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.chem h3 { font-family: var(--sc-font-display); font-weight: 560; font-size: var(--sc-t-xl); line-height: 1.08; letter-spacing: var(--sc-track-snug); }
.chem__list li { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; align-items: center; padding: 1rem 0; border-top: 1px solid rgba(16, 26, 58, .12); }
.chem__list img { max-height: 3.2rem; width: auto; max-width: 7rem; }
.chem__list b { font-weight: 600; color: var(--sc-ink); }
.chem__list span { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.clients { margin-top: clamp(3rem, 6vw, 5rem); }
.clients p { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.marquee { margin-top: 1.2rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); width: max-content; animation: marquee 60s linear infinite; }
.marquee__track img { height: 3.6rem; width: auto; max-width: none; flex: none; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
  .marquee__track img[aria-hidden="true"] { display: none; }
}
@media (max-width: 860px) { .reach__grid, .chem { grid-template-columns: 1fr; } .sectors { grid-template-columns: 1fr; } .marquee__track img { height: 2.8rem; } }

/* ------------------------------------------------------------------ close */
.close { background: var(--sc-canvas); }
.close__stage { display: flex; flex-direction: column; }
.close__main { flex: 1; display: grid; align-content: center; justify-items: start; gap: 1.6rem; padding-top: calc(var(--bar-h) + 1rem); }
.close__main h2 { font-size: var(--sc-t-3xl); line-height: 1; max-width: 17ch; }
.close__main > p { font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink-soft); max-width: 38ch; }
.close__row { display: flex; align-items: flex-end; gap: clamp(.8rem, 2.4vw, 2.4rem); margin-top: .5rem; min-height: clamp(5rem, 14vh, 9rem); }
.close__row img { height: clamp(4rem, 13vh, 8.5rem); width: auto; filter: drop-shadow(0 10px 12px rgba(22, 40, 96, .18)); transition: opacity 240ms var(--sc-ease-out); }
.close__row.has-picks img:not(.is-picked) { opacity: .28; }
@media (prefers-reduced-motion: no-preference) {
  .live .close__row img { transform: translateX(calc((1 - clamp(0, var(--sc-p, 1) * 1.35 - var(--i) * .07, 1)) * (18vw + var(--i) * 9vw))); }
}
.close__pick { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); min-height: 1.5em; }
.close__pick b { color: var(--sc-ink); font-weight: 600; }
@media (max-width: 860px) { .close__row img { height: 3.4rem; } .close__row { gap: .7rem; min-height: 4rem; } .close__main { gap: 1.1rem; } .close__main h2 { font-size: var(--sc-t-2xl); } .close__main > p { font-size: var(--sc-t-base); } }

/* ----------------------------------------------------------------- footer */
.foot { border-top: 1px solid rgba(16, 26, 58, .1); padding-block: 1.4rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot--full { background: var(--sc-surface); padding-block: clamp(2.5rem, 5vw, 4rem) 1.6rem; }
.foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem clamp(1.5rem, 4vw, 4rem); }
.foot__cols img { height: 3rem; width: auto; }
.foot__cols p { margin-top: 1rem; max-width: 30ch; line-height: 1.5; }
.foot__cols h2 { font-size: var(--sc-t-sm); font-weight: 600; color: var(--sc-ink); margin-bottom: .7rem; }
.foot__cols li { padding: .22rem 0; }
.foot__base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(16, 26, 58, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
@media (max-width: 860px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 860px) { .close .foot span.opt { display: none; } }

/* ------------------------------------------------------------------- tray */
.tray { position: fixed; right: clamp(.8rem, 2vw, 1.6rem); bottom: clamp(.8rem, 2vw, 1.6rem); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.tray[hidden] { display: none; }
.tray__toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; padding: 0 1.1rem 0 .9rem; border: 0; border-radius: 999px; cursor: pointer; background: var(--sc-ink); color: #fff; font-weight: 560; font-size: var(--sc-t-sm); box-shadow: var(--e3); transition: transform 140ms var(--sc-ease-out); }
.tray__toggle:active { transform: scale(.97); }
.tray__count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: 999px; background: var(--green); color: #0C2A08; font-weight: 700; font-variant-numeric: tabular-nums; }
.tray.bump .tray__count { animation: bump 380ms var(--sc-ease-out); }
@keyframes bump { 40% { transform: scale(1.3); } }
.tray__panel { width: min(21rem, calc(100vw - 1.6rem)); padding: 1.1rem; border-radius: 18px; background: var(--sc-surface); box-shadow: var(--e3), inset 0 0 0 1px rgba(16, 26, 58, .08); }
.tray__panel[hidden] { display: none; }
.tray__panel h2 { font-family: var(--sc-font-display); font-weight: 560; font-size: var(--sc-t-lg); }
.tray__panel li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid rgba(16, 26, 58, .1); font-size: var(--sc-t-sm); }
.tray__panel ul { margin-top: .7rem; }
.tray__panel li button { border: 0; background: none; cursor: pointer; color: var(--sc-ink-soft); padding: .35rem .2rem; text-decoration: underline; text-underline-offset: .2em; font-size: var(--sc-t-xs); }
.tray__panel .btn { margin-top: .9rem; width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .tray.bump .tray__count { animation: none; } }

/* ------------------------------------------------------------- inner pages */
.page-head { position: relative; overflow: clip; padding-top: calc(var(--bar-h) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.page-head img.lattice { position: absolute; right: -10vw; top: -8vh; width: 70vw; max-width: none; opacity: .75; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 55% 60% at 60% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 55% 60% at 60% 45%, #000 20%, transparent 75%); }
.page-head .sc-wrap { position: relative; }
.page-head h1 { font-size: var(--sc-t-3xl); line-height: 1; max-width: 16ch; }
.page-head p { margin-top: 1.4rem; font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink-soft); max-width: 40ch; }
.band { padding-block: var(--sc-section); }
.band--white { background: var(--sc-surface); }
.band h2 { font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: var(--sc-track-snug); max-width: 20ch; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.two--top { align-items: start; }
.two p + p { margin-top: 1rem; }
.two h2 + p { margin-top: 1.5rem; }
.photo { border-radius: 20px; overflow: hidden; box-shadow: var(--e3); }
.photo img { width: 100%; height: auto; }
.vision { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.3rem); line-height: 1.1; letter-spacing: -.025em; max-width: 24ch; color: var(--sc-ink); text-wrap: balance; }
.vision + p { margin-top: 1.6rem; }
.deflist { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2rem; }
.deflist div { padding: 1.3rem 0; border-top: 1px solid rgba(16, 26, 58, .14); }
.deflist dt { font-family: var(--sc-font-display); font-weight: 560; font-size: var(--sc-t-xl); letter-spacing: var(--sc-track-snug); line-height: 1.1; color: var(--sc-ink); }
.deflist dd { margin-top: .4rem; color: var(--sc-ink-soft); max-width: 36ch; }
.goals { counter-reset: g; margin-top: 2rem; }
.goals li { counter-increment: g; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(16, 26, 58, .14); font-size: var(--sc-t-lg); line-height: 1.4; color: var(--sc-ink); max-width: 52rem; }
.goals li::before { content: counter(g); font-family: var(--sc-font-display); font-weight: 560; color: var(--sc-accent); }
.members { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem clamp(2rem, 6vw, 5rem); margin-top: 2rem; }
.members img { height: clamp(3.4rem, 6vw, 5rem); width: auto; mix-blend-mode: multiply; }
.cta-band { padding-block: var(--sc-section); }
.cta-band h2 { font-size: var(--sc-t-3xl); line-height: 1; max-width: 16ch; }
.cta-band p { margin-top: 1.3rem; font-size: var(--sc-t-lg); color: var(--sc-ink-soft); max-width: 40ch; line-height: 1.45; }
.cta-band .btn { margin-top: 2rem; }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 5rem); border-top: 1px solid rgba(16, 26, 58, .1); }
.product:first-of-type { border-top: 0; }
.product--flip .product__media { order: 2; }
.product__media { display: flex; align-items: flex-end; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: 16rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 24px; background: radial-gradient(ellipse at 50% 40%, #fff 30%, var(--tint)); }
.product__media img { width: auto; height: auto; max-height: 19rem; min-width: 0; flex: 0 1 auto; max-width: 100%; filter: drop-shadow(0 20px 22px rgba(22, 40, 96, .2)); }
.product__media--logos { flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.product__media--logos img { max-height: 4.5rem; filter: none; mix-blend-mode: multiply; }
.product h3 { font-family: var(--sc-font-display); font-weight: 560; font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: var(--sc-track-snug); }
.product .role { display: inline-block; margin-bottom: .8rem; font-size: var(--sc-t-sm); font-weight: 600; color: var(--sc-accent); }
.product h3 + p { margin-top: 1.1rem; }
.picks { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.group-title { padding-top: clamp(2rem, 4vw, 3.5rem); }
.group-title h2 { font-size: var(--sc-t-xl); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-list div { padding: 1rem 0; border-top: 1px solid rgba(16, 26, 58, .14); display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.contact-list dt { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); padding-top: .15em; }
.contact-list dd { color: var(--sc-ink); }
.contact-list a { text-decoration-color: rgba(16, 26, 58, .3); }
.form { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 24px; background: var(--sc-surface); box-shadow: var(--e2); }
.form h2 { font-size: var(--sc-t-xl); }
.form > p { margin-top: .5rem; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.field { display: grid; gap: .35rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--sc-t-sm); font-weight: 500; color: var(--sc-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border-radius: 12px; border: 1px solid rgba(16, 26, 58, .22); background: #FBFCFE; color: var(--sc-ink); transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sc-accent); box-shadow: 0 0 0 3px rgba(11, 78, 162, .18); }
.form__picked { margin-top: 1.2rem; padding: .9rem 1rem; border-radius: 12px; background: var(--sc-canvas); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.form__picked[hidden] { display: none; }
.form__picked b { color: var(--sc-ink); font-weight: 600; }
.form .btn { margin-top: 1.4rem; }
.form__note { margin-top: .9rem !important; font-size: var(--sc-t-xs) !important; }
.map { display: block; width: 100%; height: clamp(18rem, 40vw, 26rem); border: 0; border-radius: 24px; box-shadow: var(--e2); margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 860px) {
  .two, .product, .contact-grid, .deflist, .form__grid { grid-template-columns: 1fr; }
  .product--flip .product__media { order: 0; }
  .product__media img { max-height: 13rem; }
  .page-head img.lattice { width: 130vw; right: -40vw; }
}

/* static rail: reduced motion and no-script get the steps as a plain grid */
html:not(.live) .rail-act { padding-block: var(--sc-section); }
html:not(.live) .rail { flex-wrap: wrap; height: auto; padding-top: 0; align-items: stretch; }
html:not(.live) .rail__lead, html:not(.live) .rail__end { width: 100%; max-width: 40rem; }
html:not(.live) .step { height: auto; min-height: 13rem; flex: 1 1 15rem; width: auto; }
html:not(.live) .step::after { display: none; }
html:not(.live) .bench__head { padding-bottom: 1rem; }

@media (max-width: 860px) { .product__media--logos img { max-height: 3.6rem; } }
@media (min-width: 861px) { .close .foot__in { padding-right: 9rem; } }
@media (max-width: 860px) and (max-height: 700px) {
  .live .bench .station__fig { top: 33%; }
  .live .bench .bench__head h2 { font-size: var(--sc-t-lg); }
  .live .bench .station__label { bottom: 3.6rem; }
  .live .bench .station__label .role { margin-bottom: .3rem; }
}

/* ---- v2: hero row, analyzers arrive one by one ---- */
.hero--row { display: flex; flex-direction: column; justify-content: center; text-align: center; min-height: 100svh; padding: calc(var(--bar-h) + 1.5rem) 0 2rem; }
.hero--row .hero__copy { max-width: 56rem; margin-inline: auto; padding-block: 0; }
.hero--row .hero__copy h1 { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.4rem); line-height: 1; }
.hero--row .hero__copy p { max-width: 42ch; margin-inline: auto; margin-top: 1.2rem; }
.hero--row .hero__cta { justify-content: center; margin-top: 1.8rem; }
.hero__lattice { position: absolute; left: 50%; top: 0; width: min(120vw, 110rem); max-width: none; translate: -50% -8%; opacity: .7; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 45%, transparent 28%, #000 60%, transparent 85%); mask-image: radial-gradient(ellipse 55% 55% at 50% 45%, transparent 28%, #000 60%, transparent 85%); }
.hero--row .sc-wrap { position: relative; }
.lineup { --row: clamp(9rem, 30vh, 18rem); display: flex; align-items: flex-end; justify-content: center; gap: clamp(.8rem, 3vw, 3rem); margin-top: clamp(2rem, 5vh, 3.5rem); }
.lineup li { display: grid; justify-items: center; gap: .9rem; position: relative; }
.lineup img { height: calc(var(--row) * var(--h)); width: auto; max-width: none; position: relative; z-index: 1; filter: drop-shadow(0 16px 16px rgba(22, 40, 96, .18)); }
.lineup li::before { content: ""; position: absolute; left: -8%; right: -8%; bottom: 1.9rem; height: 1.6rem; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(22, 40, 96, .2), transparent 70%); }
.lineup span { font-size: var(--sc-t-sm); font-weight: 500; color: var(--sc-ink-soft); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .lineup li { animation: arrive 900ms var(--sc-ease-out) both; animation-delay: calc(350ms + var(--i) * 320ms); }
  @keyframes arrive { from { opacity: 0; transform: translateY(46px) scale(.9); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hero--row { display: flex; padding-bottom: 2rem; text-align: left; }
  .hero--row .hero__copy p { margin-inline: 0; }
  .hero--row .hero__cta { justify-content: flex-start; }
  .lineup { --row: 23vw; gap: 2vw; margin-top: 2.5rem; }
  .lineup span { display: none; }
  .lineup li::before { bottom: -.6rem; height: 1.1rem; }
}
/* ---- v2: analyzer carousel, runs on its own clock ---- */
.live .bench .bench__stage { position: relative; height: clamp(34rem, 88vh, 47rem); overflow: clip; }
.live .bench .bench__head { top: clamp(1.8rem, 5vh, 3.2rem); }
.bench__pause { margin-left: auto; color: var(--sc-accent) !important; }
.bench__pause::before { display: none; }
@media (max-width: 860px) { .live .bench .bench__index .bench__pause { flex: none; font-size: var(--sc-t-xs); padding: .3rem .2rem .3rem .6rem; } }
/* ---- hero: an analyzer pops up when the cursor points at it ---- */
.lineup li { cursor: pointer; }
.lineup img { transform-origin: 50% 100%; transition: transform 260ms var(--sc-ease-out), filter 260ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out); }
.lineup span { transition: color 200ms var(--sc-ease-out), transform 260ms var(--sc-ease-out); }
.lineup li::before { transition: transform 260ms var(--sc-ease-out), opacity 260ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .lineup:hover li:not(:hover) img { opacity: .55; }
  .lineup li:hover { z-index: 2; }
  .lineup li:hover img { transform: translateY(-10px) scale(1.14); filter: drop-shadow(0 30px 26px rgba(22, 40, 96, .28)); }
  .lineup li:hover span { color: var(--sc-accent); transform: translateY(2px); }
  .lineup li:hover::before { transform: scale(1.25); opacity: .7; }
}
.lineup li:active img { transform: translateY(-8px) scale(1.12); }
@media (prefers-reduced-motion: reduce) { .lineup li:hover img, .lineup li:active img { transform: scale(1.08); } }

/* ================= v3: colour ================= */
:root { --lime: #8DC63F; --teal: #12A3B4; --orange: #F28C28; --deep: #141C5C; }
/* dark brand grounds: hero, close, page heads, CTA bands, footer */
:is(.hero--row, .close, .page-head, .cta-band, .foot--full) {
  --sc-ink: #FFFFFF; --sc-ink-soft: #D3DEF6; --sc-accent: var(--lime); --sc-accent-ink: #10300A; color: var(--sc-ink);
}
:is(.hero--row, .close, .page-head, .cta-band) { background: linear-gradient(155deg, #1B2470 0%, #0B4EA2 58%, #0E7F8C 125%) !important; position: relative; }
:is(.hero--row, .close, .page-head, .cta-band) .btn--quiet { color: #101A3A; }
@media (hover: hover) and (pointer: fine) {
  :is(.hero--row, .close, .page-head, .cta-band) .btn:not(.btn--quiet):hover { background: #A6DA5E; }
}
.hero--row::before, .page-head::before, .cta-band::before, .close__stage::before { content: ""; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(60px);
  width: 46vw; height: 46vw; right: -12vw; bottom: -22vw; background: radial-gradient(circle, rgba(141, 198, 63, .55), transparent 65%); }
.hero--row::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(70px); width: 38vw; height: 38vw; left: -14vw; top: -10vw; background: radial-gradient(circle, rgba(18, 163, 180, .6), transparent 65%); }
.hero--row, .page-head, .cta-band { overflow: clip; }
.hero__lattice, .page-head img.lattice { filter: brightness(0) invert(1); opacity: .16; }
.hero--row .sc-wrap, .cta-band .sc-wrap { position: relative; z-index: 1; }
.lineup li::before { background: radial-gradient(ellipse at center, rgba(4, 10, 50, .55), transparent 70%); }
.lineup img { filter: drop-shadow(0 18px 18px rgba(4, 10, 50, .4)); }
.lineup span { color: #E4ECFB; }
.close__stage { overflow: clip; }
.close__main, .close .foot { position: relative; z-index: 1; }
.close .foot { border-top-color: rgba(255, 255, 255, .18); }
.close__row img { filter: drop-shadow(0 12px 14px rgba(4, 10, 50, .45)); }
.tray__toggle { box-shadow: var(--e3), 0 0 0 1px rgba(255, 255, 255, .28); }
/* footer */
.foot--full { background: var(--deep); border-top: 0; }
.foot--full .foot__cols h2 { color: #fff; }
.foot--full .foot__cols img { background: #fff; padding: .45rem .8rem; border-radius: 12px; height: 3.7rem; }
.foot--full .foot__base { border-top-color: rgba(255, 255, 255, .16); }
/* figures */
.figures div:nth-child(1) dd { color: #0B4EA2; }
.figures div:nth-child(2) dd { color: #3F8F2E; }
.figures div:nth-child(3) dd { color: #0E7F8C; }
.who { background: linear-gradient(180deg, #fff 0%, var(--sc-canvas) 100%); }
/* analyzer carousel: a colour per instrument */
.station:nth-child(1) { --hue: #0B4EA2; } .station:nth-child(2) { --hue: #12A3B4; } .station:nth-child(3) { --hue: #67B254; }
.station:nth-child(4) { --hue: #2F388C; } .station:nth-child(5) { --hue: #F28C28; }
.live .bench .station__fig::before { content: ""; position: absolute; left: 0; top: 0; width: calc(var(--fw, 30vw) * 1.3); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: -2;
  background: radial-gradient(circle, color-mix(in oklab, var(--hue) 34%, transparent) 0%, color-mix(in oklab, var(--hue) 14%, transparent) 55%, transparent 72%); }
.station__label .role { padding: .3rem .8rem; border-radius: 999px; background: color-mix(in oklab, var(--hue) 16%, #fff); color: var(--sc-ink); }
.station__label h3 { color: color-mix(in oklab, var(--hue) 55%, #101A3A); }
.station [data-pick][aria-pressed="false"] { background: color-mix(in oklab, var(--hue) 78%, #101A3A); color: #fff; }
/* sectors as tinted tiles */
.reach { background: linear-gradient(180deg, #F0F8EC 0%, #fff 38%); }
.sectors { gap: clamp(.8rem, 1.4vw, 1.2rem); }
.sectors li { border-top: 0; padding: 1.2rem 1.3rem; border-radius: 16px; background: color-mix(in oklab, var(--hue) 10%, #fff); }
.sectors li h3::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .6rem; background: var(--hue); }
.sectors li:nth-child(6n+1) { --hue: #0B4EA2; } .sectors li:nth-child(6n+2) { --hue: #67B254; } .sectors li:nth-child(6n+3) { --hue: #12A3B4; }
.sectors li:nth-child(6n+4) { --hue: #F28C28; } .sectors li:nth-child(6n+5) { --hue: #2F388C; } .sectors li:nth-child(6n+6) { --hue: #8DC63F; }
/* inner pages */
.deflist div { border-top: 3px solid var(--hue, #0B4EA2); }
.deflist div:nth-child(4n+2) { --hue: #67B254; } .deflist div:nth-child(4n+3) { --hue: #12A3B4; } .deflist div:nth-child(4n+4) { --hue: #F28C28; }
.goals li::before { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #0B4EA2; color: #fff; font-size: var(--sc-t-base); }
.goals li:nth-child(2)::before { background: #3F8F2E; } .goals li:nth-child(3)::before { background: #0E7F8C; }
.vision { color: #1B2470; }
.product:nth-of-type(1) .product__media { background: radial-gradient(ellipse at 50% 40%, #fff 25%, #D9E7FA); }
.product:nth-of-type(2) .product__media { background: radial-gradient(ellipse at 50% 40%, #fff 25%, #D5F0F3); }
.product:nth-of-type(3) .product__media { background: radial-gradient(ellipse at 50% 40%, #fff 25%, #E0F1D8); }
.product:nth-of-type(4) .product__media { background: radial-gradient(ellipse at 50% 40%, #fff 25%, #FCE8D2); }
.product .role { padding: .3rem .8rem; border-radius: 999px; background: #E3ECFA; }
.form { border-top: 4px solid var(--green); }
.bar__nav a[aria-current="page"]::after { background: linear-gradient(90deg, #0B4EA2, var(--green)); }
.page-head + .band { padding-top: clamp(2.5rem, 5vw, 4rem) !important; }

/* ---- drop-down menus ---- */
.menu { position: relative; display: flex; align-items: center; gap: .15rem; }
.menu__btn { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 0; border-radius: 50%; background: none; color: var(--sc-ink-soft); cursor: pointer; transition: transform 180ms var(--sc-ease-out); }
.menu__btn svg { width: .75rem; height: .75rem; }
.menu__list { position: absolute; top: calc(100% + .4rem); left: -1rem; min-width: 15.5rem; padding: .5rem; border-radius: 16px; background: #fff; box-shadow: var(--e3), inset 0 0 0 1px rgba(16, 26, 58, .08);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 180ms var(--sc-ease-out), transform 180ms var(--sc-ease-out), visibility 0s 180ms; z-index: 5; }
.menu__list::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.menu.is-open .menu__list, .menu:focus-within .menu__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu.is-open .menu__btn { transform: rotate(180deg); }
.bar__nav .menu__list a { display: block; padding: .6rem .85rem; border-radius: 10px; font-size: var(--sc-t-sm); font-weight: 500; color: var(--sc-ink); border: 0; }
.bar__nav .menu__list li:nth-child(5n+1) a::before { background: #0B4EA2; } .bar__nav .menu__list li:nth-child(5n+2) a::before { background: #12A3B4; }
.bar__nav .menu__list li:nth-child(5n+3) a::before { background: #67B254; } .bar__nav .menu__list li:nth-child(5n+4) a::before { background: #F28C28; } .bar__nav .menu__list li:nth-child(5n+5) a::before { background: #2F388C; }
.bar__nav .menu__list a::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-right: .65rem; vertical-align: .08em; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .menu:hover .menu__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu:hover .menu__btn { transform: rotate(180deg); }
  .bar__nav .menu__list a:hover { background: var(--sc-canvas); color: var(--sc-accent); }
}
@media (max-width: 860px) {
  .menu { flex-wrap: wrap; border-bottom: 1px solid rgba(16, 26, 58, .1); }
  .menu > a { flex: 1; border-bottom: 0 !important; }
  .menu__btn { width: 2.9rem; height: 2.9rem; }
  .menu__btn svg { width: 1rem; height: 1rem; }
  .menu__list { position: static; width: 100%; min-width: 0; box-shadow: none; background: none; padding: 0 0 .6rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .menu.is-open .menu__list { display: block; }
  .menu:focus-within .menu__list { transform: none; }
  .bar__nav .menu__list a { font-size: var(--sc-t-base); padding: .6rem .4rem; }
  .bar__nav { max-height: calc(100svh - var(--bar-h)); overflow-y: auto; }
}
.bar__nav .menu__list a { white-space: nowrap; }

/* menus as panels */
.menu__list { min-width: 21rem; padding: .6rem; border-radius: 18px; left: -1.2rem; }
.bar__nav .menu__list a::before { display: none; }
.bar__nav .menu__list a { display: grid; grid-template-columns: 1fr; align-items: center; gap: .9rem; padding: .6rem .7rem; border-radius: 12px; white-space: normal; }
.bar__nav .menu__list a.has-thumb { grid-template-columns: 3.4rem 1fr; }
.menu__thumb { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 12px; background: var(--sc-canvas); overflow: hidden; }
.menu__thumb img { max-width: 78%; max-height: 78%; width: auto; height: auto; mix-blend-mode: multiply; }
.menu__txt { display: grid; gap: .1rem; }
.menu__txt b { font-weight: 560; font-size: var(--sc-t-sm); color: var(--sc-ink); white-space: nowrap; }
.menu__txt small { font-size: var(--sc-t-xs); font-weight: 400; color: var(--sc-ink-soft); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .bar__nav .menu__list a:hover { background: var(--sc-canvas); }
  .bar__nav .menu__list a:hover b { color: var(--sc-accent); }
  .bar__nav .menu__list a:hover .menu__thumb { background: #fff; box-shadow: var(--e1); }
}
@media (max-width: 860px) {
  .bar__nav .menu__list a, .bar__nav .menu__list a.has-thumb { grid-template-columns: 1fr; padding: .55rem .4rem; }
  .menu__thumb, .menu__txt small { display: none; }
  .menu__txt b { font-size: var(--sc-t-base); font-weight: 500; }
}

/* ================= v5: green menus, cursor, DRAP badge ================= */
.menu__list { min-width: 19rem; padding: .55rem; border-radius: 18px; background: linear-gradient(160deg, #2F8A3A, #256F32); box-shadow: 0 4px 10px rgba(16, 60, 24, .12), 0 30px 60px -20px rgba(16, 60, 24, .5); }
.menu__list::after { content: ""; position: absolute; left: 2rem; top: -.38rem; width: .8rem; height: .8rem; rotate: 45deg; background: #2F8A3A; border-radius: 2px; }
.bar__nav .menu__list a, .bar__nav .menu__list a.has-thumb { grid-template-columns: 1fr auto; padding: .7rem .9rem; border-radius: 12px; color: #fff; transition: background-color 160ms var(--sc-ease-out); }
.menu__txt b { color: #fff; }
.menu__txt small { color: #D9F2D6; }
.menu__go { width: 1rem; height: 1rem; color: #fff; opacity: 0; transform: translateX(-6px); transition: opacity 160ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
.menu__list li + li { margin-top: 2px; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .bar__nav .menu__list a:hover { background: #fff; }
  .bar__nav .menu__list a:hover b { color: #1F6A2B; }
  .bar__nav .menu__list a:hover small { color: #3D5A41; }
  .bar__nav .menu__list a:hover .menu__go { opacity: 1; transform: none; color: #1F6A2B; }
}
.bar__nav .menu__list a:focus-visible { outline-color: #fff; }
@media (max-width: 860px) {
  .menu__list { background: linear-gradient(160deg, #2F8A3A, #256F32); padding: .4rem; margin-bottom: .8rem; border-radius: 14px; box-shadow: none; }
  .menu__list::after { display: none; }
  .bar__nav .menu__list a { padding: .65rem .8rem; }
  .menu__go { display: none; }
}
/* cursor: a green dot with a ring that follows and grows over links */
html.has-cursor *:not(input):not(textarea):not(select):not(iframe) { cursor: none !important; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity 200ms var(--sc-ease-out); }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--lime); box-shadow: 0 0 0 1.5px rgba(16, 48, 10, .55); }
.cur-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.cur-ring i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--green); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); transition: transform 220ms var(--sc-ease-out), background-color 220ms var(--sc-ease-out); }
html.cur-on .cur-dot, html.cur-on .cur-ring { opacity: 1; }
html.cur-link .cur-ring i { transform: scale(1.55); background: rgba(141, 198, 63, .22); }
html.cur-down .cur-ring i { transform: scale(.8); }
html.cur-text .cur-dot, html.cur-text .cur-ring { opacity: 0; }
/* DRAP badge */
.drap { display: inline-flex; align-items: center; gap: .8rem; padding: .5rem 1rem .5rem .55rem; border-radius: 14px; background: #fff; color: #101A3A; box-shadow: 0 8px 20px -8px rgba(4, 10, 50, .5); }
.drap img { height: 2.6rem; width: auto; border-radius: 8px; }
.drap > span { display: grid; gap: .05rem; line-height: 1.25; text-align: left; }
.drap b { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: var(--sc-t-sm); color: #1F6A2B; white-space: nowrap; }
.drap b svg { width: 1.05rem; height: 1.05rem; padding: .16rem; border-radius: 50%; background: #2F8A3A; color: #fff; flex: none; }
.drap small { font-size: var(--sc-t-xs); color: #4A5676; white-space: nowrap; }
.foot__drap { margin-top: 2.2rem; }
.foot--full .foot__base { margin-top: 1.4rem; }
.close .foot__in { align-items: center; }
@media (min-width: 861px) { .close .foot__in { padding-right: 9rem; } }
/* v6: blue menus, names only */
.menu__txt small { display: none; }
.menu__list { min-width: 15.5rem; background: linear-gradient(160deg, #0F5BB8, #0A3F8C); box-shadow: 0 4px 10px rgba(8, 30, 80, .14), 0 30px 60px -20px rgba(8, 30, 80, .55); }
.menu__list::after { background: #0F5BB8; }
.bar__nav .menu__list a, .bar__nav .menu__list a.has-thumb { padding: .75rem .9rem; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .bar__nav .menu__list a:hover b, .bar__nav .menu__list a:hover .menu__go { color: #0A3F8C; }
}
@media (max-width: 860px) { .menu__list { background: linear-gradient(160deg, #0F5BB8, #0A3F8C); } }

/* v7: Read more links to the manufacturers */
.more { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: 0 1.05rem; border-radius: 999px; font-size: var(--sc-t-sm); font-weight: 560; text-decoration: none; white-space: nowrap;
  color: var(--sc-accent); background: var(--sc-surface); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--sc-accent) 45%, transparent); transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), transform 140ms var(--sc-ease-out); }
.more svg { width: .95em; height: .95em; flex: none; transition: transform 180ms var(--sc-ease-out); }
.more:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .more:hover { background: var(--sc-accent); color: #fff; } .more:hover svg { transform: translate(2px, -2px); } }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.station__label .acts .btn { margin-top: 0; }
.picks--more { margin-top: .6rem; }
.chem__list li { grid-template-columns: 7rem 1fr auto; }
@media (max-width: 860px) {
  .live .bench .acts { margin-top: .9rem; }
  .live .bench .station__label .acts .btn { margin-top: 0; }
  .chem__list li { grid-template-columns: 4.5rem 1fr; }
  .chem__list li .more { grid-column: 2; justify-self: start; }
}

/* v8: hero analyzers link to the manufacturer */
.lineup li a { display: grid; justify-items: center; gap: .9rem; text-decoration: none; color: inherit; border-radius: 16px; }
.lineup li a:focus-visible { outline: 2px solid var(--lime); outline-offset: 8px; }
.lineup li a:focus-visible img { transform: translateY(-10px) scale(1.14); }
/* v9: menu item lights up in the logo green */
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .bar__nav .menu__list a:hover { background: linear-gradient(180deg, #7CC468, #67B254); box-shadow: 0 6px 18px -4px rgba(103, 178, 84, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
  .bar__nav .menu__list a:hover b, .bar__nav .menu__list a:hover .menu__go { color: #0B2A08; }
}
.bar__nav .menu__list a:focus-visible { background: #67B254; outline-color: #fff; }
.bar__nav .menu__list a:focus-visible b { color: #0B2A08; }
@media (max-width: 860px) { .bar__nav .menu__list a:active { background: #67B254; } .bar__nav .menu__list a:active b { color: #0B2A08; } }
/* v10: menu item white, word in green */
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .bar__nav .menu__list a:hover { background: #fff; box-shadow: 0 6px 16px -6px rgba(4, 20, 70, .5); }
  .bar__nav .menu__list a:hover b, .bar__nav .menu__list a:hover .menu__go { color: #2B7F35; }
}
.bar__nav .menu__list a:focus-visible { background: #fff; }
.bar__nav .menu__list a:focus-visible b { color: #2B7F35; }
@media (max-width: 860px) { .bar__nav .menu__list a:active { background: #fff; } .bar__nav .menu__list a:active b { color: #2B7F35; } }

/* v11: DRAP badge among memberships */
.members .drap { box-shadow: var(--e2), inset 0 0 0 1px rgba(16, 26, 58, .08); }
.drap--lg { padding: .7rem 1.3rem .7rem .8rem; gap: 1rem; border-radius: 18px; }
.drap--lg img { height: clamp(3rem, 5vw, 4rem); mix-blend-mode: normal; }
.drap--lg b { font-size: var(--sc-t-base); }
.drap--lg small { font-size: var(--sc-t-sm); }

/* v12: licence and memberships together in the footer */
.trust { display: flex; flex-wrap: wrap; align-items: stretch; gap: .7rem; }
.memchip { display: inline-grid; place-items: center; padding: .45rem .9rem; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px -8px rgba(4, 10, 50, .5); }
.memchip img { height: 2.3rem; width: auto; max-width: none; }
.foot__drap { padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.foot--full .foot__base { border-top: 0; padding-top: 0; }
.close .trust { flex-basis: 100%; }
@media (max-width: 860px) { .trust { gap: .5rem; } .memchip { padding: .4rem .7rem; } .memchip img { height: 2rem; } .trust .drap { flex-basis: 100%; width: max-content; max-width: 100%; } .trust .drap { flex: 0 1 auto; } }
@media (max-width: 860px) and (max-height: 720px) { .close__row { display: none; } .close__main { padding-top: calc(var(--bar-h) + .5rem); } .close .foot { padding-block: .9rem; } }
