/* baseflow homepage, version 2
   Palette: baseflow blue, black, white and greys. One font family (Open Sans, served from
   static/fonts) in a fixed scale of sizes; labels are written in sentence case.
   Sections: 1 tokens · 2 base · 3 building blocks · 4 header · 5 hero · 6 proof
             7 product spectrum · 8 product sections · 9 illustrations · 10 dashboard
             11 consulting · 12 research and news · 13 about us · 14 contact · 15 footer
             16 references and legal pages · 17 motion · 18 small screens · 19 print  */

/* ------------------------------------------------------------------ 1 tokens */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin-wght-italic.woff2") format("woff2");
}

:root {
  --blue: #1a73e8;          /* baseflow blue */
  --blue-600: #1863dc;
  --blue-700: #1553bd;
  --blue-400: #4a93ff;      /* large accents on dark */
  --blue-300: #6ea6ff;      /* thin lines and small text on dark */
  --blue-200: #a9c9ff;
  --blue-50: #eef4fe;

  --ink: #0a0d13;           /* dark sections */
  --text: #0f1319;
  --text-2: #49515e;
  --text-3: #687280;
  --line: #e3e7ee;
  --line-2: #d0d6df;
  --bg: #ffffff;
  --bg-tint: #f4f6f9;
  --on-dark: #f2f5f9;
  --on-dark-2: #a7b1bf;
  --on-dark-3: #808b9b;
  --line-dark: rgba(255, 255, 255, 0.1);

  --radius: 14px;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 18px 40px -18px rgba(15, 23, 42, 0.22);

  --font-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Type scale. Running text and labels use the first four sizes only. */
  --fs-xs: 0.8125rem;       /* 13 px: captions, chart labels, meta */
  --fs-sm: 0.9375rem;       /* 15 px: secondary text, navigation */
  --fs-md: 1.0625rem;       /* 17 px: body */
  --fs-lg: 1.25rem;         /* 20 px: lead text, card titles, product names */
  --fs-xl: 1.5rem;          /* 24 px: facts */
  --fs-h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --fs-h1: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  --fs-display: clamp(2rem, min(1.1rem + 4.4vw, 7.4vh), 4rem);  /* follows the smaller of window width and height */
  --fs-figure: clamp(2.1rem, 1.5rem + 2vw, 3rem);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* colours of the inline brand icons (see tools/build_icons.py) */
  --icon-surface: #ffffff;
  --icon-accent: var(--blue);
  --pname-accent: var(--blue);
}

/* ------------------------------------------------------------------ 2 base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.nav-open {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
}
address {
  font-style: normal;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--blue);
  color: #fff;
}

/* ------------------------------------------------------------------ 3 building blocks */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: calc(880px + 2 * var(--gutter));
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

.section {
  position: relative;
  padding-block: clamp(64px, 8vw, 120px);
}
.section--tint {
  background: var(--bg-tint);
}
.section--dark {
  background: var(--ink);
  color: var(--on-dark);
  --icon-surface: var(--ink);
  --pname-accent: var(--blue-400);
}
.section--dark :focus-visible {
  outline-color: var(--blue-300);
}
.section__head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

/* quiet section label above a heading */
.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue);
}
.section--dark .eyebrow {
  color: var(--blue-300);
}
.h1 {
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h1 strong,
.h2 strong {
  font-weight: 600;
}
.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--text-2);
}
.section--dark .lead {
  color: var(--on-dark-2);
}

.icon {
  flex: none;
  overflow: visible;
}
.arrow {
  flex: none;
  width: 1em;
  height: 1em;
  transition: transform 0.25s var(--ease);
}
a:hover > .arrow,
button:hover > .arrow,
a:hover > span > .arrow {
  transform: translateX(3px);
}

/* two-tone product name, as in the product logos */
.pname {
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pname b {
  font-weight: inherit;
  color: var(--pname-accent);
}
.pname__ns {
  font-weight: 400;
  opacity: 0.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.72em 1.3em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn--sm {
  padding: 0.55em 1.05em;
}
.btn--lg {
  padding: 0.9em 1.5em;
  font-size: var(--fs-md);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
}
.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}
.btn--quiet {
  color: inherit;
}
.btn--quiet:hover {
  background: rgba(127, 135, 148, 0.16);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section--dark .link {
  color: var(--blue-300);
}

/* chart legend: text in text colours, a small key carries the identity */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: var(--fs-xs);
  color: var(--text-2);
}
.legend--on-dark {
  color: var(--on-dark-2);
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.key {
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
}
.key--obs {
  background: var(--on-dark);
}
.key--fc {
  height: 3px;
  background: var(--blue-300);
}
.key--band {
  height: 10px;
  border-radius: 2px;
  background: rgba(26, 115, 232, 0.5);
}
.key--rain {
  width: 5px;
  height: 12px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.34);
}

/* ------------------------------------------------------------------ 4 header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: color 0.3s;
}
/* The frosted bar is a pseudo-element: a backdrop filter on the header itself
   would trap the full-screen mobile menu inside the header box. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  opacity: 0;
  transition: opacity 0.3s;
}
.site-header.is-solid,
.site-header.is-scrolled {
  color: var(--text);
}
.site-header.is-solid::before,
.site-header.is-scrolled::before {
  opacity: 1;
}
.site-header.is-open {
  color: #fff;
}
.site-header.is-open::before {
  border-bottom-color: transparent;
  background: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 1;
}
/* Without the script the bar cannot change colour, so it scrolls away with the page.
   "js-stalled" is set by the inline script in the page head when site.js did not start. */
.no-js .site-header,
.js-stalled .site-header {
  position: absolute;
}
.no-js .nav-toggle {
  display: none !important;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.brand {
  flex: none;
  display: block;
}
/* both wordmarks (white on dark, black on light) are trimmed to their drawing on the same
   canvas, so they have exactly the same size and place */
.brand__logo {
  width: auto;
  height: 40px;
}
.brand__logo--on-light,
.site-header.is-solid .brand__logo--on-dark,
.site-header.is-scrolled .brand__logo--on-dark {
  display: none;
}
.site-header.is-solid .brand__logo--on-light,
.site-header.is-scrolled .brand__logo--on-light {
  display: block;
}
.site-header.is-open .brand__logo--on-dark {
  display: block;
}
.site-header.is-open .brand__logo--on-light {
  display: none;
}

.site-nav {
  margin-inline: auto;
}
.site-nav__list {
  display: flex;
  gap: 2px;
}
.site-nav__item {
  position: relative;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 0.2s, background-color 0.2s;
}
.site-nav__link:hover,
.site-nav__link.is-current,
.has-sub:focus-within > .site-nav__link {
  opacity: 1;
  background: rgba(127, 135, 148, 0.16);
}
.chev {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}
.has-sub:hover .chev,
.has-sub:focus-within .chev {
  transform: rotate(180deg);
}
.subnav {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  width: 400px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  --icon-surface: #fff;
  --pname-accent: var(--blue);
}
.subnav::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto 0;
  height: 14px;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: none;
}
/* set by the script after a click in the menu, until the pointer leaves */
.has-sub.is-collapsed .subnav {
  opacity: 0;
  visibility: hidden;
}
.subnav__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.subnav__item:hover {
  background: var(--bg-tint);
}
.subnav__item--dash {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
}
.subnav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}
.subnav__icon .icon {
  width: auto;
  height: 40px;
  max-width: 44px;
}
.subnav__name {
  display: block;
  font-size: var(--fs-md);
  line-height: 1.3;
}
.subnav__note {
  display: block;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--text-3);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Switch to the pixel design with the checkerboard icon at every screen size. */
.viewswitch {
  gap: 8px;
}
.viewswitch__icon {
  flex: none;
  width: 13px;
  height: 13px;
  shape-rendering: crispEdges;
}
@media (max-width: 1279px) {
  .viewswitch {
    padding-inline: 0.75em;
  }
  .viewswitch__label {
    display: none;
  }
}
@media (max-width: 640px) {
  .viewswitch {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
}
.lang {
  display: flex;
  align-items: center;
  margin-right: 4px;
  font-size: var(--fs-xs);
  font-weight: 500;
}
/* Language choice remains available in the mobile menu. */
.lang--mobile {
  gap: 8px;
  margin: 20px 0 0;
  font-size: var(--fs-sm);
}
.lang--mobile .lang__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.lang__item {
  padding: 4px 6px;
  border-radius: 6px;
  text-decoration: none;
  opacity: 0.55;
}
.lang__item + .lang__item {
  position: relative;
  margin-left: 6px;
}
.lang__item + .lang__item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 25%;
  width: 1px;
  height: 50%;
  background: currentColor;
  opacity: 0.4;
}
.lang__item.is-active {
  opacity: 1;
}
a.lang__item:hover {
  opacity: 1;
}
.lang__item.is-disabled {
  opacity: 0.32;
  cursor: default;
}
.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(127, 135, 148, 0.4);
  border-radius: 999px;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav-toggle__bar {
  position: absolute;
  left: 13px;
  right: 13px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav-toggle__bar:first-child {
  transform: translateY(-4px);
}
.nav-toggle__bar:last-child {
  transform: translateY(4px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  overflow: auto;
  padding-block: 20px 56px;
  background: var(--ink);
  color: var(--on-dark);
  --icon-surface: var(--ink);
  --pname-accent: var(--blue-400);
}
.mobile-nav__inner {
  display: grid;
}
.mobile-nav__label {
  margin-bottom: 6px;
  font-size: var(--fs-xs);
  color: var(--on-dark-3);
}
.mobile-nav__product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-size: var(--fs-lg);
  text-decoration: none;
}
.mobile-nav__product .icon {
  width: 40px;
  height: 36px;
}
.mobile-nav hr {
  width: 100%;
  margin: 14px 0;
  border: 0;
  border-top: 1px solid var(--line-dark);
}
.mobile-nav__link {
  padding: 11px 0;
  font-size: var(--fs-lg);
  font-weight: 300;
  text-decoration: none;
}
.mobile-nav__link--quiet {
  margin-top: 10px;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--on-dark-2);
}

/* ------------------------------------------------------------------ 5 hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  /* exactly one window high (within limits), so the chart below the text is always in view */
  min-height: clamp(540px, 100vh, 940px);
  min-height: clamp(540px, 100svh, 940px);
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  --icon-surface: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__glow {
  position: absolute;
  right: -240px;
  top: -320px;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(closest-side, rgba(26, 115, 232, 0.26), rgba(26, 115, 232, 0));
}
.hero__drop {
  position: absolute;
  right: clamp(-60px, 5vw, 110px);
  top: 13%;
  height: 56%;
  aspect-ratio: 113 / 170;
  color: #fff;
  opacity: 0.1;
  --icon-accent: var(--blue-300);
}
.hero__drop .icon {
  width: 100%;
  height: 100%;
}
.hero__content {
  position: relative;
  padding-top: clamp(20px, 4.6vh, 96px);
}
.hero__title {
  max-width: 860px;
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__title strong {
  font-weight: 600;
  color: var(--blue-400);
}
.hero__lead {
  max-width: 720px;
  margin-top: clamp(12px, 2.6vh, 24px);
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--on-dark-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(16px, 3.6vh, 34px);
}
.hero__chart {
  position: relative;
  flex: 1 1 150px;
  min-height: 150px;
  margin-top: clamp(16px, 4vh, 64px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hc-grid line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}
.hc-grid .hc-base {
  stroke: rgba(255, 255, 255, 0.2);
}
.hc-rain {
  fill: rgba(255, 255, 255, 0.3);
}
.hc-rain--fc {
  fill: rgba(110, 166, 255, 0.5);
}
.hc-band {
  fill: rgba(26, 115, 232, 0.26);
}
.hc-band--outer {
  fill: rgba(26, 115, 232, 0.17);
}
.hc-area {
  fill: rgba(255, 255, 255, 0.05);
}
.hc-obs,
.hc-fc {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hc-obs {
  stroke: var(--on-dark);
  stroke-width: 2;
}
.hc-fc {
  stroke: var(--blue-300);
  stroke-width: 2.5;
}
.hc-now {
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hc-node {
  fill: var(--ink);
  stroke: var(--blue-300);
  stroke-width: 2.5;
}
.hc-halo {
  fill: none;
  stroke: var(--blue-300);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.hc-tick {
  font-family: var(--font-sans);
  font-size: 12px;
  fill: var(--on-dark-3);
}
.hc-tick--now {
  font-weight: 600;
  fill: var(--on-dark);
}
.hero__legend {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 8px 16px;
}

/* ------------------------------------------------------------------ 6 proof */
.proof {
  padding-block: clamp(36px, 4.5vw, 52px);
}
.clients__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(26px, 3.6vw, 52px);
}
.clients__list[aria-hidden="true"] {
  display: none;
}
.clients__item img {
  width: auto;
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.66;
  transition: filter 0.3s, opacity 0.3s;
}
.clients__item img:hover {
  filter: none;
  opacity: 1;
}
/* while a number counts up, equal digit widths keep the unit from jittering */


/* ------------------------------------------------------------------ 7 product spectrum */
.spectrum__panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.spectrum__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding: 26px 28px 24px;
  text-decoration: none;
}
.pcard + .pcard {
  border-left: 1px solid var(--line);
}
/* tinted veil of the highlighted column; it continues in the chart below */
.pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 115, 232, 0), rgba(26, 115, 232, 0.1));
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.pcard > * {
  position: relative;
}
.pcard__zone {
  font-size: var(--fs-sm);
  color: var(--text-3);
  transition: color 0.5s;
}
.pcard__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pcard__icon .icon {
  width: auto;
  height: 40px;
}
.pcard__name {
  font-size: var(--fs-lg);
  line-height: 1.2;
}
.pcard__text {
  flex: 1 1 auto;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-2);
}
.pcard__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  color: var(--blue);
}
.spectrum__chart {
  position: relative;
}
.spectrum__chart svg {
  width: 100%;
  height: auto;
}
.sp-area {
  fill: rgba(15, 19, 25, 0.04);
}
.sp-curve {
  fill: none;
  stroke: var(--text);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.sp-curve--hl {
  stroke: var(--blue);
  stroke-width: 4;
  opacity: 0;
  transition: opacity 0.5s;
}
.sp-tint {
  opacity: 0;
  transition: opacity 0.5s;
}
.sp-sep,
.sp-axis {
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.sp-axis {
  stroke: var(--line-2);
}
.sp-threshold {
  stroke: var(--text-3);
  stroke-width: 1.5;
  stroke-dasharray: 7 6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.75;
}
.sp-trace {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.5s;
}
.sp-node {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 3.5;
  vector-effect: non-scaling-stroke;
  transition: fill 0.5s;
}
.sp-hit {
  fill: transparent;
  cursor: pointer;
}
.spectrum__axis {
  position: absolute;
  inset: auto 0 0 0;
  height: 16.666%;
  font-size: var(--fs-xs);
  color: var(--text-3);
  pointer-events: none;
}
.spectrum__axis span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.spectrum__axis-title {
  display: none;
}
.spectrum__axis span:nth-child(2) {
  left: 28px;
}
.spectrum__axis span:nth-child(3) {
  left: calc(33.333% + 28px);
}
.spectrum__axis span:nth-child(4) {
  left: calc(66.666% + 28px);
}
.spectrum__axis span:nth-child(5) {
  right: 28px;
}
.pcard:hover::before,
.spectrum[data-active="rapidflood"] .pcard[data-zone="rapidflood"]::before,
.spectrum[data-active="hydroai"] .pcard[data-zone="hydroai"]::before,
.spectrum[data-active="droughtcast"] .pcard[data-zone="droughtcast"]::before,
.spectrum[data-active="rapidflood"] [data-zone="rapidflood"].sp-curve--hl,
.spectrum[data-active="hydroai"] [data-zone="hydroai"].sp-curve--hl,
.spectrum[data-active="droughtcast"] [data-zone="droughtcast"].sp-curve--hl,
.spectrum[data-active="rapidflood"] [data-zone="rapidflood"].sp-tint,
.spectrum[data-active="hydroai"] [data-zone="hydroai"].sp-tint,
.spectrum[data-active="droughtcast"] [data-zone="droughtcast"].sp-tint {
  opacity: 1;
}
.spectrum[data-active="rapidflood"] [data-zone="rapidflood"].sp-trace,
.spectrum[data-active="hydroai"] [data-zone="hydroai"].sp-trace,
.spectrum[data-active="droughtcast"] [data-zone="droughtcast"].sp-trace {
  stroke: var(--blue);
}
.spectrum[data-active="rapidflood"] [data-zone="rapidflood"].sp-node,
.spectrum[data-active="hydroai"] [data-zone="hydroai"].sp-node,
.spectrum[data-active="droughtcast"] [data-zone="droughtcast"].sp-node {
  fill: var(--blue);
}
.spectrum[data-active="rapidflood"] .pcard[data-zone="rapidflood"] .pcard__zone,
.spectrum[data-active="hydroai"] .pcard[data-zone="hydroai"] .pcard__zone,
.spectrum[data-active="droughtcast"] .pcard[data-zone="droughtcast"] .pcard__zone {
  color: var(--blue);
}
.dashbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: 16px;
  padding: 16px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
  --icon-surface: var(--ink);
  --pname-accent: var(--blue-400);
}
.dashbar__mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-lg);
}
.dashbar__mark .icon {
  width: auto;
  height: 32px;
}
.dashbar__text {
  flex: 1 1 320px;
  font-size: var(--fs-sm);
  color: var(--on-dark-2);
}
.dashbar__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ 8 product sections */
.product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.product--flip .product__copy {
  order: 2;
}
/* icon and product name on one line */
.product__mark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 20px;
  font-size: var(--fs-lg);
  line-height: 1.25;
}
.product__icon .icon {
  width: auto;
  height: 36px;
}
.product__flag {
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.product .h2,
.dashboard .h2 {
  margin-bottom: 18px;
}
/* product descriptions run in body size; only section introductions use the larger lead */
.product .lead,
.dashboard .lead {
  font-size: var(--fs-md);
  line-height: 1.65;
}
.features {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.feature {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}
.feature__node {
  width: 12px;
  height: 12px;
  margin-top: 0.42em;
  border: 2.5px solid var(--blue);
  border-radius: 50%;
}
.section--dark .feature__node {
  border-color: var(--blue-300);
}
.feature__title {
  display: block;
  font-weight: 600;
  line-height: 1.4;
}
.feature__text {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-2);
}
.section--dark .feature__text {
  color: var(--on-dark-2);
}
.product__below {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 34px clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.section--tint .product__below {
  border-top-color: var(--line-2);
}
/* stat tiles: value, label and note; they wrap instead of squeezing the value */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
}
.fact {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  min-width: min-content;
}
.fact__value {
  order: 1;
  font-size: var(--fs-xl);
  font-weight: 600;
  font-variant-numeric: proportional-nums;
  line-height: 1.15;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.fact__label {
  order: 2;
  margin-top: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
}
.fact__note {
  order: 3;
  margin-top: 2px;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--text-3);
}
.reflist {
  border-top: 1px solid var(--line);
}
.reflist__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.section--tint .reflist,
.section--tint .reflist__item {
  border-color: var(--line-2);
}
.reflist__text {
  grid-column: 1;
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.reflist__client {
  grid-column: 1;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--text-3);
}
.reflist__link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--blue);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.reflist__link:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.reflist__link .arrow {
  width: 15px;
  height: 15px;
}
.subproduct {
  margin-top: clamp(36px, 4.5vw, 56px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  scroll-margin-top: 16px;
}
.section--tint .subproduct {
  background: #fff;
}
.subproduct__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.subproduct__icon .icon {
  width: auto;
  height: 40px;
}
.subproduct__lead {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue);
}
.subproduct__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.25;
}
.subproduct__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
}
.subproduct__body > p {
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.ticks {
  display: grid;
  gap: 9px;
}
.ticks li {
  position: relative;
  padding-left: 25px;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 12px;
  height: 12px;
  border: 2.5px solid var(--blue);
  border-radius: 50%;
}
.subproduct__ref {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.subproduct__ref .link {
  justify-self: start;
  margin-top: 6px;
}
.pilot {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.pilot__node {
  width: 12px;
  height: 12px;
  margin-top: 0.36em;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.18);
}

/* ------------------------------------------------------------------ 9 illustrations */
.viz {
  min-width: 0;
}
.viz__stage {
  position: relative;
  aspect-ratio: 560 / 440;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 88% 0%, rgba(26, 115, 232, 0.3), transparent 56%),
    linear-gradient(180deg, #121923, #0a0d13);
  box-shadow: 0 34px 60px -34px rgba(10, 13, 19, 0.6), 0 2px 6px rgba(10, 13, 19, 0.16);
  color: var(--on-dark);
  --panel: #0d1219;
}
.viz__stage--wide {
  aspect-ratio: 2 / 1;
}
.viz__stage > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.viz__label {
  position: absolute;
  z-index: 2;
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--on-dark-2);
  pointer-events: none;
}
.viz__label--right {
  text-align: right;
}

.viz__label--accent {
  color: var(--blue-200);
}
.viz__label--dim {
  color: var(--on-dark-3);
}
.viz__label--inwater {
  color: #fff;
}
.viz-ring {
  fill: var(--panel);
  stroke: var(--blue-300);
  stroke-width: 2.5;
}
.viz-dot {
  fill: var(--blue-300);
}
.viz-halo {
  fill: none;
  stroke: var(--blue-300);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.viz-frame {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}
.viz-axis {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
}
.viz-obs,
.viz-fc {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.viz-obs {
  stroke: var(--on-dark);
  stroke-width: 2;
}
.viz-fc {
  stroke: var(--blue-300);
  stroke-width: 2.5;
}
.viz-now {
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 1;
}

/* hydroAI: rain field on the model grid, river network, forecast at the outlet */
.ha-cell {
  fill: var(--blue);
  fill-opacity: calc(var(--a) * 0.45);
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}
.ha-basin {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 1.5;
}
.ha-bed,
.ha-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ha-bed {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 2;
}
.ha-flow {
  stroke: #fff;
  stroke-width: 2.6;
  stroke-dasharray: 1 12;
}
.ha-link {
  fill: none;
  stroke: var(--blue-300);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
}
.ha-band {
  fill: rgba(26, 115, 232, 0.3);
}
/* pathLength is 1: the dash covers the whole line, the gap hides it while it is drawn */
.ha-fc,
.dc-fc {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0;
}

/* Consulting: an engineering drawing whose water level continues as a time series
   over a data grid (grid, link and series reuse the hydroAI styles) */
.cs-axis {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
  stroke-dasharray: 10 4 2 4;
}
.cs-water {
  fill: var(--blue);
  fill-opacity: 0.85;
}
.cs-surface {
  stroke: var(--blue-200);
  stroke-width: 2;
}
.cs-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.cs-ground {
  fill: none;
  stroke: rgba(255, 255, 255, 0.62);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.cs-hatch {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.cs-dim {
  fill: none;
  stroke: var(--blue-300);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.cs-arrow {
  fill: var(--blue-300);
}
.cs-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-style: italic;
  fill: var(--on-dark-2);
}

/* RapidFlood: channel cross-section, rising level, forecast and warning */
.rf-rain {
  opacity: 0;
}
.rf-rain line {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 10 26;
}
.rf-mast {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rf-ping path {
  fill: none;
  stroke: var(--blue-300);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.8;
}
.rf-staff {
  fill: rgba(255, 255, 255, 0.12);
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1;
}
.rf-staff-ticks {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.5;
}
.rf-water {
  fill: var(--blue);
  fill-opacity: 0.9;
}
.rf-surface {
  fill: none;
  stroke: var(--blue-200);
  stroke-width: 2;
}
.rf-ground {
  fill: #161d27;
}
.rf-bank {
  fill: none;
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 2;
  stroke-linejoin: round;
}
.rf-threshold {
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 10 8;
  stroke-linecap: round;
  opacity: 0.92;
}
/* still image: the forecast already lies above the warning threshold */
.rf-forecast {
  transform: translateY(-96px);
}
.rf-forecast line {
  stroke: var(--blue-200);
  stroke-width: 2;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}
.rf-forecast circle {
  fill: var(--panel);
  stroke: var(--blue-200);
  stroke-width: 2;
}
/* full-size wrappers so that the labels move by the same share of the stage as the drawing */
.rf-follow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rf-follow--forecast {
  transform: translateY(-21.82%);
}
.viz__alert {
  position: absolute;
  right: 5%;
  top: 6%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 62%;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  color: var(--text);
  font-size: var(--fs-xs);
  line-height: 1.3;
}
.viz__alert strong {
  display: block;
  font-size: var(--fs-sm);
}
.viz__alert span span {
  color: var(--text-2);
}
.viz__alert-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 700;
}

/* DroughtCast: the meteorology as a layer above the soil water model (a block of grid cells
   whose sides are the two soil layers with their water store), a satellite pass, soil water
   over time and the level of measures. The values below are the still picture: rain on the
   left, the satellite half way across, evaporation on the right, the forecast drawn in full,
   level 2 of 5. */
/* the lettering has its places here, because some of it moves on small screens */
.dc-label-satellite {
  left: 4.3%;
  top: 3.2%;
}
.dc-label-meteo {
  left: 4.3%;
  top: 19%;
}
.dc-label-model {
  left: 4.3%;
  top: 44%;
}
.dc-label-store {
  left: 4.3%;
  top: 60.4%;
}
.dc-label-now {
  left: 34.4%;
  top: 85%;
}
.dc-label-end {
  right: 12.5%;
  top: 85%;
}
.dc-label-low {
  left: 42.1%;
  top: 94%;
}
.dc-label-high {
  right: 12.5%;
  top: 94%;
}
/* ends a little before the first step, whatever the width of the picture */
.dc-label-measures {
  right: 59.6%;
  top: 91.25%;
  transform: translateY(-50%);
}
.dc-orbit {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}
.dc-pass,
.dc-scan {
  transform: translateX(121px);
}
.dc-probe {
  stroke: var(--blue-300);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}
.dc-sat-body {
  fill: var(--panel);
  stroke: #e9eef5;
  stroke-width: 1.5;
}
.dc-sat-panel {
  fill: rgba(74, 147, 255, 0.5);
  stroke: var(--blue-300);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.dc-sat-line {
  fill: none;
  stroke: #e9eef5;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dc-sat-eye {
  fill: var(--blue-300);
}
.dc-plane {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.5;
}
/* the meteorology: a layer on the same grid; a cell lights up while the rain field is over it.
   --a is the rain of the cell, --s its share in the still picture (rain in columns 1 to 4). */
.dc-plane--meteo {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.26);
}
.dc-meteogrid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}
.dc-rain {
  fill: var(--blue-200);
  fill-opacity: calc(var(--a) * var(--s));
}
/* rain between the two layers, below the rain field */
.dc-rainfall {
  transform: translateX(10px);
}
.dc-drop {
  stroke: var(--blue-200);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
  opacity: 0.85;
}
/* evaporation; the still picture shows it on the right half only */
.dc-evap {
  fill: none;
  stroke: rgba(255, 255, 255, 0.62);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dc-evap--a {
  opacity: 0;
}
.dc-evap__line {
  stroke-dasharray: 2 5;
}
.dc-posts {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
/* what the satellite measures: every cell with its own value */
.dc-seenbg {
  fill: var(--panel);
}
.dc-cell {
  fill: var(--blue-400);
  fill-opacity: var(--m);
}
/* the model's own picture of the soil moisture, smooth and without detail, covers the measured
   one. The cover is a line as thick as the map is deep with a single dash (pathLength is 1);
   moving the dash uncovers the map from the left. In the still picture 48 % are uncovered. */
.dc-cover {
  fill: none;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0.48;
}
.dc-cover--base {
  stroke: var(--panel);
}
/* the water the rain adds during the forecast: a third line of the same kind over the map.
   Its dash lies at 3 to 4 while it grows from the left behind the rain; at 3 nothing of it
   is seen. */
.dc-wet {
  fill: none;
  stroke: var(--blue-400);
  stroke-opacity: 0.22;
  stroke-dasharray: 1 3;
  stroke-dashoffset: 3;
}
.dc-grid {
  fill: none;
  stroke: var(--panel);
  stroke-width: 2;
}
.dc-grid--edge {
  stroke-width: 1;
}
.dc-scan {
  stroke: #dbe8ff;
  stroke-width: 2.5;
  stroke-linecap: round;
}
/* the sides of the block: grid cells again, with the water store of the two soil layers */
.dc-block {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.dc-sidegrid {
  fill: none;
  stroke: var(--panel);
  stroke-width: 1.5;
}
.dc-store {
  fill: var(--blue);
}
.dc-store--upper {
  fill-opacity: 0.85;
  transform: translateY(4px);
}
.dc-store--lower {
  fill-opacity: 0.55;
  transform: translateY(3px);
}
.dc-ticks {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1.5;
}
/* the range of the forecast: a bar behind a cut-out of its shape; moved 280 units to the right
   it fills the whole range */
.dc-band {
  fill: rgba(26, 115, 232, 0.3);
  transform: translateX(280px);
}
.dc-newhalo {
  opacity: 0;
}
.dc-playhead {
  fill: var(--panel);
  stroke: var(--blue-300);
  stroke-width: 2.5;
}
/* one hue, brighter with rising severity; the still picture shows level 2 of 5 */
.dc-step {
  opacity: 0.2;
}
.dc-step--1 {
  fill: #2f5596;
  opacity: 1;
}
.dc-step--2 {
  fill: #2f68c8;
  opacity: 1;
}
.dc-step--3 {
  fill: #3f89f4;
}
.dc-step--4 {
  fill: #74aaff;
}
.dc-step--5 {
  fill: #bcd6ff;
}

/* ------------------------------------------------------------------ 10 dashboard */
.dashboard {
  overflow: hidden;
}
.dashboard__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 45% at 82% 18%, rgba(26, 115, 232, 0.22), transparent 70%);
  pointer-events: none;
}
.dashboard__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.dashboard__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
/* the screenshot may grow into the free space right of the text column, never off screen */
.browser {
  overflow: hidden;
  margin-right: calc(-1 * clamp(0px, (100vw - var(--container) - 2 * var(--gutter)) / 2, 90px));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: #141a23;
  box-shadow: 0 44px 90px -34px rgba(0, 0, 0, 0.85);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.browser__dots {
  display: flex;
  gap: 6px;
}
.browser__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.browser__url {
  flex: 0 1 300px;
  margin-inline: auto;
  padding: 3px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: var(--fs-xs);
  text-align: center;
  color: var(--on-dark-2);
}
.browser__shot {
  width: 100%;
}
.browser__caption {
  padding: 9px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-xs);
  color: var(--on-dark-3);
}

/* ------------------------------------------------------------------ 11 consulting */
.consulting__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.consulting__head .section__head {
  margin-bottom: 0;
}
.consulting__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.cgroup {
  padding: 24px 24px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.cgroup__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cgroup__icon .icon {
  width: auto;
  height: 64px;
}
.cgroup__title {
  font-size: var(--fs-lg);
  font-weight: 600;
}
.acc {
  border-top: 1px solid var(--line);
}
.acc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.acc__summary::-webkit-details-marker {
  display: none;
}
.acc__summary:hover {
  color: var(--blue);
}
.acc__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.3s var(--ease);
}
.acc__icon::after {
  transform: rotate(90deg);
}
.acc[open] > .acc__summary .acc__icon::after {
  transform: rotate(0deg);
}
.acc__body {
  padding-bottom: 18px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-2);
}
.acc__body p + p,
.acc__body p + ul,
.acc__body ul + p {
  margin-top: 12px;
}
.acc__body ul {
  display: grid;
  gap: 7px;
}
.acc__body li {
  position: relative;
  padding-left: 20px;
}
.acc__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}
.acc__body a {
  color: var(--blue);
}
.acc--plain .acc__summary {
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 0;
  font-size: var(--fs-sm);
  color: var(--blue);
}

/* ------------------------------------------------------------------ 12 references on the home page, news */
/* two rows of four cards: projects, then publications */
.refrow + .refrow {
  margin-top: clamp(40px, 5vw, 64px);
}
.refrow__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 32px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.refrow__title {
  font-size: var(--fs-lg);
  font-weight: 600;
}
.refcards,
.pubs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.refcard,
.pub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.3s;
}
.refcard:hover,
.pub:hover {
  border-color: var(--blue);
}
/* client logo: grey until the card is pointed at, as in the logo strip */
.refcard__logo {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 6px;
}
/* box of 116 x 44 px: wide word marks are limited by the width, compact and
   multi-line logos by the height, so that all of them carry similar weight */
.refcard__logo img {
  width: auto;
  height: auto;
  max-width: 116px;
  max-height: 44px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}
.refcard:hover .refcard__logo img,
.refcard:focus-visible .refcard__logo img {
  filter: none;
  opacity: 1;
}
.refcard__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-3);
}
.refcard__tag .icon {
  width: auto;
  height: 20px;
}
.refcard__tag .pname {
  color: var(--text);
}
.refcard__title {
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.35;
}
.refcard__text {
  flex: 1 1 auto;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-2);
}
.pub__venue {
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--text-3);
}
.pub__title {
  flex: 1 1 auto;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.45;
}
.pub__authors {
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--text-3);
}
.pub__authors strong {
  font-weight: 600;
  color: var(--text-2);
}
.refcard__more,
.pub__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  color: var(--blue);
}
.news__more {
  margin-top: 26px;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.newscard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.newscard__date {
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.newscard__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
}
.newscard__text {
  flex: 1 1 auto;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-2);
}

/* ------------------------------------------------------------------ 13 about us */
.about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.about__intro .section__head {
  margin-bottom: 0;
}
.about__cards {
  display: grid;
  gap: 16px;
}
.about__card {
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--bg-tint);
}
.about__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue);
}
.about__mission {
  margin-top: 8px;
  font-size: var(--fs-lg);
  line-height: 1.45;
}
.about__card--seal {
  display: flex;
  align-items: center;
  gap: 20px;
}
.about__card--seal img {
  flex: none;
  width: 64px;
  height: 64px;
}
.about__card--seal strong {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}
.about__card--seal span {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-2);
}
/* team and advisory board side by side, all portraits in one size */
.people {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px 48px;
}
.people__title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-3);
}
.members {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 20px;
}
.member {
  flex: 0 1 200px;
  min-width: 0;
}
.member__photo {
  width: 96px;
  aspect-ratio: 5 / 6;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(1);
}
.member__name {
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.35;
}
.member__focus {
  margin-top: 4px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-2);
}
.member__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin-top: 8px;
  font-size: var(--fs-xs);
}
.member__links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.member__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ 14 contact */
.contact {
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 12% 100%, rgba(26, 115, 232, 0.3), transparent 70%);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact__copy {
  display: grid;
  gap: 20px;
  align-content: start;
}
.contact__address {
  margin-top: 10px;
  line-height: 1.7;
  color: var(--on-dark-2);
}
.contact__address strong {
  color: #fff;
}
.contact__mail {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: var(--fs-lg);
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.contact__mail:hover {
  border-color: var(--blue-300);
  color: var(--blue-200);
}
.form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}
.form__title {
  font-size: var(--fs-lg);
  font-weight: 600;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--on-dark-2);
}
.field__label abbr {
  text-decoration: none;
  color: var(--blue-300);
}
.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: var(--fs-md);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field__input:focus {
  outline: none;
  border-color: var(--blue-300);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(110, 166, 255, 0.25);
}
.field__input--area {
  min-height: 130px;
  resize: vertical;
}
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--on-dark-2);
}
.check input {
  width: 18px;
  height: 18px;
  margin: 0.2em 0 0;
  accent-color: var(--blue);
}
.check a {
  color: var(--blue-200);
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.form__note {
  flex: 1 1 200px;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--on-dark-3);
}
.form__status {
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.form__status:empty {
  display: none;
}
.form__status.is-success {
  color: var(--blue-200);
}
.form__status.is-error {
  font-weight: 600;
  color: #fff;
}

/* ------------------------------------------------------------------ 15 footer */
.site-footer {
  padding-top: clamp(44px, 5vw, 64px);
  background: #06080c;
  color: var(--on-dark-2);
  font-size: var(--fs-sm);
  --pname-accent: var(--blue-400);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 36px 32px;
  padding-bottom: 44px;
}
.site-footer__logo {
  width: auto;
  height: 45px;
}
.site-footer__claim {
  margin-top: 16px;
  color: var(--on-dark-2);
}
.site-footer__col {
  display: grid;
  gap: 9px;
  align-content: start;
}
.site-footer__title {
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--on-dark);
}
.site-footer__col a {
  justify-self: start;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__col a:hover,
.site-footer__top:hover {
  color: #fff;
}
.site-footer__col .pname {
  font-weight: 600;
}
/* "baseflow:" of the dashboard reads like the first half of the other product names */
.site-footer__col .pname__ns {
  font-weight: inherit;
  opacity: 1;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  color: var(--on-dark-3);
}
.site-footer__top {
  text-decoration: none;
}

/* ------------------------------------------------------------------ 16 references and legal pages */
.pagehead {
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(28px, 4vw, 48px);
}
.pagehead .h1 {
  margin-top: 18px;
}
.pagehead .lead {
  max-width: 720px;
  margin-top: 20px;
}
.pagehead__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 38px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.tab span {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-3);
}
.tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 360px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-3);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
.search svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font-size: var(--fs-sm);
}
.refsection {
  padding-block: clamp(48px, 6vw, 88px);
}
.refsection + .refsection:not(.section--tint) {
  border-top: 1px solid var(--line);
}
.refsection__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}
.refsection__count {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-3);
}
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.project {
  padding: 24px 26px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  scroll-margin-top: 16px;
}
.project:target {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
.project__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
}
.project__title {
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.35;
}
.project__client {
  margin-top: 6px;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-3);
}
.project__logo img {
  width: auto;
  height: 40px;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}
.project__logo:hover img {
  filter: none;
  opacity: 1;
}
.project__quote {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
}
.project__quote blockquote {
  font-style: italic;
  color: var(--text);
}
.project__quote figcaption {
  margin-top: 8px;
  font-size: var(--fs-sm);
  color: var(--text-3);
}
.lit__item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.lit__year {
  padding-top: 3px;
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.lit__title {
  font-weight: 600;
  line-height: 1.4;
}
.lit__title a {
  text-decoration: none;
  transition: color 0.2s;
}
.lit__title a:hover {
  color: var(--blue);
}
.lit__authors {
  margin-top: 5px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-2);
}
.lit__authors strong {
  font-weight: 600;
  color: var(--text);
}
.lit__venue {
  margin-top: 3px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-3);
}
.lit__venue a {
  color: var(--blue);
}
.lit__note {
  font-style: italic;
}
.lit__empty {
  padding: 24px 0;
  color: var(--text-3);
}
.prose-page {
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(64px, 8vw, 120px);
}
.prose {
  overflow-wrap: break-word;
}
.prose h1 {
  margin-bottom: 30px;
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.prose h2 {
  margin: 44px 0 12px;
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
}
.prose h3 {
  margin: 30px 0 8px;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.35;
}
.prose p {
  margin-top: 12px;
  color: var(--text-2);
}
.prose p strong {
  color: var(--text);
}
.prose ul,
.prose ol {
  margin-top: 10px;
  padding-left: 22px;
  color: var(--text-2);
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 4px;
}
.prose a {
  color: var(--blue);
}
.prose .prose-page__back {
  margin-top: 52px;
}

/* ------------------------------------------------------------------ 17 motion */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible,
.js-stalled .reveal {
  opacity: 1;
  transform: none;
}

/* All animation lives in this block. Visitors who ask for reduced motion get
   the still images defined above. */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    animation: rise 0.9s var(--ease) both;
  }
  .hero__content > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero__content > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero__content > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero__chart {
    animation: fade 1.4s 0.3s ease both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
  }
  @keyframes fade {
    from {
      opacity: 0;
    }
  }

  .hc-halo,
  .viz-halo {
    animation: halo 2.4s ease-out infinite;
  }
  @keyframes halo {
    0% {
      opacity: 0.8;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(2.8);
    }
  }
  .pilot__node {
    animation: pulse 2.4s ease-out infinite;
  }
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.45);
    }
    100% {
      box-shadow: 0 0 0 12px rgba(26, 115, 232, 0);
    }
  }

  /* Logo band: both copies of the list move left by one list width, so the second
     copy arrives exactly where the first one started. It rests while pointed at. */
  .clients__track {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .clients__list,
  .clients__list[aria-hidden="true"] {
    display: flex;
    flex: none;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 0;
    min-width: 100%;
    animation: clients-slide 60s linear infinite;
  }
  .clients__item {
    padding-inline: clamp(18px, 2.2vw, 32px);
  }
  .clients:hover .clients__list {
    animation-play-state: paused;
  }
  @keyframes clients-slide {
    to {
      transform: translateX(-100%);
    }
  }

  /* illustrations only run while they are on screen (class set by the script) */
  .js [data-viz]:not(.is-inview) * {
    animation-play-state: paused !important;
  }
  .js.js-stalled [data-viz]:not(.is-inview) * {
    animation-play-state: running !important;
  }

  /* Consulting, KI & Data Science (as on the old site): the chart line is drawn, the three
     dots appear one after the other, then the question mark; everything holds and starts
     again. The line and the dots are drawn with one long dash that the offset pushes in. */
  .ico-chart {
    stroke-dasharray: 150;
    animation: ico-chart 4s linear infinite;
  }
  @keyframes ico-chart {
    from {
      stroke-dashoffset: 200;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  .ico-dot {
    stroke-dasharray: 44;
    animation: ico-dot 4s linear infinite;
  }
  .ico-dot--1 {
    animation-delay: -0.1s;
  }
  .ico-dot--2 {
    animation-delay: -0.05s;
  }
  .ico-dot--3 {
    animation-delay: 0s;
  }
  @keyframes ico-dot {
    from {
      stroke-dashoffset: 88;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  .ico-ask {
    animation: ico-ask 4s linear infinite;
    animation-delay: -0.8s;
  }
  @keyframes ico-ask {
    0%,
    23% {
      opacity: 1;
    }
    24%,
    73% {
      opacity: 0;
    }
    74%,
    100% {
      opacity: 1;
    }
  }
  /* Consulting, Engineering: rain falls from the cloud. The dashes run down the lines; one
     round moves them by a whole number of dash periods, so the loop has no jump. */
  .ico-rain {
    stroke-dasharray: 2;
    animation: ico-rain-20 2.2s linear infinite;
  }
  .ico-rain--2,
  .ico-rain--4 {
    stroke-dasharray: 3;
    animation-name: ico-rain-30;
    animation-duration: 2.6s;
  }
  .ico-rain--3 {
    animation-duration: 2s;
  }
  .ico-rain--1 {
    animation-delay: 0s;
  }
  .ico-rain--2 {
    animation-delay: -0.6s;
  }
  .ico-rain--3 {
    animation-delay: -0.2s;
  }
  .ico-rain--4 {
    animation-delay: -0.8s;
  }
  .ico-rain--5 {
    animation-delay: -0.4s;
  }
  @keyframes ico-rain-20 {
    from {
      stroke-dashoffset: 20;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes ico-rain-30 {
    from {
      stroke-dashoffset: 30;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  /* Consulting: the exhaust trails of the rocket stream away from it, as on the old site.
     Each trail becomes a dashed line whose dashes run along it, towards its start (the end
     away from the rocket). The distance of one round is a whole number of dash periods, so
     the loop has no jump. Without motion the trails stay solid lines, as drawn. */
  .ico-trail {
    animation: ico-trail-32 2s linear infinite;
  }
  .ico-trail--1 {
    stroke-dasharray: 3;
    animation-name: ico-trail-48;
  }
  .ico-trail--2,
  .ico-trail--3 {
    stroke-dasharray: 4;
  }
  .ico-trail--4,
  .ico-trail--5 {
    stroke-dasharray: 2;
  }
  .ico-trail--2 {
    animation-delay: -0.9s;
  }
  .ico-trail--3 {
    animation-delay: -1.2s;
  }
  .ico-trail--4 {
    animation-delay: -0.3s;
  }
  .ico-trail--5 {
    animation-delay: -0.6s;
  }
  @keyframes ico-trail-48 {
    from {
      stroke-dashoffset: 0;
    }
    to {
      stroke-dashoffset: 48;
    }
  }
  @keyframes ico-trail-32 {
    from {
      stroke-dashoffset: 0;
    }
    to {
      stroke-dashoffset: 32;
    }
  }

  /* hydroAI: one rain front takes 7.5 s */
  .ha-cell {
    animation: ha-rain 7.5s linear infinite;
    animation-delay: calc(var(--c) * 0.27s + var(--r) * 0.13s - 7.5s);
  }
  @keyframes ha-rain {
    0%,
    36%,
    100% {
      fill-opacity: 0.05;
    }
    13% {
      fill-opacity: var(--a);
    }
    24% {
      fill-opacity: calc(var(--a) * 0.45);
    }
  }
  .ha-flow {
    animation: ha-flow 1.3s linear infinite;
  }
  @keyframes ha-flow {
    to {
      stroke-dashoffset: -26;
    }
  }
  .ha-link {
    animation: ha-link 1s linear infinite;
  }
  @keyframes ha-link {
    to {
      stroke-dashoffset: -16;
    }
  }
  .ha-fc {
    animation: ha-draw 7.5s ease-in-out infinite;
  }
  @keyframes ha-draw {
    0%,
    18% {
      stroke-dashoffset: 1;
      opacity: 1;
    }
    48%,
    90% {
      stroke-dashoffset: 0;
      opacity: 1;
    }
    97%,
    100% {
      stroke-dashoffset: 0;
      opacity: 0;
    }
  }
  .ha-band {
    animation: ha-band 7.5s ease-in-out infinite;
  }
  @keyframes ha-band {
    0%,
    30% {
      opacity: 0;
    }
    55%,
    90% {
      opacity: 1;
    }
    97%,
    100% {
      opacity: 0;
    }
  }

  /* RapidFlood: one event takes 14 s */
  .rf-rain {
    animation: rf-storm 14s linear infinite;
  }
  .rf-rain line {
    animation: rf-drops 0.7s linear infinite;
    animation-delay: calc(var(--i) * -0.13s);
  }
  @keyframes rf-storm {
    0%,
    4% {
      opacity: 0;
    }
    12%,
    52% {
      opacity: 1;
    }
    62%,
    100% {
      opacity: 0;
    }
  }
  @keyframes rf-drops {
    to {
      stroke-dashoffset: -36;
    }
  }
  .rf-ping path {
    animation: rf-ping 2s ease-out infinite;
  }
  .rf-ping path:nth-child(2) {
    animation-delay: 0.3s;
  }
  @keyframes rf-ping {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  .rf-waves {
    animation: rf-waves 3.2s linear infinite;
  }
  @keyframes rf-waves {
    to {
      transform: translateX(-80px);
    }
  }
  .rf-level {
    animation: rf-level 14s ease-in-out infinite;
  }
  @keyframes rf-level {
    0%,
    30% {
      transform: translateY(0);
    }
    62% {
      transform: translateY(-92px);
    }
    74% {
      transform: translateY(-86px);
    }
    100% {
      transform: translateY(0);
    }
  }
  .rf-follow--level {
    animation: rf-level-label 14s ease-in-out infinite;
  }
  @keyframes rf-level-label {
    0%,
    30% {
      transform: translateY(0);
    }
    62% {
      transform: translateY(-20.91%);
    }
    74% {
      transform: translateY(-19.55%);
    }
    100% {
      transform: translateY(0);
    }
  }
  .rf-forecast {
    animation: rf-forecast 14s ease-in-out infinite;
  }
  @keyframes rf-forecast {
    0%,
    8% {
      transform: translateY(0);
    }
    32%,
    70% {
      transform: translateY(-96px);
    }
    96%,
    100% {
      transform: translateY(0);
    }
  }
  .rf-follow--forecast {
    animation: rf-forecast-label 14s ease-in-out infinite;
  }
  @keyframes rf-forecast-label {
    0%,
    8% {
      transform: translateY(0);
    }
    32%,
    70% {
      transform: translateY(-21.82%);
    }
    96%,
    100% {
      transform: translateY(0);
    }
  }
  .viz__alert {
    animation: rf-alert 14s ease-in-out infinite;
  }
  @keyframes rf-alert {
    0%,
    23% {
      opacity: 0;
      transform: translateY(-6px) scale(0.97);
    }
    27%,
    80% {
      opacity: 1;
      transform: none;
    }
    87%,
    100% {
      opacity: 0;
      transform: translateY(-6px) scale(0.97);
    }
  }

  /* DroughtCast: one round takes 16 s and runs without a break.
       0 to 4.3 s     the satellite passes; behind its scan line the map shows the measured
                      pattern and the upper store is corrected (data assimilation)
       4.2 to 13.4 s  the forecast runs 14 days, driven by the weather:
                      until 7.6 s a rain field crosses the meteorology, rain falls into the
                      model, the soil gets wetter behind it and the upper store fills;
                      then water evaporates, map and stores dry out.
                      The curve is drawn day by day and the level of measures rises with it.
       then           a short rest and back to the start */
  /* the scan line is at the left edge of the map at 2.6 % and at the right edge at 24.4 % */
  .dc-pass,
  .dc-scan {
    animation: dc-pass 16s linear infinite;
  }
  @keyframes dc-pass {
    0% {
      opacity: 0;
      transform: translateX(-30px);
    }
    1.5% {
      opacity: 1;
    }
    25.5% {
      opacity: 1;
    }
    27%,
    100% {
      opacity: 0;
      transform: translateX(282px);
    }
  }
  /* the cover of the map ends at the scan line. At the end of a round it comes back over the
     whole map: it is set to full length while invisible and then fades in. */
  .dc-cover {
    animation: dc-cover 16s linear infinite;
  }
  @keyframes dc-cover {
    0%,
    2.6% {
      opacity: 1;
      stroke-dashoffset: 0;
    }
    24.4%,
    88.8% {
      opacity: 1;
      stroke-dashoffset: 1;
    }
    88.9% {
      opacity: 0;
      stroke-dashoffset: 1;
    }
    89% {
      opacity: 0;
      stroke-dashoffset: 0;
    }
    95%,
    100% {
      opacity: 1;
      stroke-dashoffset: 0;
    }
  }
  /* the newest satellite value arrives at the end of the pass */
  .dc-newhalo {
    animation: dc-newhalo 16s ease-out infinite;
  }
  @keyframes dc-newhalo {
    0%,
    24.4% {
      opacity: 0;
      transform: scale(0.6);
    }
    25.2% {
      opacity: 0.9;
    }
    30%,
    100% {
      opacity: 0;
      transform: scale(2.6);
    }
  }
  /* the rain field enters at 26 %, moves one column in 0.2 s and lights a cell for 1 s */
  .dc-rain {
    animation: dc-rain 16s linear infinite;
    animation-delay: calc(var(--c) * 0.2s + var(--r) * 0.04s - 16s);
  }
  @keyframes dc-rain {
    0%,
    26% {
      fill-opacity: 0;
    }
    27.5% {
      fill-opacity: var(--a);
    }
    30.5% {
      fill-opacity: calc(var(--a) * 0.7);
    }
    32.25%,
    100% {
      fill-opacity: 0;
    }
  }
  .dc-rainfall {
    animation: dc-rainfall 16s linear infinite;
  }
  @keyframes dc-rainfall {
    0%,
    26% {
      opacity: 0;
      transform: translateX(-105px);
    }
    27.2% {
      opacity: 1;
    }
    45.8% {
      opacity: 1;
    }
    47.25%,
    100% {
      opacity: 0;
      transform: translateX(252px);
    }
  }
  .dc-drop {
    animation: dc-fall 0.5s linear infinite;
    animation-delay: calc(var(--i) * -0.13s);
  }
  @keyframes dc-fall {
    from {
      stroke-dashoffset: 10;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  /* the added water grows behind the middle of the rain field and fades while the soil dries */
  .dc-wet {
    animation: dc-wet 16s linear infinite;
  }
  @keyframes dc-wet {
    0%,
    29.1% {
      opacity: 1;
      stroke-dashoffset: 3;
    }
    44.1%,
    48% {
      opacity: 1;
      stroke-dashoffset: 4;
    }
    66% {
      opacity: 0;
      stroke-dashoffset: 4;
    }
    66.1%,
    99% {
      opacity: 0;
      stroke-dashoffset: 3;
    }
    100% {
      opacity: 1;
      stroke-dashoffset: 3;
    }
  }
  /* evaporation in the dry days after the rain */
  .dc-evap {
    animation: dc-evap 16s linear infinite;
  }
  @keyframes dc-evap {
    0%,
    45% {
      opacity: 0;
    }
    48%,
    84% {
      opacity: 1;
    }
    87%,
    100% {
      opacity: 0;
    }
  }
  .dc-evap__line {
    animation: dc-rise 1.1s linear infinite;
  }
  @keyframes dc-rise {
    from {
      stroke-dashoffset: 7;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  /* the measured cells dry out after the rain; they are reset under the cover */
  .dc-cell {
    animation: dc-dry 16s ease-in-out infinite;
  }
  @keyframes dc-dry {
    0%,
    47% {
      fill-opacity: var(--m);
    }
    84%,
    100% {
      fill-opacity: calc(var(--m) * var(--d));
    }
  }
  /* the stores: the satellite corrects the upper one, the rain fills it, both empty afterwards */
  .dc-store--upper {
    animation: dc-upper 16s ease-in-out infinite;
  }
  @keyframes dc-upper {
    0%,
    2.6% {
      transform: translateY(4px);
    }
    24.4%,
    29.1% {
      transform: translateY(6px);
    }
    44.1%,
    47% {
      transform: translateY(2.5px);
    }
    84%,
    89% {
      transform: translateY(12px);
    }
    97%,
    100% {
      transform: translateY(4px);
    }
  }
  .dc-store--lower {
    animation: dc-lower 16s ease-in-out infinite;
  }
  @keyframes dc-lower {
    0%,
    47% {
      transform: translateY(2px);
    }
    84%,
    89% {
      transform: translateY(11px);
    }
    97%,
    100% {
      transform: translateY(2px);
    }
  }
  /* the forecast, 26 % to 84 %: range, line and play head advance together, one day after the
     other. Play head and line have a position for each of the 14 days, taken from the curve. */
  .dc-band {
    animation: dc-band 16s linear infinite;
  }
  @keyframes dc-band {
    0%,
    26% {
      opacity: 1;
      transform: translateX(0);
    }
    84%,
    89% {
      opacity: 1;
      transform: translateX(280px);
    }
    91% {
      opacity: 0;
      transform: translateX(280px);
    }
    92%,
    100% {
      opacity: 0;
      transform: translateX(0);
    }
  }
  .dc-fc {
    animation: dc-fc 16s linear infinite;
  }
  @keyframes dc-fc {
    0%,
    26% {
      opacity: 1;
      stroke-dashoffset: 1;
    }
    30.14% {
      stroke-dashoffset: 0.9303;
    }
    34.29% {
      stroke-dashoffset: 0.8601;
    }
    38.43% {
      stroke-dashoffset: 0.7898;
    }
    42.57% {
      stroke-dashoffset: 0.7200;
    }
    46.71% {
      stroke-dashoffset: 0.6503;
    }
    50.86% {
      stroke-dashoffset: 0.5792;
    }
    55% {
      stroke-dashoffset: 0.5065;
    }
    59.14% {
      stroke-dashoffset: 0.4327;
    }
    63.29% {
      stroke-dashoffset: 0.3586;
    }
    67.43% {
      stroke-dashoffset: 0.2847;
    }
    71.57% {
      stroke-dashoffset: 0.2118;
    }
    75.71% {
      stroke-dashoffset: 0.1401;
    }
    79.86% {
      stroke-dashoffset: 0.0697;
    }
    84%,
    89% {
      opacity: 1;
      stroke-dashoffset: 0;
    }
    91% {
      opacity: 0;
      stroke-dashoffset: 0;
    }
    92%,
    100% {
      opacity: 0;
      stroke-dashoffset: 1;
    }
  }
  .dc-playhead {
    animation: dc-play 16s linear infinite;
  }
  @keyframes dc-play {
    0%,
    26% {
      opacity: 1;
      transform: translate(0, 0);
    }
    30.14% {
      transform: translate(20px, -1.12px);
    }
    34.29% {
      transform: translate(40px, -3.97px);
    }
    38.43% {
      transform: translate(60px, -6.88px);
    }
    42.57% {
      transform: translate(80px, -8.78px);
    }
    46.71% {
      transform: translate(100px, -8.10px);
    }
    50.86% {
      transform: translate(120px, -3.86px);
    }
    55% {
      transform: translate(140px, 2.29px);
    }
    59.14% {
      transform: translate(160px, 9.39px);
    }
    63.29% {
      transform: translate(180px, 16.82px);
    }
    67.43% {
      transform: translate(200px, 24.00px);
    }
    71.57% {
      transform: translate(220px, 30.33px);
    }
    75.71% {
      transform: translate(240px, 35.33px);
    }
    79.86% {
      transform: translate(260px, 38.54px);
    }
    84%,
    89% {
      opacity: 1;
      transform: translate(280px, 40px);
    }
    91% {
      opacity: 0;
      transform: translate(280px, 40px);
    }
    92% {
      opacity: 0;
      transform: translate(0, 0);
    }
    95%,
    100% {
      opacity: 1;
      transform: translate(0, 0);
    }
  }
  /* a step lights up when the curve falls below its level */
  .dc-step--1 {
    animation: dc-s1 16s linear infinite;
  }
  .dc-step--2 {
    animation: dc-s2 16s linear infinite;
  }
  .dc-step--3 {
    animation: dc-s3 16s linear infinite;
  }
  .dc-step--4 {
    animation: dc-s4 16s linear infinite;
  }
  .dc-step--5 {
    animation: dc-s5 16s linear infinite;
  }
  @keyframes dc-s1 {
    0%, 55.4%, 91%, 100% { opacity: 0.2; }
    56.6%, 89% { opacity: 1; }
  }
  @keyframes dc-s2 {
    0%, 60.6%, 91%, 100% { opacity: 0.2; }
    61.8%, 89% { opacity: 1; }
  }
  @keyframes dc-s3 {
    0%, 65.7%, 91%, 100% { opacity: 0.2; }
    66.9%, 89% { opacity: 1; }
  }
  @keyframes dc-s4 {
    0%, 71.4%, 91%, 100% { opacity: 0.2; }
    72.6%, 89% { opacity: 1; }
  }
  @keyframes dc-s5 {
    0%, 77.9%, 91%, 100% { opacity: 0.2; }
    79.1%, 89% { opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------------ 18 small screens */
@media (max-width: 1180px) {
  .site-header__login {
    display: none;
  }
  .site-nav__link {
    padding-inline: 11px;
  }
  .refcards,
  .pubs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .people {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1040px) {
  .site-nav,
  .site-header__actions > .lang {
    display: none;
  }
  .site-header__actions {
    margin-left: auto;
  }
  .nav-toggle {
    display: block;
  }
  .consulting__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 960px) {
  .product__grid,
  .product__below,
  .consulting__head,
  .dashboard__grid,
  .about__intro,
  .contact__grid,
  .subproduct__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .product--flip .product__copy {
    order: 0;
  }
  .browser {
    margin-right: 0;
  }
  .projects {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 860px) {
  .spectrum__cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .pcard {
    padding: 22px 20px;
  }
  .pcard + .pcard {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .spectrum__chart {
    border-top: 1px solid var(--line);
  }
  .sp-trace {
    display: none;
  }
  .spectrum__axis span:nth-child(2) {
    left: 8px;
  }
  .spectrum__axis span:nth-child(3) {
    left: calc(33.333% + 8px);
  }
  .spectrum__axis span:nth-child(4) {
    left: calc(66.666% + 8px);
  }
  .spectrum__axis span:nth-child(5) {
    right: 8px;
  }
  .news__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --fs-md: 1rem;
    --fs-lg: 1.125rem;
  }
  .brand__logo {
    height: 33px;
  }
  /* long link texts may break on phones instead of widening the page */
  .link {
    white-space: normal;
  }
  .site-header__cta {
    display: none;
  }
  /* headings break inside a word only when it would not fit otherwise */
  .h1,
  .h2,
  .hero__title {
    overflow-wrap: break-word;
  }
  .prose h1 {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  .hero__drop {
    display: none;
  }
  /* phones: both lines of the title stay whole down to 320 px, and the text
     leaves room for the chart in the first view */
  .hero__title {
    font-size: min(var(--fs-display), 8.8vw);
  }
  .hero__lead {
    font-size: var(--fs-md);
  }
  .hero__cta .btn {
    flex: 1 1 auto;
  }
  .clients__item img {
    height: 30px;
    max-width: 110px;
  }
  .form__row,
  .refcards,
  .pubs {
    grid-template-columns: minmax(0, 1fr);
  }
  .fact {
    flex: 1 1 100%;
    flex-flow: row wrap;
    align-items: baseline;
    gap: 2px 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .fact__label {
    margin-top: 0;
  }
  .fact__note {
    flex-basis: 100%;
    margin-top: 0;
  }
  .spectrum__axis,
  .viz__label {
    font-size: 0.6875rem;
  }
  /* DroughtCast on phones: the name of the scale moves below its steps and the two ends of
     the scale are left out, because the picture shrinks and the lettering does not */
  .viz--droughtcast .viz__label--dim {
    display: none;
  }
  .dc-label-measures {
    left: 42.1%;
    right: auto;
    top: 94.2%;
    transform: none;
  }
  .dc-label-satellite {
    top: 1.6%;
  }
  .viz__alert {
    gap: 8px;
    padding: 7px 12px 7px 7px;
    font-size: 0.6875rem;
  }
  .viz__alert strong {
    font-size: 0.75rem;
  }
  .viz__alert-icon {
    width: 26px;
    height: 26px;
    font-size: var(--fs-sm);
  }
  .member {
    flex-basis: calc(50% - 10px);
  }
  .about__card--seal img {
    width: 52px;
    height: 52px;
  }
  .lit__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .project__top {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__bottom {
    flex-direction: column;
  }
}

/* ------------------------------------------------------------------ 19 print */
/* short phone windows (small phones, or browser bars showing): less air above the
   title and a lower chart, so that the whole hydrograph is in the first view */
/* DroughtCast on the smallest screens: beside the block there is no room for the name of the
   model, so it takes the place of "Bodenwasserspeicher" below the block */
/* hydroAI on the narrowest screens: the two labels above the catchment do not fit side by side;
   the catchment with its grid explains itself, the rain field keeps its label */
@media (max-width: 359px) {
  .ha-label-catchment {
    display: none;
  }
}

@media (max-width: 400px) {
  .dc-label-store {
    display: none;
  }
  .dc-label-model {
    top: 60.4%;
  }
  /* a little higher, so that the days keep clear of the steps below them */
  .dc-label-now,
  .dc-label-end {
    top: 84.2%;
  }
}

@media (max-width: 640px) and (max-height: 600px) {
  .hero__content {
    padding-top: 14px;
  }
  .hero__chart {
    flex-basis: 110px;
    min-height: 110px;
    margin-top: 10px;
  }
}
@media print {
  .site-header,
  .skip-link,
  .hero__chart,
  .hero__legend,
  .hero__bg,
  .dashboard__bg,
  .contact__bg,
  .form {
    display: none !important;
  }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero {
    min-height: 0;
    padding-block: 24px;
  }
  .section {
    padding-block: 28px;
  }
}
