/* ==========================================================================
   Arena BioScien — site stylesheet
   Calm paper surfaces, bold Manrope headings, pill controls, rounded cards
   and a hexagon motif taken from the Arena logo.
   ========================================================================== */

:root {
  /* Brand — sampled from the Arena logo */
  --brand: #018445;
  --brand-hover: #016b38;
  --leaf: #3db04b;
  --overlap: #299f49;
  --on-brand: #ffffff;

  /* Greens */
  --forest: #0b6d3b;
  --forest-deep: #075129;
  --forest-ink: #06261a;
  --brand-on-dark: #8ee0ae;
  --mint: #d3eedc;
  --mint-soft: #ecf7f0;

  /* Neutrals */
  --paper: #f7faf5;
  --sand: #e9e4d6;
  --sand-soft: #f4f1e8;
  --ink: #14261b;
  --muted: #566a5c;
  --line: #dbe5dc;
  --line-strong: #c7d6ca;
  --white: #ffffff;

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 34px;

  --shadow-sm: 0 1px 2px rgba(20, 38, 27, 0.05), 0 2px 10px rgba(20, 38, 27, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 38, 27, 0.1);
  --shadow-lg: 0 24px 60px rgba(20, 38, 27, 0.16);

  --header-h: 76px;
  --header-gap: 30px;
  --header-top: 18px; /* where the bar sits at the top of the page; the layout offset below it stays --header-gap based */
  /* constant layout offset below the bar */
  --header-offset: calc(var(--header-gap) + var(--header-h));
  /* live bottom edge of the bar (it rises when the page scrolls) */
  --header-space: calc(var(--header-top) + var(--header-h));
  --container: 1200px;
  --wide: 1440px;
  --gutter: clamp(20px, 4vw, 40px);
  --frame: clamp(8px, 1.1vw, 16px);
  --section: clamp(76px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);

  --hex-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 60'%3E%3Cpath d='M52.11 40.46A7 7 0 0 1 48.61 46.52L30.5 56.98A7 7 0 0 1 23.5 56.98L5.39 46.52A7 7 0 0 1 1.89 40.46L1.89 19.54A7 7 0 0 1 5.39 13.48L23.5 3.02A7 7 0 0 1 30.5 3.02L48.61 13.48A7 7 0 0 1 52.11 19.54Z'/%3E%3C/svg%3E");
  /* One tile of the honeycomb texture (same path and 0.9 scale as logo.mjs honeycomb()), used to
     mask the light that sweeps along its lines */
  --hex-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 69.28 120'%3E%3Cpath d='M34.64 0 69.28 20v40L34.64 80 0 60V20Z M34.64 80v40' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E");
  --hex-flat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 115.47 100' preserveAspectRatio='none'%3E%3Cpath d='M113.16 46A8 8 0 0 1 113.16 54L88.91 96A8 8 0 0 1 81.98 100L33.49 100A8 8 0 0 1 26.56 96L2.31 54A8 8 0 0 1 2.31 46L26.56 4A8 8 0 0 1 33.49 0L81.98 0A8 8 0 0 1 88.91 4Z'/%3E%3C/svg%3E");
}

.is-scrolled {
  --header-top: 14px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-space) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* an element with the hidden attribute stays hidden, whatever display its class gives it */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page--inner main {
  padding-top: var(--header-offset);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2 * var(--gutter), var(--wide));
}

.container--narrow {
  width: min(100% - 2 * var(--gutter), 860px);
}

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.1rem, 1.1rem + 3.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.h1 {
  font-size: clamp(1.85rem, 1.1rem + 2.6vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.032em;
}

.h2 {
  font-size: clamp(2rem, 1.35rem + 2.1vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
}

h1.h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem);
}

.h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.05rem, 0.96rem + 0.35vw, 1.22rem);
  line-height: 1.62;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.text-brand {
  color: var(--brand);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.eyebrow svg {
  width: 14px;
  height: 14px;
}

.eyebrow--soft {
  background: var(--mint);
  color: var(--forest-deep);
}

.eyebrow--glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.eyebrow--on-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg.icon-arrow {
  transform: translateX(3px);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

/* light sweep across the button on hover */
.btn::before,
.btn-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.35) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}

.btn:hover::before,
.btn-bar:hover::before {
  transform: translateX(130%);
}

.btn--light::before,
.btn--outline::before,
.btn-bar::before {
  background: linear-gradient(115deg, transparent 32%, rgba(1, 132, 69, 0.14) 50%, transparent 68%);
}

/* click ripple (added by main.js) */
.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple 0.65s ease-out forwards;
  pointer-events: none;
}

.btn--light .ripple,
.btn--outline .ripple,
.btn-bar .ripple,
.chip .ripple {
  background: rgba(1, 132, 69, 0.18);
}

@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 10px 24px rgba(1, 132, 69, 0.25);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--mint-soft);
}

.btn--outline {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand);
  transition: color 0.2s, gap 0.25s var(--ease);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

.link-arrow:hover {
  gap: 12px;
  color: var(--brand-hover);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.chip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

a.chip:hover,
.chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.chip svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.chip__count {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ---------- Brand lockup ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand svg {
  height: 54px;
  width: auto;
}

.logo__word-main {
  fill: var(--logo-main, #8a8a8b);
}

.logo__word-sub {
  fill: var(--logo-sub, #237a4b);
}

.logo text {
  font-family: var(--font);
}

/* ---------- Header: floating glass bar ---------- */
.header {
  position: fixed;
  top: var(--header-top);
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
  transition: top 0.4s var(--ease);
  --bar-bg: rgba(6, 38, 26, 0.78);
  --bar-bg-solid: rgba(6, 38, 26, 0.92);
  --bar-panel: #072a1c;
  --bar-shadow: rgba(3, 20, 12, 0.3);
  --logo-main: #ffffff;
  --logo-sub: var(--brand-on-dark);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  padding: 0 9px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--bar-bg);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  box-shadow: 0 18px 50px var(--bar-shadow);
  color: #fff;
  pointer-events: auto;
  isolation: isolate;
  transition: background-color 0.35s var(--ease);
}

.is-scrolled .header__inner {
  background: var(--bar-bg-solid);
}

/* Home page: at the top of the page the bar is part of the hero, with no pill, outline or glow
   around it (logo, links and buttons sit straight on the picture); the pill fades in once you scroll. */
.page--home .header__inner {
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

html:not(.is-scrolled) .page--home .header__inner {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html:not(.is-scrolled) .page--home .header__inner::before,
html:not(.is-scrolled) .page--home .header__inner::after {
  animation: none;
  opacity: 0;
}

html:not(.is-scrolled) .page--home .header__inner .bar-pinch {
  display: none;
}

/* The bar's outline breathes: a pre-drawn glow whose opacity fades in and out
   (opacity is animated on the compositor, so the blurred bar is never repainted) */
.header__inner::before,
.header__inner::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}

.header__inner::before {
  box-shadow:
    0 0 0 1.5px rgba(79, 240, 126, 0.45),
    0 0 18px rgba(79, 240, 126, 0.35);
}

.header__inner::after {
  box-shadow:
    0 0 0 3px rgba(124, 247, 156, 1),
    0 0 26px rgba(79, 240, 126, 0.9),
    0 0 64px rgba(79, 240, 126, 0.6);
  opacity: 0;
  will-change: opacity;
  animation: bar-pulse 3.2s ease-in-out infinite;
}

@keyframes bar-pulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Pinch (main.js): for 0.7 s after a link is pressed, the bar's body, blur and glow are
   drawn by .bar-pinch so its edges can curve in toward the word; the CSS bar steps aside */
.bar-pinch {
  display: none;
  position: absolute;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
}

.bar-pinch__blur {
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
}

.bar-pinch__art {
  position: absolute;
  left: -100px;
  top: -100px;
  overflow: visible;
}

.bar-pinch__body {
  fill: var(--bar-bg);
}

.bar-pinch__edge {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
}

/* same pulse as .header__inner::after; main.js locks its start time to that one */
.bar-pinch__pulse {
  opacity: 0;
  animation: bar-pulse 3.2s ease-in-out infinite;
}

.is-scrolled .bar-pinch__body {
  fill: var(--bar-bg-solid);
}

.header .header__inner.is-pinching {
  border-color: transparent;
  background: transparent;
  box-shadow: none; /* drawn by .bar-pinch so it curves with the dip */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header .header__inner.is-pinching,
.header .header__inner.bar-instant {
  transition: none;
}

.header__inner.is-pinching::before,
.header__inner.is-pinching::after {
  visibility: hidden;
}

.header__inner.is-pinching .bar-pinch {
  display: block;
}

.header .brand svg {
  height: 48px;
}

.nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 15px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav__label {
  position: relative;
}

.nav__label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active,
.nav__item:hover > .nav__link,
.nav__item:focus-within > .nav__link {
  color: #fff;
}

.nav__link:hover .nav__label::after,
.nav__link.is-active .nav__label::after {
  transform: scaleX(1);
}

/* One line that slides sideways along the row of links and resizes to each word (main.js);
   it replaces the per-word underline on the desktop bar. Its height on the row is fixed
   (top), only its transform moves, on the compositor. */
.nav__indicator {
  display: none;
}

@media (min-width: 1120px) {
  .nav.has-indicator {
    position: relative;
  }

  /* with scripts on, the sliding line is the only underline (also before main.js has run,
     so a second underline never flashes on the new page first) */
  .js .nav .nav__label::after {
    display: none;
  }

  .nav.has-indicator .nav__indicator {
    display: block;
    position: absolute;
    top: var(--ind-y, 0px);
    left: 0;
    width: 100px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    pointer-events: none;
    transform-origin: 0 0;
    transform: translateX(var(--ind-x, 0px)) scaleX(var(--ind-s, 0));
    opacity: 0;
    transition: opacity 0.2s;
  }

  .nav.has-indicator .nav__indicator.is-shown {
    opacity: 1;
  }

  .nav.has-indicator .nav__indicator.is-moving {
    transition:
      transform 0.5s cubic-bezier(0.65, 0, 0.25, 1),
      opacity 0.2s;
  }

  .nav.has-indicator .nav__indicator.no-fade {
    transition: none;
  }
}

.nav__caret {
  display: inline-grid;
  opacity: 0.7;
}

.nav__caret svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.nav__item {
  position: relative;
}

.nav__item:hover .nav__caret svg,
.nav__item:focus-within .nav__caret svg {
  transform: rotate(180deg);
}

.nav__expand {
  display: none;
}

.nav__sub {
  position: absolute;
  top: calc(100% + 26px);
  left: 50%;
  z-index: 5;
  min-width: 310px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: var(--bar-panel);
  box-shadow: 0 24px 60px var(--bar-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}

.nav__sub::before {
  content: "";
  position: absolute;
  inset: -30px 0 auto;
  height: 30px;
}

.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav__sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.2s, color 0.2s;
}

.nav__sub a:hover,
.nav__sub a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav__sub-hex {
  width: 10px;
  height: 11px;
  flex: none;
  background: #bff2d2;
  -webkit-mask: var(--hex-mask) center / contain no-repeat;
  mask: var(--hex-mask) center / contain no-repeat;
}

/* the group inside the Products menu: a bright heading, and its ranges as individual items on a guide line */
.nav__sub a.nav__sub-heading {
  margin-top: 12px;
  padding: 14px 12px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bff2d2;
}

.nav__sub a.nav__sub-heading:hover {
  background: none;
  color: #fff;
}

.nav__sub a.nav__sub-child {
  margin-left: 18px;
  padding: 12px 12px 12px 22px;
  border-left: 2px solid rgba(191, 242, 210, 0.25);
  border-radius: 0 12px 12px 0;
}

.nav__sub a.nav__sub-child .nav__sub-hex {
  width: 9px;
  height: 9px;
  border: 2px solid #bff2d2;
  border-radius: 50%;
  background: none;
  -webkit-mask: none;
  mask: none;
}

.nav__sub a.nav__sub-child + a:not(.nav__sub-child) {
  margin-top: 8px;
}

/* the ranges that are not inside the group: no bullet, same font and size as the group heading */
.nav__sub a:not(.nav__sub-child) .nav__sub-hex {
  display: none;
}

.nav__sub a:not(.nav__sub-child, .nav__sub-all, .nav__sub-heading) {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav__sub a.nav__sub-all {
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 0 0;
  font-weight: 700;
  color: #fff;
}

.nav__sub-all svg {
  width: 15px;
  height: 15px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.icon-btn,
.nav-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.icon-btn:hover,
.icon-btn[aria-expanded="true"],
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.btn-bar {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 9px 0 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--forest-ink);
  font-size: 0.97rem;
  font-weight: 700;
  white-space: nowrap;
  transition: box-shadow 0.25s var(--ease), background-color 0.25s;
}

.btn-bar:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.btn-bar__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--forest-ink);
}

.btn-bar__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
  transition: transform 0.3s var(--ease);
}

.btn-bar:hover .btn-bar__icon svg {
  transform: translateX(2px);
}

.nav-toggle {
  display: none;
}

.nav-toggle span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 29px;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Quick product search (opened from the bar) */
.search-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(580px, 100%);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: var(--bar-panel);
  box-shadow: 0 24px 60px var(--bar-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}

.search-open .search-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.search-panel__field {
  position: relative;
  display: block;
}

.search-panel__field svg {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 20px;
  height: 20px;
  color: var(--forest);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-panel__field input {
  width: 100%;
  height: 56px;
  padding: 0 64px 0 52px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

.search-panel__field input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(61, 176, 75, 0.35);
}

.search-panel__field kbd {
  position: absolute;
  top: 50%;
  right: 16px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.72rem;
  color: var(--muted);
  transform: translateY(-50%);
}

.search-panel__results {
  display: grid;
  gap: 2px;
  max-height: min(420px, 60vh);
  margin-top: 8px;
  overflow-y: auto;
}

.search-panel__label {
  padding: 12px 14px 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.search-hit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-radius: 14px;
  color: #fff;
  transition: background-color 0.15s;
}

.search-hit:hover,
.search-hit:focus-visible,
.search-hit.is-active {
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.search-hit__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.search-hit__meta {
  flex: none;
  font-size: 0.78rem;
  color: #dfffe9;
}

.search-hit mark {
  background: none;
  color: #dfffe9;
}

.search-panel__empty {
  padding: 18px 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.search-panel__empty a {
  color: #ffffff;
  font-weight: 700;
}

/* ---------- Home hero: video panel with a green outline ---------- */
.hero {
  padding: 0;
}

.hero__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 40px;
  min-height: 100vh;
  min-height: 100svh;
  /* On a short window the content sits closer to the bar and to the ticker so the whole hero fits */
  padding: calc(var(--header-offset) + clamp(4px, min(4vw, 4svh), 56px)) max(var(--gutter), calc((100% - var(--container)) / 2))
    clamp(24px, min(6vw, 6svh), 72px);
  background: #04200f;
  color: #fff;
}

/* The video and its overlays live in their own clipped layer. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  transform: translateZ(0);
  pointer-events: none;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

/* Light brand tint over the cool-blue footage (set opacity to 0 for the original colours) */
.hero__loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #07703a, #2a9d4c);
  mix-blend-mode: color;
  opacity: 0.2;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 24, 14, 0.92) 0%, rgba(3, 24, 14, 0.74) 34%, rgba(3, 24, 14, 0.22) 64%, rgba(3, 24, 14, 0.04) 100%),
    linear-gradient(0deg, rgba(3, 24, 14, 0.8) 0%, rgba(3, 24, 14, 0) 40%),
    linear-gradient(180deg, rgba(3, 24, 14, 0.55) 0%, rgba(3, 24, 14, 0) 24%);
  pointer-events: none;
}

.hero__content {
  display: grid;
  justify-items: start;
  gap: clamp(10px, min(2.4vw, 2.6svh), 24px);
  max-width: 820px;
}

.hero__content .display {
  max-width: min(660px, 12em); /* always two balanced lines, whatever the size */
  font-size: clamp(1.6rem, min(0.9rem + 2.9vw, 6.4svh), 3.2rem);
  text-wrap: balance;
}

.hero__content .display em {
  font-style: normal;
}

/* the wrapper only matters on phones; on wide screens its children sit in the content grid as before */
.hero__main {
  display: contents;
}

.hero__badges {
  display: none;
}

.hero__lead {
  max-width: 600px;
  font-size: clamp(1rem, min(0.95rem + 0.4vw, 2.7svh), 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.hero__content .btn-row {
  margin-top: 4px;
}

.hero__aside {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(3, 24, 14, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
}

.hero__badge-icon svg {
  width: 22px;
  height: 22px;
}

.hero__badge-text strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero__badge-text span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero__toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(3, 24, 14, 0.5);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color 0.2s, border-color 0.2s;
}

.hero__toggle:hover {
  border-color: var(--leaf);
  background: rgba(61, 176, 75, 0.25);
}

.hero__toggle svg {
  width: 18px;
  height: 18px;
}

.hero__toggle .icon-play,
.motion-paused .hero__toggle .icon-pause {
  display: none;
}

.motion-paused .hero__toggle .icon-play {
  display: block;
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: calc(var(--section) * 0.62);
}

.section--flush-top {
  padding-top: 0;
}

.section-head {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-head--split > div {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 720px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.split--top {
  align-items: start;
}

.split__text {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.split__text .btn-row {
  margin-top: 8px;
}

.prose-p {
  display: grid;
  gap: 16px;
  color: var(--muted);
}

/* Photo mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(90px, 9vw, 128px);
  gap: 14px;
}

.mosaic__tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.mosaic__tile:hover img {
  transform: scale(1.05);
}

.mosaic__tile:nth-child(1) {
  grid-column: 1 / 5;
  grid-row: 1 / 4;
}

.mosaic__tile:nth-child(2) {
  grid-column: 5 / 7;
  grid-row: 1 / 3;
}

.mosaic__tile:nth-child(3) {
  grid-column: 5 / 7;
  grid-row: 3 / 5;
}

.mosaic__tile:nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 4 / 6;
}

.mosaic__tile:nth-child(5) {
  grid-column: 3 / 5;
  grid-row: 4 / 6;
}

.mosaic__tile:nth-child(6) {
  grid-column: 5 / 7;
  grid-row: 5 / 6;
}

.frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame--4x3 {
  aspect-ratio: 4 / 3;
}

a.frame {
  cursor: zoom-in;
}

.card--link {
  display: flex;
  flex-direction: column;
}

a.card--link:hover {
  transform: translateY(-4px);
}

.card__foot {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
}

.enquiry {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: clamp(24px, 3.5vw, 44px);
}

.enquiry .form {
  justify-self: stretch;
  margin-top: 12px;
}

.mosaic__hex {
  display: grid;
  place-items: center;
  text-align: center;
  border: 0;
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

.mosaic__hex strong {
  display: block;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.mosaic__hex span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: clamp(24px, 2.4vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

a.card:hover,
.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.card p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hexicon {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 56px;
  margin-bottom: 20px;
  color: #fff;
}

.hexicon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hexicon-bg, var(--brand));
  -webkit-mask: var(--hex-mask) center / contain no-repeat;
  mask: var(--hex-mask) center / contain no-repeat;
  transition: background-color 0.3s, transform 0.5s var(--ease);
}

.hexicon svg {
  position: relative;
  width: 23px;
  height: 23px;
}

.card:hover .hexicon::before {
  transform: rotate(30deg);
}

.hexicon--soft {
  color: var(--brand);
  --hexicon-bg: var(--mint);
}

/* Home page: every range as a small card (photo, name, count), so they all fit in one window */
.range-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.range-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

a.range-tile:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.range-tile__img {
  display: grid;
  flex: none;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--brand);
}

.range-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.range-tile:hover .range-tile__img img {
  transform: scale(1.08);
}

.range-tile__img > svg {
  width: 28px;
  height: 28px;
}

.range-tile__text {
  display: grid;
  min-width: 0;
}

.range-tile__over {
  margin-bottom: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.range-tile__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.range-tile__count {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.range-tile--all {
  justify-content: center;
  gap: 10px;
  padding-inline: 16px;
  background: var(--forest-ink);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.range-tile--all svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.home-ranges .section-head {
  margin-bottom: clamp(24px, 3vw, 36px);
}

@media (max-width: 1023.98px) {
  .range-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.pcard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.pcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pcard__top .hexicon {
  width: 44px;
  height: 49px;
  margin: 0;
}

.pcard__top .hexicon svg {
  width: 20px;
  height: 20px;
}

.pcard__thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.pcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__thumb--tall img {
  object-position: 50% 0; /* a portrait bottle: the cap and the name */
}

.pcard__thumb--thin img {
  object-position: 50% 19%; /* a very tall bottle: the cap and the first line of the label, not the cap alone */
}

/* Products without a photo: a tile on the same pale green hexagon scene as the kit-box pictures, with the range icon in front */
.pcard__thumb--hex {
  position: relative;
  display: grid;
  place-items: center;
  background: #e3f4eb url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22b%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f4fbf8%22%2F%3E%3Cstop%20offset%3D%22.6%22%20stop-color%3D%22%23d9f0e4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23bfe4d1%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22r%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20fill%3D%22url(%23b)%22%2F%3E%3Cpolygon%20points%3D%228%2C0%2024%2C0%206%2C34%200%2C34%200%2C14%22%20fill%3D%22url(%23r)%22%20opacity%3D%22.55%22%2F%3E%3Cpolygon%20points%3D%2270.0%2C20.0%2058.5%2C39.9%2035.5%2C39.9%2024.0%2C20.0%2035.5%2C0.1%2058.5%2C0.1%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.30%22%20stroke%3D%22%237fcfa5%22%20stroke-width%3D%221.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2265.0%2C49.0%2059.5%2C58.5%2048.5%2C58.5%2043.0%2C49.0%2048.5%2C39.5%2059.5%2C39.5%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.28%22%20stroke%3D%22%239bdcba%22%20stroke-width%3D%221.3%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%2262.0%2C58.0%2047.0%2C84.0%2017.0%2C84.0%202.0%2C58.0%2017.0%2C32.0%2047.0%2C32.0%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%20transform%3D%22translate(0%200)%20scale(1%20.3)%20translate(0%20135)%22%2F%3E%3C%2Fsvg%3E") center / cover no-repeat;
}

.pcard__top .pcard__thumb--hex .hexicon {
  width: 30px;
  height: 34px;
  margin: 0;
  margin-top: -4px;
  filter: drop-shadow(0 3px 5px rgba(6, 58, 33, 0.22));
}

.pcard__top .pcard__thumb--hex .hexicon svg {
  width: 14px;
  height: 14px;
}

.pcard__docs {
  display: flex;
  gap: 6px;
}

.doc-badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--mint-soft);
  color: var(--forest);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}

.pcard__kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.pcard__title {
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

.pcard__meta {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.pcard__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  list-style: none;
}

.pcard__facts li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}

.pcard .link-arrow {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.9rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 26px;
}

button.chip {
  cursor: pointer;
}

button.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

button.chip.is-active,
button.chip.is-active:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

/* ---------- Facts & figures ticket ----------
   The home page figures as a printed lab document: a green title band with a reference
   number, rows with dotted leaders, and a perforated foot with a barcode and the mark. */
.sheet {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(6, 38, 26, 0.08);
}

.sheet__band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(20px, 3vw, 28px);
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sheet__band span:last-child {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.sheet__rows {
  margin: 0;
  padding: 4px clamp(20px, 3vw, 28px) 2px;
}

.sheet__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.sheet__row:last-child {
  border-bottom: 0;
}

.sheet__row dt {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.sheet__leader {
  flex: 1;
  min-width: 24px;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-0.3em);
}

.sheet__row dd {
  margin: 0;
  min-width: 3ch;
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.sheet__chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
}

.sheet__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
  padding: 14px clamp(20px, 3vw, 28px);
  border-top: 2px dashed var(--line);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

/* A decorative barcode, the way a printed insert carries one */
.sheet__bars {
  width: 150px;
  height: 28px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 4px,
    var(--ink) 4px 5px,
    transparent 5px 8px,
    var(--ink) 8px 11px,
    transparent 11px 13px
  );
}

.sheet__mark {
  width: 18px;
  height: 19px;
  fill: var(--brand);
}

@media (max-width: 560px) {
  .sheet__row {
    gap: 10px;
    padding: 14px 0;
  }

  .sheet__row dt {
    font-size: 0.93rem;
  }

  .sheet__bars {
    width: 110px;
    height: 24px;
  }
}

/* home "About" heading: smaller than the other section headings, so it fits on two lines */
.home-about__title {
  font-size: clamp(1.2rem, 0.9rem + 1.5vw, 2.15rem);
  line-height: 1.18;
}

/* ---------- Where we deliver (the globe) ---------- */
.reach__text .lead {
  max-width: 34em;
}

.reach__stage {
  position: relative;
  display: none; /* shown once scripts run (the section is just the text and the list without them) */
  width: 100%;
  max-width: min(620px, calc(100svh - 130px));
  aspect-ratio: 1;
  justify-self: center;
}

.js .reach__stage {
  display: block;
}

/* the globe never loaded: its place is given up once the section has scrolled out of view */
.js .reach--collapsed .reach__stage {
  display: none;
}

/* until the globe is drawn, a pale disc holds its place */
.reach__stage::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff, #eef3f5 72%);
  box-shadow: 0 0 0 1px rgba(20, 38, 27, 0.08);
  transition: opacity 0.5s var(--ease);
}

.reach__stage.is-ready::before {
  opacity: 0;
}

/* the light on the globe and the shadow under it (static, so it costs nothing while the globe turns) */
.reach__stage::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.2), transparent 38%),
    radial-gradient(circle at 50% 50%, transparent 66%, rgba(20, 38, 27, 0.1) 100%);
  box-shadow: 0 30px 60px -26px rgba(20, 38, 27, 0.38);
}

.reach__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  cursor: grab;
}

.reach__canvas.is-dragging {
  cursor: grabbing;
}

.reach__canvas:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.reach__caption {
  min-height: 3.4em;
  margin: 0;
  color: var(--ink);
}

.reach__caption:empty {
  display: none;
}

.js .reach__caption:empty {
  display: block;
}

.reach--failed .reach__caption:empty {
  display: none;
}

.reach__pick {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.reach__pick small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.reach__all summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}

.reach__all summary::-webkit-details-marker {
  display: none;
}

.reach__all summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s var(--ease);
}

.reach__all[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.reach__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.reach__list button.chip {
  font-family: inherit;
  cursor: pointer;
}

.reach__list button.chip:not(:disabled):hover,
.reach__list button.chip:not(:disabled):focus-visible,
.reach__list button.chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

/* without the globe (no scripts, or it did not load) the names are just a list */
.reach__list button.chip:disabled {
  color: var(--ink);
  cursor: default;
  opacity: 1;
}

@media (min-width: 1024px) {
  /* the text and the list sit in the middle beside the globe, and the whole section (list open too) fits in one window */
  .reach__split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas:
      ". stage"
      "text stage"
      "after stage"
      ". stage";
    grid-template-rows: 1fr auto auto 1fr;
    row-gap: 0;
    align-items: start;
    align-content: start;
  }

  .reach__text {
    grid-area: text;
  }

  .reach__text {
    gap: clamp(10px, 1.4vw, 18px);
  }

  .reach__after {
    margin-top: clamp(10px, 1.4vw, 18px);
  }

  .reach__list {
    gap: 6px;
  }

  .reach__list button.chip {
    padding: 5px 11px;
    font-size: 0.8rem;
  }

  .reach__stage {
    grid-area: stage;
    position: sticky;
    top: calc(var(--header-space) + 20px); /* stays in view while a long list scrolls past */
  }

  .reach__after {
    grid-area: after;
  }
}

/* narrow desktops and landscape tablets: a little denser still */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .reach__split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .reach__list {
    gap: 5px;
  }

  .reach__list button.chip {
    padding: 4px 9px;
    font-size: 0.75rem;
  }
}

@media (max-width: 1023.98px) {
  .reach__split {
    gap: 20px;
  }

  .reach__stage {
    max-width: min(100%, 82svh, 560px);
  }
}

/* phones and tablets: the open list is a strip of three rows that scrolls sideways, and the globe is no taller than
   the screen leaves room for, so the section still fits in one window */
@media (max-width: 1023.98px) {
  .reach__stage {
    max-width: max(260px, min(100%, 560px, calc(100svh - var(--header-space) - 520px))); /* never smaller than 260px (landscape phones) */
  }

  .reach__list {
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    gap: 6px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .reach__list button.chip {
    min-height: 38px;
    padding-inline: 14px;
  }
}

@media (max-width: 600px) {
  .reach__text .lead {
    display: none;
  }

  .reach__stage {
    max-width: max(240px, min(100%, calc(100svh - var(--header-space) - 445px)));
  }
}

/* ---------- Forest band ---------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: var(--frame);
  padding-block: var(--section);
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(61, 176, 75, 0.35), transparent 70%),
    linear-gradient(160deg, var(--brand) 0%, var(--forest) 55%, var(--forest-deep) 100%);
  color: #fff;
}

.band .lead {
  color: rgba(255, 255, 255, 0.82);
}

/* "Our promise" band (home and About): a smaller block, shorter and tighter */
.band {
  padding-block: clamp(52px, 6vw, 84px);
}

.band .section-head {
  gap: 12px;
  margin-bottom: clamp(24px, 3.2vw, 40px);
}

.band .h2 {
  font-size: clamp(1.55rem, 1.05rem + 1.5vw, 2.2rem);
}

.band .lead {
  max-width: 600px;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  line-height: 1.55;
}

.band .grid {
  gap: clamp(12px, 1.5vw, 18px);
}

.band .card {
  padding: clamp(18px, 1.8vw, 24px);
}

.band .card .hexicon {
  width: 40px;
  height: 45px;
  margin-bottom: 14px;
}

.band .card .hexicon svg {
  width: 19px;
  height: 19px;
}

.band .card h3 {
  font-size: 1rem;
}

.band .card p {
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.band__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}

/* ---------- Light along the honeycomb lines ----------
   A soft beam slides across the panel behind a mask shaped like the honeycomb, so only the
   lines light up. The beam is the only thing that moves (transform), the masks are static. */
.hex-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask: var(--hex-lines) 0 0 / 62.352px 108px repeat;
  mask: var(--hex-lines) 0 0 / 62.352px 108px repeat;
}

.hex-light__in {
  position: absolute;
  inset: 0;
  -webkit-mask-image: var(--hex-light-fade, none);
  mask-image: var(--hex-light-fade, none);
}

.hex-light__beam {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 255, 226, 0.14) 30%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(214, 255, 226, 0.14) 70%,
    transparent
  );
  transform: translateX(-120%) skewX(-16deg);
  animation: hex-sweep 8s linear infinite paused;
}

.hex-light.is-lit .hex-light__beam {
  animation-play-state: running;
}

@keyframes hex-sweep {
  to {
    transform: translateX(360%) skewX(-16deg);
  }
}

/* Same fades as the textures they sit on */
.band .hex-light {
  --hex-light-fade: linear-gradient(180deg, #000, transparent 85%);
}

.cta .hex-light {
  --hex-light-fade: radial-gradient(70% 70% at 50% 110%, #000, transparent 80%);
}

/* The footer's lines are fainter, so its light is softer too */
.footer .hex-light {
  opacity: 0.7;
}

.card--glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.card--glass p {
  color: rgba(255, 255, 255, 0.78);
}

.card--glass .hexicon {
  --hexicon-bg: rgba(255, 255, 255, 0.16);
}

.card--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

/* ---------- Audience cards ---------- */
.audience .card {
  height: 100%;
}

/* ---------- Certificates ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 380px));
  justify-content: center;
  align-items: start;
  gap: 22px;
}

.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 26px 26px;
  text-align: center;
}

.cert__img {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 20px;
  border-radius: var(--r-sm);
  background: var(--paper);
}

.cert__img img {
  max-width: 150px;
  max-height: 100%;
  object-fit: contain;
}

.cert__body h3 {
  font-size: 1.1rem;
}

.cert__body p {
  margin-top: 6px;
  font-size: 0.9rem;
}

.cert .link-arrow {
  margin-top: auto;
  font-size: 0.9rem;
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.cert-strip__item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin-top: 10px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.location-card .hexicon {
  flex: none;
  width: 44px;
  height: 49px;
  margin: 0;
}

.location-card .hexicon svg {
  width: 20px;
  height: 20px;
}

.location-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.location-card strong {
  display: block;
  margin-top: 2px;
  font-size: 1.02rem;
}

.location-card p {
  margin: 2px 0 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.location-card .link-arrow {
  font-size: 0.9rem;
}

/* ---------- Note ---------- */
.note {
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  border-left: 3px solid var(--brand);
  border-radius: 4px var(--r-sm) var(--r-sm) 4px;
  background: var(--mint-soft);
}

.note svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--brand);
}

.note strong {
  display: block;
  margin-bottom: 4px;
}

.note p {
  font-size: 0.93rem;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(50% 90% at 50% 120%, rgba(61, 176, 75, 0.55), transparent 70%),
    linear-gradient(150deg, var(--brand), var(--forest) 60%, var(--forest-deep));
  color: #fff;
  text-align: center;
}

.cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.85);
}

.cta .btn-row {
  justify-content: center;
  margin-top: 10px;
}

.cta__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0.1;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 110%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 110%, #000, transparent 80%);
  pointer-events: none;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px);
}

.page-hero__inner {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 22px;
  max-width: 820px;
}

.page-hero__deco {
  position: absolute;
  top: 50%;
  right: max(-120px, calc((100vw - var(--wide)) / 2 - 60px));
  width: clamp(320px, 42vw, 620px);
  transform: translateY(-50%);
  pointer-events: none;
}

.page-hero__meta {
  display: flex;
  white-space: nowrap;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Catalogue ---------- */
.family {
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg);
  background: var(--mint-soft);
}

.family + .family {
  margin-top: clamp(20px, 3vw, 32px);
}

.family--sand {
  background: var(--sand-soft);
}

.family--white {
  background: #fff;
  border: 1px solid var(--line);
}

/* a heading with its ranges beneath it (Clinical Chemistry Reagents > Substrate, Enzymes, Electrolytes) */
.range-set {
  margin-block: clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--mint-soft);
}

.family + .range-set {
  margin-top: clamp(36px, 5vw, 60px);
}

.range-set:first-child {
  margin-top: 0;
}

.range-set__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.range-set__head :is(h2, h3) {
  margin: 0;
}

.range-set__head p {
  margin-top: 6px;
  color: var(--muted);
}

.range-set__body {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}

/* inside a group the ranges are individual white cards */
.range-set .family {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  background: #fff;
}

.range-set__body .family + .family {
  margin-top: 0;
}

.family__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.family__head:last-child {
  align-items: center;
  margin-bottom: 0;
}

.family__title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.family__title .hexicon {
  margin: 0;
  flex: none;
}

.family__title p {
  margin-top: 6px;
  max-width: 620px;
  color: var(--muted);
}

.toolbar {
  position: sticky;
  top: calc(var(--header-space) + 12px);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 28px;
  padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.toolbar__count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}

.search svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 48px;
  padding: 0 20px 0 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.search input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(1, 132, 69, 0.12);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
}

.empty-state .hexicon {
  margin: 0;
}

.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Product detail ---------- */
.product-top {
  padding-top: clamp(28px, 4vw, 56px);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.gallery {
  position: sticky;
  top: calc(var(--header-space) + 24px);
}

.gallery__main {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* a picture that is not 4:3: the frame is exactly the picture (nothing added, nothing cut), never taller than the window */
.gallery__main--fit {
  width: min(100%, calc(var(--r) * 80vh));
  width: min(100%, calc(var(--r) * 80svh));
  aspect-ratio: var(--r);
  margin-inline: auto;
}

.gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.gallery__thumb {
  width: 88px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumb:hover,
.gallery__thumb.is-active {
  border-color: var(--brand);
}

.gallery__thumb:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.gallery__zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  cursor: zoom-in;
}

.gallery__zoom svg {
  width: 18px;
  height: 18px;
}

/* Branded panel shown when a product has no photo */
.label-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  aspect-ratio: 4 / 3;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  color: #fff;
  background:
    radial-gradient(60% 70% at 85% 15%, rgba(61, 176, 75, 0.4), transparent 70%),
    linear-gradient(145deg, #0a6035, #063a21 60%, #04200f);
  box-shadow: var(--shadow-md);
  --logo-main: #fff;
  --logo-sub: var(--brand-on-dark);
}

.label-art__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0.08;
  -webkit-mask-image: radial-gradient(80% 90% at 90% 10%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 90% at 90% 10%, #000 20%, transparent 80%);
}

.label-art__head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.label-art__head svg {
  width: 44px;
  height: auto;
}

.label-art__body {
  display: grid;
  align-content: end;
  gap: 12px;
}

.label-art__cat {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-on-dark);
}

.label-art__title {
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.label-art__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.product__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 22px;
}

.product__title {
  font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.6rem);
  overflow-wrap: anywhere;
}

.spec {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.93rem;
}

.spec th,
.spec td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

/* long unbroken words in a value (chemical names) may break; the labels on the left never do */
.spec td {
  overflow-wrap: anywhere;
}

.spec tr:last-child th,
.spec tr:last-child td {
  border-bottom: 0;
}

.spec th {
  width: 38%;
  font-weight: 700;
  background: var(--mint-soft);
}

.product-details {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3vw, 36px);
}

.product-details__title {
  margin-bottom: 18px;
}

.table-wrap {
  width: 100%;
  contain: paint; /* the table's minimum width must not widen the page on phones */
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.data-table th,
.data-table td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.data-table thead th {
  background: var(--mint-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--forest-deep);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: #fbfdfb;
}

@media (max-width: 560px) {
  /* reference tables: fit the screen where they can, scroll inside their frame where they cannot */
  .data-table {
    min-width: 0;
  }

  .data-table th,
  .data-table td {
    padding: 11px 12px;
  }
}

.data-table__action {
  width: 1%;
  text-align: right !important;
  white-space: nowrap;
}

/* Ordering table on phones: each row becomes a small block, the catalogue number on its own line and the
   pack or test count with the Quote link under it, so nothing has to scroll sideways */
@media (max-width: 560px) {
  .data-table--order,
  .data-table--order tbody {
    display: block;
  }

  .data-table--order thead {
    display: none;
  }

  .data-table--order tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 12px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
  }

  .data-table--order tbody tr:last-child {
    border-bottom: 0;
  }

  .data-table--order td {
    display: block;
    padding: 0;
    border: 0;
  }

  .data-table--order td:first-child {
    grid-column: 1 / -1;
  }

  .data-table--order .code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .data-table--order td:not(:first-child):not(.data-table__action) {
    font-size: 0.9rem;
    color: var(--muted);
  }
}

.data-table__action .link-arrow {
  font-size: 0.88rem;
}

.code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--forest-deep);
}

.downloads {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.doc-list {
  display: grid;
  gap: 10px;
  width: 100%;
  list-style: none;
}

.doc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color 0.2s, background-color 0.2s;
}

.doc:hover {
  border-color: var(--brand);
  background: var(--mint-soft);
}

.doc__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
}

.doc__icon svg {
  width: 20px;
  height: 20px;
}

.doc__text {
  display: grid;
  flex: 1;
  font-size: 0.8rem;
  color: var(--muted);
}

.doc__text strong {
  font-size: 0.93rem;
  color: var(--ink);
}

.doc__arrow {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--brand);
}

.downloads__note {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.prose {
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 12px;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}

.checklist svg {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
}

.contact-item .hexicon {
  flex: none;
  margin: 0;
  width: 44px;
  height: 49px;
}

.contact-item .hexicon svg {
  width: 20px;
  height: 20px;
}

.contact-item__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-item__value {
  display: block;
  width: fit-content;
  margin-top: 2px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-item a.contact-item__value:hover {
  color: var(--brand);
}

.contact-item p {
  margin-top: 2px;
  font-size: 0.9rem;
}

.form {
  display: grid;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field[hidden] {
  display: none;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(1, 132, 69, 0.12);
}

.form__hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--mint-soft);
  aspect-ratio: 16 / 9;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0;
  padding: clamp(44px, 4.5vw, 64px) 0 24px;
  background: var(--forest-ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  --logo-main: #ffffff;
  --logo-sub: var(--brand-on-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.75fr) minmax(0, 1.9fr) minmax(0, 1.2fr);
  gap: 36px;
}

.footer__brand p {
  max-width: 300px;
  margin-top: 14px;
}

.footer__brand svg {
  height: 48px;
  width: auto;
}

.footer h2 {
  margin-bottom: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

/* The "Products" heading is itself the way to the full catalogue */
.footer__heading-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__heading-link:hover,
.footer__heading-link:focus-visible {
  color: var(--brand-on-dark);
}

.footer ul {
  display: grid;
  gap: 7px;
  list-style: none;
}

/* The ranges run in two columns so the footer stays short */
.footer__products ul {
  display: block;
  column-count: 2;
  column-gap: 28px;
}

.footer__products li {
  break-inside: avoid;
  margin-bottom: 7px;
}

.footer a {
  transition: color 0.2s;
}

/* The slide-down toggles and the "All products" link only appear on phones */
.footer__toggle,
.footer__all {
  display: none;
}

.footer__heading-item a {
  font-weight: 700;
  color: #fff;
}

.footer__child {
  padding-left: 14px;
}

.footer a:hover {
  color: #fff;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--brand-on-dark);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

/* Hexagon grid across the whole footer, behind the content */
.footer__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0.04;
  pointer-events: none;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: background-color 0.2s, border-color 0.2s;
}

.socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.socials svg {
  width: 17px;
  height: 17px;
}

/* ---------- Floating contact button ---------- */
.fab {
  position: fixed;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  /* The closed menu still takes up room, so the container is a large invisible box;
     only the button and the open menu may catch taps, never the empty space around them */
  pointer-events: none;
}

.fab__toggle,
.fab__action {
  pointer-events: auto;
}

.fab__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
}

.fab.is-open .fab__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.fab__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s, border-color 0.2s;
}

.fab__action:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.fab__action span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.fab__action svg {
  width: 16px;
  height: 16px;
}

.fab__action--whatsapp span {
  background: #25d366;
}

.fab__action--whatsapp:hover {
  border-color: #25d366;
  color: #128c4b;
}

.fab__toggle {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}

.fab__toggle:hover {
  background: var(--brand-hover);
}

.fab__toggle svg {
  width: 24px;
  height: 24px;
}

.fab__toggle .icon-close {
  display: none;
}

.fab.is-open .fab__toggle {
  transform: rotate(90deg);
}

.fab.is-open .fab__toggle .icon-close {
  display: block;
}

.fab.is-open .fab__toggle .icon-chat {
  display: none;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 38, 26, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
}

/* ---------- 404 ---------- */
/* ---------- 404 and thank-you pages ---------- */
.not-found,
.thanks {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: calc(100svh - var(--header-offset)); /* at least a screenful, so a tall window shows no gap under the footer */
  padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px);
  text-align: center;
}

.not-found .lead,
.thanks .lead {
  max-width: 600px;
  margin: 0;
}

.not-found__actions,
.thanks__actions {
  justify-content: center;
}

/* "404" in three honeycomb cells; the middle one is empty and sits half a cell lower */
.nf-cells {
  --cell: clamp(78px, 15vw, 128px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 12px);
  margin-bottom: clamp(4px, 1vw, 10px);
}

.nf-cell {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--cell);
  aspect-ratio: 54 / 60;
  animation: nf-float 5s ease-in-out infinite;
}

.nf-cell:nth-child(2) {
  margin-top: calc(var(--cell) * 0.32);
  animation-delay: -1.7s;
}

.nf-cell:nth-child(3) {
  animation-delay: -3.4s;
}

.nf-cell svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nf-cell path {
  fill: var(--brand);
}

.nf-cell b {
  position: relative;
  font-size: calc(var(--cell) * 0.5);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.nf-cell--empty path {
  fill: var(--mint-soft);
  stroke: var(--brand);
  stroke-width: 1.4;
  stroke-dasharray: 3.2 2.6;
}

.nf-cell--empty svg {
  animation: nf-turn 24s linear infinite;
}

.nf-cell--empty b {
  color: var(--brand);
}

@keyframes nf-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes nf-turn {
  to {
    transform: rotate(360deg);
  }
}

.not-found__ranges {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 1080px;
  margin-top: clamp(16px, 4vw, 40px);
  text-align: left;
}

.not-found__label,
.thanks__direct-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* thank-you: a hexagon that fills with green, then a tick */
.thanks {
  max-width: 780px;
}

.thanks__mark {
  width: clamp(84px, 13vw, 116px);
  margin-bottom: 4px;
}

.thanks__hex {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.thanks__hex-base {
  fill: var(--mint);
}

.thanks__hex-fill {
  fill: var(--brand);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: translateY(100%);
  animation: thanks-fill 1.1s var(--ease) 0.2s forwards;
}

.thanks__tick {
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.4);
  animation: thanks-tick 0.5s var(--ease) 1.15s forwards;
}

@keyframes thanks-fill {
  to {
    transform: none;
  }
}

@keyframes thanks-tick {
  to {
    opacity: 1;
    transform: none;
  }
}

.thanks__copy {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: clamp(18px, 3vw, 28px);
  text-align: left;
}

.thanks__copy .muted {
  margin: 0;
}

.thanks__text {
  max-height: min(55vh, 380px);
  margin: 0;
  overflow: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: 500 0.9rem/1.55 var(--font);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.thanks__copy .btn-row {
  gap: 10px;
}

.thanks__direct {
  display: grid;
  gap: 12px;
  width: 100%;
}

.thanks__ways {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thanks__ways a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s;
}

.thanks__ways a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.thanks__ways span {
  overflow-wrap: anywhere;
}

.thanks__ways svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand);
}

@media (max-width: 1023.98px) {
  .not-found .range-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-cell,
  .nf-cell--empty svg {
    animation: none;
  }

  .thanks__hex-fill,
  .thanks__tick {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- "More in this range" strip: the cards drift left to right across the screen ---------- */
.strip {
  overflow-x: auto;
  padding: 12px 0 26px;
  margin-top: -12px;
  scrollbar-width: thin;
}

.strip__track {
  display: flex;
  gap: clamp(14px, 1.8vw, 20px);
  width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.strip .pcard {
  flex: 0 0 min(76vw, clamp(230px, 21vw, 290px));
}

.strip.is-moving {
  overflow: hidden;
  touch-action: pan-y; /* a sideways swipe moves the strip, an up or down swipe still scrolls the page */
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.strip.is-scrollable {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.strip.is-dragging {
  cursor: grabbing;
}

.strip .pcard {
  -webkit-user-drag: none;
}

.strip.is-moving .strip__track {
  padding-inline: 0;
  animation: strip-drift var(--strip-time, 60s) linear infinite;
  will-change: transform;
}

@keyframes strip-drift {
  from {
    transform: translate3d(calc(var(--strip-w) * -1), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .strip.is-moving:hover .strip__track {
    animation-play-state: paused;
  }
}

.strip.is-moving:focus-within .strip__track,
.strip.is-held .strip__track,
.strip.is-away .strip__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .strip.is-moving {
    overflow-x: auto;
  }

  .strip.is-moving .strip__track {
    animation: none;
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link {
    padding: 0 12px;
  }

  .grid--4,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1279.98px) {
  .nav__link {
    padding: 0 11px;
    font-size: 0.92rem;
  }

  .btn-bar {
    padding-left: 20px;
  }
}

@media (max-width: 1119.98px) {
  :root {
    --header-h: 66px;
    --header-gap: 18px;
    --header-top: 10px;
  }

  .is-scrolled {
    --header-top: 10px;
  }

  .header__inner {
    padding: 0 7px 0 18px;
  }

  .header .brand svg {
    height: 40px;
  }

  .header__actions {
    margin-left: auto;
    gap: 8px;
  }

  .icon-btn,
  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-toggle span {
    left: 14px;
    right: 14px;
  }

  .nav-toggle span:nth-child(1) {
    top: 16px;
  }

  .nav-toggle span:nth-child(2) {
    top: 22px;
  }

  .nav-toggle span:nth-child(3) {
    top: 28px;
  }

  .btn-bar {
    height: 50px;
    padding: 0 6px 0 18px;
    font-size: 0.9rem;
  }

  .btn-bar__icon {
    width: 38px;
    height: 38px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100dvh - var(--header-top) - var(--header-h) - 28px);
    padding: 4px 18px 10px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    background: var(--bar-panel);
    box-shadow: 0 24px 60px var(--bar-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav > .nav__link,
  .nav__item > .nav__link {
    height: auto;
    padding: 11px 0;
    font-size: 0.98rem;
    font-weight: 600;
  }

  .nav > .nav__link,
  .nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .nav > :last-child,
  .nav > a.nav__link:last-of-type {
    border-bottom: 0; /* the sliding underline element comes after the last link, so it is named too */
  }

  .nav__label::after {
    bottom: -5px;
  }

  .nav__item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav__caret {
    display: none;
  }

  .nav__expand {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
  }

  .nav__expand svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
  }

  .nav__item.is-open .nav__expand svg {
    transform: rotate(180deg);
  }

  .nav__sub,
  .nav__item:hover > .nav__sub,
  .nav__item:focus-within > .nav__sub {
    position: static;
    grid-column: 1 / -1;
    display: none;
    min-width: 0;
    padding: 0 0 8px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item.is-open > .nav__sub {
    display: block;
  }

  .nav__sub::before {
    display: none;
  }

  /* the Products list in the phone menu: shorter rows and smaller type, so the whole list fits on the screen */
  .nav__sub a {
    padding: 6px 10px;
    font-size: 0.84rem;
  }

  .nav__sub a.nav__sub-all {
    margin-bottom: 2px;
    padding-bottom: 8px;
  }

  .nav__sub a.nav__sub-heading {
    margin-top: 4px;
    padding: 9px 10px 5px;
  }

  .nav__sub a.nav__sub-heading,
  .nav__sub a:not(.nav__sub-child, .nav__sub-all, .nav__sub-heading) {
    font-size: 0.72rem;
  }

  .nav__sub a.nav__sub-child {
    margin-left: 12px;
    padding: 6px 10px 6px 16px;
  }

  .nav__sub a.nav__sub-child + a:not(.nav__sub-child) {
    margin-top: 4px;
  }

  .search-panel {
    width: 100%;
  }
}

/* every screen (phones, tablets and desktops): honeycomb badges, a centred headline and stacked buttons over the video,
   with the product count along the bottom */
.hero__panel {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  padding-top: var(--header-offset);
  padding-bottom: var(--header-offset); /* as much room below as above, so the block sits in the middle of the window */
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: none;
  text-align: center;
}

.hero__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero__badges {
  display: block;
  position: relative;
  flex: none;
  width: 232px;
  height: 116px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: scale(0.95);
  margin-block: -3px;
  animation: hero-badges-in 0.8s var(--ease) both;
}

.hero__hex {
  position: absolute;
  top: 38px;
  width: 88px;
  height: 76.2px;
  display: grid;
  place-items: center;
}

.hero__hex--ce {
  left: 0;
}

.hero__hex--iso {
  left: 72px;
  top: 0;
}

.hero__hex--eg {
  left: 144px;
}

/* the two empty cells beside the top badge carry the counts: products on the left, ranges on the right */
.hero__hex--products {
  left: -72px;
  top: 0;
}

.hero__hex--ranges {
  left: 216px;
  top: 0;
}

/* faint empty cells carry the honeycomb out towards the screen edges */
.hero__comb {
  position: absolute;
  left: -144px;
  top: 0;
  width: 520px;
  height: 116px;
  -webkit-mask: linear-gradient(90deg, transparent 2%, #000 40%, #000 60%, transparent 98%);
  mask: linear-gradient(90deg, transparent 2%, #000 40%, #000 60%, transparent 98%);
}

.hero__comb svg,
.hero__hex svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero__hex svg {
  position: absolute;
  inset: 0;
}

.hero__comb path {
  fill: rgba(142, 224, 174, 0.04);
  stroke: rgba(142, 224, 174, 0.42);
  stroke-width: 1.3;
}

.hero__hex svg path {
  fill: rgba(4, 32, 15, 0.62);
  stroke: rgba(142, 224, 174, 0.75);
  stroke-width: 1.4;
}

.hero__hex--key svg path {
  fill: url(#hero-hexfill);
  stroke: rgba(211, 238, 220, 0.6);
}

.hero__hex--key {
  filter: drop-shadow(0 10px 22px rgba(1, 132, 69, 0.45));
}

.hero__mark {
  position: relative;
  display: grid;
  gap: 1px;
  justify-items: center;
  line-height: 1;
}

.hero__mark b {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__mark small {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.hero__hex--ce b {
  font-size: 25px;
  letter-spacing: 0.02em;
}

.hero__hex--iso b {
  font-size: 19px;
}

.hero__hex--iso small {
  color: #fff;
  opacity: 0.9;
}

.hero__hex--eg b {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__hex--stat b {
  font-size: 23px;
}

.hero__hex--stat svg path {
  fill: rgba(142, 224, 174, 0.07);
  stroke: rgba(142, 224, 174, 0.55);
}

.hero__content .eyebrow {
  margin-top: 17px;
  padding: 0;
  border: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: normal;
  color: var(--brand-on-dark);
}

.hero__content .display {
  max-width: 348px;
  margin-top: 18px;
  font-size: clamp(1.8rem, 8.9vw, 2.38rem);
  line-height: 1.06;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(3, 24, 14, 0.5);
}

.hero__content .display em {
  color: var(--brand-on-dark);
}

.hero__lead {
  max-width: 336px;
  margin-top: 14px;
  font-size: 0.97rem;
  line-height: 1.55;
}

.hero__content .btn-row {
  display: grid;
  gap: 11px;
  width: 100%;
  max-width: 280px;
  margin-top: 24px;
}

.hero__content .btn-row .btn {
  width: 100%;
  min-height: 53px;
  padding-inline: 24px;
  font-size: 1.05rem;
  justify-content: center;
}

.hero__tint {
  opacity: 0.28;
}

.hero__aside {
  justify-self: start;
}

.hero__video {
  object-position: 68% 50%;
}

.hero__shade {
  background:
    radial-gradient(ellipse 120% 78% at 50% 30%, rgba(3, 24, 14, 0.3) 0%, rgba(3, 24, 14, 0.74) 52%, rgba(3, 24, 14, 0.94) 82%, #03180e 100%),
    linear-gradient(180deg, rgba(3, 24, 14, 0.55) 0%, rgba(3, 24, 14, 0) 16%);
}

@media (max-width: 1023.98px) {
  .split,
  .contact-grid,
  .product,
  .product-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery {
    position: static;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero__deco {
    opacity: 0.5;
  }
}

@media (max-width: 720px) {
  .eyebrow {
    white-space: normal;
    text-wrap: balance;
  }

  .btn-bar {
    display: none;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .form__row {
    grid-template-columns: 1fr;
  }

  /* ---- Cards on phones: one per row, all in the same small style ---- */
  /* value cards (home band, About page): icon on the left, text on the right */
  .grid--values {
    gap: 10px;
  }

  .grid--values .card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .grid--values .card .hexicon {
    grid-row: 1 / span 2;
    width: 34px;
    height: 38px;
    margin: 2px 0 0;
  }

  .grid--values .card .hexicon svg {
    width: 17px;
    height: 17px;
  }

  .grid--values .card h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  .grid--values .card p {
    margin-top: 3px;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* range cards on the home page: two columns, and the lead and button make way so every range fits on one screen */
  .home-ranges .section-head .lead,
  .home-ranges .section-head .btn {
    display: none;
  }

  .home-ranges .section-head {
    margin-bottom: 16px;
  }

  .range-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .range-tile {
    gap: 8px;
    min-height: 56px;
    padding: 7px;
    border-radius: 14px;
  }

  .range-tile__img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }

  .range-tile__name {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .range-tile__count {
    margin-top: 2px;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }

  /* the three Clinical Chemistry ranges sit together at the top, so their shared label is left out here */
  .range-tile__over {
    display: none;
  }

  .range-tile--all {
    font-size: 0.82rem;
  }

  /* product cards (range pages, "more in this range") */
  .pcard {
    gap: 10px;
    padding: 14px 16px 12px;
    border-radius: 16px;
  }

  .pcard__top .hexicon {
    width: 34px;
    height: 38px;
  }

  .pcard__top .hexicon svg {
    width: 16px;
    height: 16px;
  }

  .pcard__thumb {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .pcard__top .pcard__thumb--hex .hexicon {
    width: 24px;
    height: 27px;
    margin-top: -3px;
  }

  .pcard__top .pcard__thumb--hex .hexicon svg {
    width: 11px;
    height: 11px;
  }

  .pcard__title {
    font-size: 0.98rem;
    line-height: 1.28;
  }

  .pcard__meta {
    font-size: 0.82rem;
  }

  .pcard__facts li {
    padding: 3px 8px;
    font-size: 0.7rem;
  }

  .pcard .link-arrow {
    padding-top: 6px;
    font-size: 0.86rem;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .toolbar {
    position: static;
    padding: 14px;
    border-radius: var(--r-md);
  }

  .search {
    max-width: none;
  }

  /* range blocks on the Products page: icon and name side by side, the description across the whole card below */
  .family__title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 14px;
  }

  .family__title > div {
    display: contents;
  }

  .family__title .hexicon {
    width: 42px;
    height: 47px;
  }

  .family__title .hexicon svg {
    width: 20px;
    height: 20px;
  }

  .family__title p {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: 0;
  }

  .mosaic {
    grid-auto-rows: 84px;
    gap: 10px;
  }

  .page-hero__deco {
    display: none;
  }

  .spec th {
    width: 42%;
  }
}

@media (max-width: 480px) {
  .btn-row .btn {
    width: 100%;
  }

  .stat__label {
    font-size: 0.85rem;
  }

  .fab__toggle {
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* the badges fade in on their own (opacity only), so the size steps below can scale them */
@keyframes hero-badges-in {
  from {
    opacity: 0;
  }
}

/* Narrow phones: the five-hexagon cluster is 376 px wide, so it is scaled to fit (the `scale` property adds to the
   short-screen transform further down) */
@media (max-width: 399.98px) {
  .hero__badges {
    scale: 0.94;
    margin-block: -6px;
  }
}

@media (max-width: 374.98px) {
  .hero__badges {
    scale: 0.88;
    margin-block: -10px;
  }
}

@media (max-width: 349.98px) {
  .hero__badges {
    scale: 0.8;
    margin-block: -14px;
  }
}

@media (max-width: 319.98px) {
  .hero__badges {
    scale: 0.72;
    margin-block: -18px;
  }
}

/* Tablets and desktops: the same centred hero, with a wider headline and intro */
@media (min-width: 600px) {
  .hero__content .display {
    max-width: 594px;
  }

  .hero__lead {
    max-width: 486px;
  }
}

/* Desktops: the same hero (honeycomb badges, centred text with the green word, product count along the bottom), made for a
   wide screen: bigger badges and type, a wider intro and the two buttons side by side. Windows that are not very tall
   get a middle size, very short ones fall through to the short-screen steps below. */
@media (min-width: 1024px) {
  .hero__badges {
    transform: scale(1.37);
    margin-block: 21px;
  }

  .hero__content .eyebrow {
    margin-top: 22px;
    font-size: 0.88rem;
  }

  .hero__content .display {
    max-width: min(660px, 12em);
    margin-top: 22px;
    font-size: clamp(2.1rem, 0.96rem + 1.9vw, 2.64rem);
  }

  .hero__lead {
    max-width: 528px;
    margin-top: 17px;
    font-size: 1.03rem;
    line-height: 1.6;
  }

  .hero__content .btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px 16px;
    width: auto;
    max-width: none;
    margin-top: 28px;
  }

  .hero__content .btn-row .btn {
    width: auto;
    min-height: 53px;
    padding-inline: 29px;
  }

}

@media (min-width: 1024px) and (max-height: 799.98px) {
  .hero__badges {
    transform: scale(1.24);
    margin-block: 14px;
  }

  .hero__content .eyebrow {
    margin-top: 14px;
    font-size: 0.82rem;
  }

  .hero__content .display {
    margin-top: 13px;
    font-size: clamp(1.92rem, 0.84rem + 1.9vw, 2.33rem);
  }

  .hero__lead {
    max-width: 510px;
    margin-top: 11px;
    font-size: 0.97rem;
  }

  .hero__content .btn-row {
    margin-top: 18px;
  }

  .hero__content .btn-row .btn {
    min-height: 48px;
  }

}

@media (min-width: 1024px) and (max-height: 720.98px) {
  .hero__badges {
    transform: scale(1.12);
    margin-block: 7px;
  }
}

/* Short screens: the badges and spacing shrink so the hero still fits (phones under 700 px high, desktop windows under 660 px high) */
@media (max-width: 1023.98px) and (max-height: 700px), (max-height: 660px) {
  .hero__badges {
    transform: scale(0.82);
    margin-block: -10px;
  }

  .hero__content .display {
    margin-top: 13px;
    font-size: clamp(1.66rem, 8.2vw, 2.1rem);
  }

  .hero__lead {
    margin-top: 11px;
  }

  .hero__content .btn-row {
    margin-top: 18px;
    gap: 11px;
  }

  .hero__content .btn-row .btn {
    min-height: 48px;
  }
}

/* Very short screens (a phone browser with its toolbars, an old 4-inch phone, a very low desktop window): smaller still */
@media (max-width: 1023.98px) and (max-height: 600px), (max-height: 560px) {
  .hero__panel {
    padding-bottom: 14px;
  }

  .hero__content {
    padding-top: 4px;
  }

  .hero__badges {
    transform: scale(0.64);
    margin-block: -21px;
  }

  .hero__content .eyebrow {
    margin-top: 8px;
    font-size: 0.77rem;
  }

  .hero__content .display {
    margin-top: 8px;
    font-size: clamp(1.48rem, 7.4vw, 1.85rem);
  }

  .hero__lead {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero__content .btn-row {
    margin-top: 13px;
    gap: 8px;
  }

  .hero__content .btn-row .btn {
    min-height: 44px;
  }
}

/* Facts sheet on phones: no dotted leader, the label takes the room it needs and the value
   (e.g. the ISO chip) moves to its own line when the two do not fit side by side */
@media (max-width: 480px) {
  .sheet__row {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .sheet__leader {
    display: none;
  }

  .sheet__row dt {
    flex: 1 1 150px;
    min-width: 0;
  }

  .sheet__row dd {
    margin-left: auto;
  }

  .sheet__chip {
    padding: 5px 10px;
    font-size: 0.8rem;
    letter-spacing: 0;
  }
}

/* Footer on phones: smaller, and Company / Products / Get in touch are sections that slide open */
@media (max-width: 700px) {
  .footer {
    padding: 34px 0 18px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__brand {
    margin-bottom: 20px;
  }

  .footer__brand svg {
    height: 40px;
  }

  .footer__brand p {
    margin-top: 10px;
    font-size: 0.84rem;
  }

  .footer__title {
    display: none;
  }

  .footer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: none;
    color: #fff;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .footer__col:last-child .footer__toggle {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer__col:last-child.is-open .footer__toggle {
    border-bottom: 0;
  }

  .footer__toggle svg {
    width: 18px;
    height: 18px;
    color: var(--brand-on-dark);
    transition: transform 0.3s var(--ease);
  }

  .footer__col.is-open .footer__toggle svg {
    transform: rotate(180deg);
  }

  .js .footer__col:not(.is-open) .footer__panel {
    display: none;
  }

  .footer__col .footer__panel {
    padding-bottom: 16px;
  }

  .footer__col.is-open .footer__panel {
    animation: footer-slide 0.32s var(--ease) both;
  }

  .footer__all {
    display: list-item;
  }

  .footer__all a {
    font-weight: 700;
    color: #fff;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    padding-top: 0;
    border-top: 0;
    font-size: 0.78rem;
  }
}

@keyframes footer-slide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@media print {
  .header,
  .fab,
  .footer__pattern {
    display: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Page hero photo variants ---------- */
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.page-hero__card {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.page-hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--blend .page-hero__inner {
  position: relative;
}

.page-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52vw, 820px);
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}

/* ---------- News & events ---------- */
/* Upcoming events (News & events page) */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.event {
  display: grid;
  gap: 14px;
  align-content: start;
  border-top: 4px solid var(--brand);
}

.event__badge {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e5f4ea;
  color: var(--brand-hover);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event .event__name {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card .event__date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.event__date svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.card .event__booth {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 2px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.event__booth span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event__booth strong {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--brand);
}

.news-list {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}

.news-item__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.news-item__media img {
  width: 100%;
  height: auto;
}

.news-item__media figcaption {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.news-item__body {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.news-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-item__subhead {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

@media (max-width: 1023.98px) {
  .page-hero__grid,
  .news-item {
    grid-template-columns: 1fr;
  }

  .page-hero__photo {
    opacity: 0.55;
  }
}

@media (max-width: 720px) {
  .page-hero__photo {
    display: none;
  }
}

/* ---------- Loading screen (first visit in a session) ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(1, 132, 69, 0.35), transparent 70%),
    linear-gradient(160deg, #0a3a22, #06261a 80%);
  color: #fff;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  animation: preloader-auto 0.7s 4.5s var(--ease) forwards;
  --logo-main: #ffffff;
  --logo-sub: var(--brand-on-dark);
}

html:not(.js) .preloader,
.no-preloader .preloader,
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html:not(.js) .preloader,
.no-preloader .preloader {
  display: none;
}

.is-loading {
  overflow: hidden;
}

.preloader__inner {
  display: grid;
  justify-items: center;
  gap: 26px;
  transform: translateY(-4vh);
}

.preloader__logo {
  width: clamp(200px, 32vw, 300px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.3));
}

.preloader__logo .logo__hex-dark {
  transform-origin: 116px 181px;
  animation: hex-in-left 0.9s var(--ease) both;
}

.preloader__logo .logo__hex-light,
.preloader__logo .logo__hex-overlap {
  transform-origin: 256px 100px;
  animation: hex-in-right 0.9s 0.12s var(--ease) both;
}

.preloader__logo .logo__hex-overlap {
  animation: hex-in-right 0.9s 0.12s var(--ease) both, fade-in 0.5s 0.9s both;
}

.preloader__logo text {
  animation: fade-up 0.7s 0.55s var(--ease) both;
}

.preloader__bar {
  width: 180px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.preloader__bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #7cf79c, #ffffff);
  transform-origin: left;
  animation: bar-fill 1.5s 0.3s var(--ease) forwards;
}

.preloader__tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  animation: fade-up 0.7s 0.9s var(--ease) both;
}

@keyframes hex-in-left {
  from {
    opacity: 0;
    transform: translate(-60px, 30px) rotate(-20deg) scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hex-in-right {
  from {
    opacity: 0;
    transform: translate(60px, -30px) rotate(20deg) scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bar-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes preloader-auto {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    display: none;
  }

  .btn::before,
  .btn-bar::before,
  .ripple {
    display: none;
  }
}

/* ---------- Press feedback ---------- */
@keyframes press {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.93);
  }
  70% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.is-pressed {
  animation: press 0.38s var(--ease);
}

.nav__link:active .nav__label,
.nav__sub a:active {
  transform: scale(0.96);
}

.nav__label,
.nav__sub a {
  transition: transform 0.15s var(--ease);
}

/* Hover effects only where hovering exists; on touch screens they would stick after a tap */
@media (hover: none) {
  .btn:hover,
  .chip:hover,
  .icon-btn:hover,
  .fab__toggle:hover {
    transform: none;
  }

  .btn::before,
  .btn-bar::before {
    display: none;
  }
}

/* ---------- "Who we serve" molecule ----------
   One big hexagon that fills like a vessel over each 7-second step, then describes the
   next audience. The six audiences sit on its corners on desktop; phones show the hexagon
   alone. Only transforms and opacity animate, so it stays smooth on phones. */
.molecule {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 44px 0;
}

.molecule__core {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 96;
  display: grid;
  place-items: center;
  text-align: center;
}

.molecule__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.molecule__shape path {
  fill: var(--forest-ink);
}

/* The liquid: a square exactly where the hexagon is drawn, clipped to its outline */
.molecule__fx {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2%;
  width: 96%;
  overflow: hidden;
  clip-path: polygon(50% 2%, 93% 26%, 93% 74%, 50% 98%, 7% 74%, 7% 26%);
}

.molecule__rise {
  position: absolute;
  inset: 0;
}

.molecule__rise.is-run {
  animation: molecule-rise 7s linear forwards; /* duration is set from main.js */
}

.molecule.is-paused .molecule__rise {
  animation-play-state: paused;
}

@keyframes molecule-rise {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-90%);
  }
}

.molecule__wave {
  position: absolute;
  left: -50%;
  top: 97%;
  width: 200%;
  aspect-ratio: 1;
  border-radius: 41%;
  background: rgba(24, 128, 78, 0.9);
  animation: molecule-wave 9s linear infinite;
}

@keyframes molecule-wave {
  to {
    transform: rotate(360deg);
  }
}

.molecule__core-in {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 16%;
  color: #fff;
}

.molecule__core-in.is-swapping {
  animation: molecule-swap 0.45s var(--ease) both;
}

@keyframes molecule-swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* The audience's icon shows inside the hexagon on phones, where the corner icons are hidden */
.molecule__icon {
  display: none;
  width: 56px;
  height: 62px;
  margin: 0 0 4px;
  --hexicon-bg: var(--brand);
  color: #fff;
}

.molecule__icon:empty {
  display: none;
}

.molecule__icon svg {
  width: 25px;
  height: 25px;
}

.molecule__kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9f0cf;
}

.molecule__title {
  font-size: clamp(1rem, 0.8rem + 0.7vw, 1.25rem);
  line-height: 1.2;
  color: #fff;
}

.molecule__text {
  font-size: clamp(0.78rem, 0.65rem + 0.35vw, 0.92rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

/* Corner icons. Positioned by transform, so nothing else may animate the node's transform
   (only the hexicon inside it moves). */
.molecule__node {
  position: absolute;
  z-index: 3;
  padding: 0;
  border: 0;
  background: none;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.js .molecule.reveal .molecule__node {
  opacity: 0;
  transition: opacity 0.6s var(--d, 0s);
}

.js .molecule.reveal.is-visible .molecule__node {
  opacity: 1;
}

.molecule__node .hexicon {
  width: 62px;
  height: 70px;
  margin: 0;
  --hexicon-bg: var(--mint);
  transition: transform 0.3s var(--ease), color 0.3s;
}

.molecule__node .hexicon svg {
  width: 26px;
  height: 26px;
}

/* Names and descriptions are read by screen readers; the hexagon shows them visually */
.molecule__node b,
.molecule__node small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.molecule__node:hover .hexicon,
.molecule__node.is-on .hexicon {
  transform: scale(1.12);
}

.molecule__node.is-on .hexicon {
  --hexicon-bg: var(--brand);
  color: #fff;
}

.molecule__node:focus-visible {
  outline: none;
}

.molecule__node:focus-visible .hexicon {
  outline: 3px solid var(--leaf);
  outline-offset: 4px;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .molecule__fx {
    display: none;
  }
}

/* Phones: just the big hexagon, walking through the audiences on its own */
@media (max-width: 640px) {
  .molecule {
    padding: 0;
  }

  .molecule__node {
    display: none;
  }

  .molecule__core-in {
    gap: 10px;
    padding: 0 14%;
  }

  .molecule__icon {
    display: grid;
  }

  .molecule__title {
    font-size: 1.2rem;
  }

  .molecule__text {
    font-size: 0.9rem;
  }
}
