/* baseflow homepage, pixel design "Blaupause" (test 2)
   An own design in pixel style, not a filtered copy of the main homepage.
   Paper and navy ink for the pages, blueprint-blue screens for the pixel scenes, which are
   drawn natively on small canvases by static/js/site.js. Frames have stepped pixel corners,
   text is monospaced (JetBrains Mono), headings and figures use the pixel face Jersey 25.
   Sections: 1 tokens · 2 base · 3 building blocks · 4 header · 5 hero · 6 proof
             7 products · 8 dashboard · 9 consulting · 10 references · 11 news · 12 about
             13 contact · 14 footer · 15 references and legal pages · 16 motion
             17 small screens · 18 print  */

/* ------------------------------------------------------------------ 1 tokens */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Jersey 25";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jersey-25-latin-400-normal.woff2") format("woff2");
}
:root {
  --paper: #f3f2ec;
  --paper-2: #e8e7df;
  --card: #fcfbf7;
  --ink: #0b1b36;           /* navy ink: text and frames */
  --ink-2: #3a4862;
  --ink-3: #66728a;
  --line: #c4c7c4;
  --bp: #1557c0;            /* blueprint blue: hero, screens, contact */
  --navy: #0a2452;
  --blue: #1a73e8;          /* baseflow blue */
  --sky: #8fb8fa;
  --white: #f6f8ff;

  --u: 3px;                 /* one step of the pixel corners and frames */
  --font: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --pixel: "Jersey 25", "JetBrains Mono", ui-monospace, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-md: 0.9375rem;
  --fs-lg: 1.0625rem;
  --fs-h3: 1.75rem;
  --fs-h2: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem);
  --fs-display: clamp(3rem, min(1.2rem + 6.6vw, 12vh), 7.25rem);

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --header-h: 68px;

  /* colours of the original baseflow icons (see tools/build_icons.py): lines take the text
     colour, accents and the colour behind the drawing are set here and on dark surfaces */
  --icon-accent: var(--blue);
  --icon-surface: var(--card);
}

/* ------------------------------------------------------------------ 2 base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);
  font-variant-ligatures: none;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
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, canvas {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button, input, textarea {
  font: inherit;
  letter-spacing: inherit;
}
address {
  font-style: normal;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: var(--u) solid var(--blue);
  outline-offset: var(--u);
}
::selection {
  background: var(--bp);
  color: var(--white);
}
.sprites {
  position: absolute;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ 3 building blocks */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow {
  max-width: calc(860px + 2 * var(--gut));
}
.section {
  padding-block: clamp(64px, 8vw, 112px);
}
.section--tint {
  background: var(--paper-2);
}
/* a ruler of ticks marks the upper edge of a section */
.section,
.products,
.proof {
  position: relative;
}
.section::before,
.products::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 12px;
  background:
    linear-gradient(90deg, var(--ink) var(--u), transparent 0) 0 0 / 60px 12px repeat-x,
    linear-gradient(90deg, var(--ink) var(--u), transparent 0) 0 0 / 12px 6px repeat-x;
  border-top: var(--u) solid var(--ink);
  opacity: 0.9;
}

/* Frames with stepped corners: four bars around the box, the corners stay open. */
.btn,
.viewswitch,
.sheet,
.screen,
.window,
.card,
.note,
.jump__card,
.dashbar,
.folder__body,
.folder__tab,
.form,
.field__input,
.tab,
.search,
.project,
.person__photo,
.subnav,
.pilot,
.listing,
.log__date,
.check input,
.nav-toggle {
  --bd: var(--ink);
  box-shadow: 0 calc(var(--u) * -1) 0 0 var(--bd), 0 var(--u) 0 0 var(--bd), calc(var(--u) * -1) 0 0 0 var(--bd),
    var(--u) 0 0 0 var(--bd);
}

.head {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.h1,
.h2 {
  font-family: var(--pixel);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.8rem, 1.7rem + 3.8vw, 4.75rem);
}
.h2 {
  font-size: var(--fs-h2);
}
.h1 strong,
.h2 strong {
  font-weight: 400;
  color: var(--blue);
}
.lead {
  max-width: 68ch;
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--ink-2);
}
/* inverse label, as on a terminal */
.tag {
  justify-self: start;
  display: inline-block;
  padding: 3px 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
}
.pi {
  flex: none;
  shape-rendering: crispEdges;
}
.icon {
  flex: none;
  overflow: visible;
}
.pi--arrow {
  width: 14px;
  height: 10px;
}
.pi--chev {
  width: 10px;
  height: 6px;
}
.pname {
  font-family: var(--pixel);
  font-size: 1.4em;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pname b {
  font-weight: 400;
  color: var(--pname-accent, var(--blue));
}
.pname__ns {
  opacity: 0.62;
}

.btn {
  --bd: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: var(--u);
  padding: 10px 18px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  filter: drop-shadow(var(--u) var(--u) 0 var(--navy));
  transition: transform 0.08s steps(2), filter 0.08s steps(2);
}
.btn:hover {
  transform: translate(var(--u), var(--u));
  filter: none;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn--sm {
  padding: 7px 14px;
}
.btn--paper {
  background: var(--paper);
  color: var(--ink);
}
.btn--line {
  --bd: var(--white);
  background: transparent;
  color: var(--white);
  filter: none;
}
.btn--line:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: none;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.features {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.feature {
  display: grid;
  gap: 2px;
  padding-left: 22px;
  background: linear-gradient(var(--blue), var(--blue)) 0 7px / 9px 9px no-repeat;
}
.feature strong {
  font-weight: 700;
}
.feature span {
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
}
.fact {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  min-width: 84px;
  max-width: 190px;
}
.fact__value {
  order: -1;
  font-family: var(--pixel);
  font-size: 2.3rem;
  line-height: 0.95;
  color: var(--bp);
  white-space: nowrap;
}
.fact__label {
  margin-top: 4px;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.fact__note {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.rowhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 32px;
  margin: clamp(36px, 5vw, 56px) 0 22px;
  padding-bottom: 10px;
  border-bottom: var(--u) solid var(--ink);
}
.rowhead__title {
  font-family: var(--pixel);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1;
}
.acc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.acc__summary::-webkit-details-marker {
  display: none;
}
.acc__summary > span:first-child {
  min-width: 0;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.acc + .acc {
  border-top: 2px dotted var(--line);
}
/* plus made of two bars; the upright one disappears when open */
.acc__icon {
  flex: none;
  width: 15px;
  height: 15px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 100% 3px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 3px 100% no-repeat;
}
.acc[open] > .acc__summary .acc__icon {
  background: linear-gradient(var(--blue), var(--blue)) center / 100% 3px no-repeat;
}
.acc__body {
  padding: 0 0 16px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.acc__body p + p,
.acc__body ul {
  margin-top: 10px;
}
.acc__body li {
  padding-left: 16px;
  background: linear-gradient(var(--ink-3), var(--ink-3)) 0 9px / 6px 6px no-repeat;
}
.acc__body a {
  color: var(--blue);
}

/* ------------------------------------------------------------------ 4 header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--u) solid var(--ink);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: calc(var(--header-h) - var(--u));    /* the line below belongs to the header height */
}
/* the original baseflow word mark */
.logo {
  display: block;
  flex: none;
}
.logo__img {
  width: auto;
  height: 40px;
}
.logo__img--footer {
  height: 47px;
}
.site-nav {
  margin-inline: auto;
}
.site-nav__list {
  display: flex;
  gap: 4px;
}
.site-nav__item {
  position: relative;
}
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
}
.site-nav__link:hover,
.site-nav__link.is-current {
  background: var(--ink);
  color: var(--paper);
}
.subnav {
  position: absolute;
  left: 0;
  top: calc(100% + 14px);
  display: grid;
  gap: 2px;
  width: 400px;
  padding: 10px;
  background: var(--card);
  filter: drop-shadow(6px 6px 0 rgba(11, 27, 54, 0.2));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s, visibility 0.1s;
}
.subnav::before {            /* bridges the gap between entry and panel */
  content: "";
  position: absolute;
  inset: -18px 0 100% 0;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav {
  opacity: 1;
  visibility: visible;
}
.has-sub.is-collapsed .subnav {
  opacity: 0;
  visibility: hidden;
}
.subnav__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  text-decoration: none;
}
.subnav__item:hover {
  background: var(--paper-2);
}
.subnav__item .icon {
  width: 40px;
  height: 34px;
}
.subnav__name {
  display: block;
  font-size: var(--fs-md);
}
.subnav__note {
  display: block;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--ink-3);
}
.subnav__item--dash {
  margin-top: 6px;
  border-top: 2px dotted var(--line);
  padding-top: 14px;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* switch to the standard design: a round dot, with its name on wide screens */
.viewswitch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: var(--u);
  padding: 6px 10px;
  background: var(--card);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.viewswitch:hover {
  background: var(--ink);
  color: var(--paper);
}
.viewswitch__icon {
  flex: none;
  width: 12px;
  height: 12px;
}
@media (max-width: 1279px) {
  .viewswitch {
    padding: 8px;
  }
  .viewswitch__label {
    display: none;
  }
}
.lang {
  display: flex;
  gap: 2px;
  font-size: var(--fs-xs);
  font-weight: 700;
}
/* 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: 3px 6px;
  text-decoration: none;
}
.lang__item.is-active {
  background: var(--ink);
  color: var(--paper);
}
.lang__item.is-disabled {
  color: var(--ink-3);
}
.site-header__login {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
}
.site-header__login:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.nav-toggle {
  display: none;
  place-content: center;
  gap: 5px;
  width: 40px;
  height: 36px;
  margin: var(--u);
  padding: 0;
  border: 0;
  background: var(--card);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--ink);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  visibility: hidden;
}
.mobile-nav {
  --icon-surface: var(--paper);
  position: fixed;
  inset: var(--header-h) 0 0 0;
  overflow-y: auto;
  background: var(--paper);
}
.mobile-nav__in {
  display: grid;
  gap: 4px;
  padding-block: 20px 40px;
}
.mobile-nav__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
}
.mobile-nav__product,
.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 2px dotted var(--line);
  font-size: var(--fs-lg);
  font-weight: 700;
  text-decoration: none;
}
.mobile-nav__product .icon {
  width: 36px;
  height: 30px;
}
.mobile-nav__link--quiet {
  border: 0;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ 5 hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(540px, calc(100vh - var(--header-h)), 900px);
  min-height: clamp(540px, calc(100svh - var(--header-h)), 900px);
  overflow: hidden;
  color: var(--white);
  /* blueprint paper: a fine grid on blue */
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bp);
}
.hero__copy {
  padding-top: clamp(20px, 5.4vh, 72px);
}
.hero__title {
  font-family: var(--pixel);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}
/* second line in four light bands */
.hero__title strong {
  font-weight: 400;
  background: linear-gradient(#ffffff 0 34%, #d6e5ff 34% 54%, #b3cfff 54% 72%, #8fb8fa 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 720px;
  margin-top: clamp(12px, 2.4vh, 22px);
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: #dbe7ff;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(14px, 3vh, 28px);
}
.hero__scene {
  position: relative;
  flex: 1 1 190px;
  min-height: 190px;
  margin-top: clamp(14px, 3vh, 40px);
}
.hero__canvas,
.hero__poster {
  position: absolute;
  left: 0;
  bottom: 22px;
  image-rendering: pixelated;
}
.hero__canvas {
  display: none;
}
.hero__poster {
  width: 100%;
  height: calc(100% - 22px);
  object-fit: cover;
  object-position: 42% 100%;
}
.hero__scene.is-live .hero__canvas {
  display: block;
}
.hero__scene.is-live .hero__poster {
  display: none;
}
.hero__ticks {
  position: absolute;
  inset: auto 0 0 0;
  height: 22px;
  border-top: var(--u) solid var(--navy);
  font-size: 11px;
  line-height: 19px;
  color: #c6d9ff;
}
.hero__tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.hero__tick--now {
  font-weight: 700;
  color: #fff;
}
.hero__legend {
  padding-block: 8px 14px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: var(--fs-xs);
  color: #dbe7ff;
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.key {
  display: inline-block;
  width: 16px;
  height: 8px;
}
.key--obs {
  background: linear-gradient(#fff 0 2px, var(--sky) 2px 5px, #588ce0 0);
}
.key--fc {
  height: 4px;
  background: #fff;
}
.key--band {
  background: linear-gradient(#346fcf 0 2px, #588ce0 2px 6px, #346fcf 0);
}
.key--rain {
  width: 2px;
  height: 12px;
  margin-inline: 3px;
  background: repeating-linear-gradient(#fff 0 3px, transparent 3px 5px);
}

/* ------------------------------------------------------------------ 6 proof */
.proof {
  padding-block: clamp(32px, 4vw, 48px);
}
/* multiply lets the white backgrounds of some logo files disappear on the paper */
.logos__track {
  mix-blend-mode: multiply;
}
.logos__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(26px, 3.6vw, 52px);
}
.logos__list[aria-hidden="true"] {
  display: none;
}
.logos__item img {
  width: auto;
  height: 36px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}
.logos__item img:hover {
  filter: none;
  opacity: 1;
}

/* ------------------------------------------------------------------ 7 products */
.products {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--paper-2);
}
.jump {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(18px + 2 * var(--u));
  margin: var(--u);
}
.jump__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  background: var(--card);
  text-decoration: none;
  transition: transform 0.08s steps(2);
}
.jump__card:hover {
  --bd: var(--blue);
  transform: translateY(calc(var(--u) * -1));
}
.jump__zone {
  align-self: flex-start;
  padding: 2px 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.jump__name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
}
.jump__name .icon {
  width: 40px;
  height: 36px;
}
.jump__text {
  flex: 1 1 auto;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-2);
}
.jump__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue);
}
.dashbar {
  --bd: var(--navy);
  --pname-accent: var(--sky);
  --icon-accent: var(--sky);
  --icon-surface: var(--navy);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin: calc(18px + 2 * var(--u)) var(--u) var(--u);
  padding: 12px 22px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.dashbar__mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dashbar__mark .icon {
  width: 20px;
  height: 28px;
}
.dashbar__text {
  flex: 1 1 320px;
  font-size: var(--fs-sm);
  color: #c6d9ff;
}
.dashbar__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.products__body {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
  margin-top: clamp(40px, 5vw, 64px);
}
/* strip chart: a paper strip with the pen trace, drawn on a canvas */
.rail {
  --bd: var(--ink);
  position: relative;
  min-height: 300px;
  margin: var(--u) 0;
  background: var(--card);
  box-shadow: 0 calc(var(--u) * -1) 0 0 var(--bd), 0 var(--u) 0 0 var(--bd), calc(var(--u) * -1) 0 0 0 var(--bd),
    var(--u) 0 0 0 var(--bd);
}
.rail__canvas {
  position: absolute;
  inset: 0 auto auto 0;
  image-rendering: pixelated;
}
.rail__label {
  position: absolute;
  right: 6px;
  margin-top: -9px;
  padding: 1px 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  transform-origin: 0 50%;
  opacity: 0;
}
.rail.is-live .rail__label {
  opacity: 1;
}
.sheets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 6vw, 80px);
  min-width: 0;
  padding: var(--u) calc(var(--u) + 8px) 8px var(--u);
}
/* a product is a window: title bar, content, data row */
.sheet {
  background: var(--card);
  filter: drop-shadow(8px 8px 0 rgba(11, 27, 54, 0.16));
}
.sheet__bar {
  --pname-accent: var(--sky);
  --icon-accent: var(--sky);
  --icon-surface: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 9px 18px;
  background: var(--ink);
  color: var(--paper);
}
.sheet__mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
}
.sheet__mark .icon {
  width: 34px;
  height: 30px;
}
.sheet__zone {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--sky);
}
.sheet__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(510px, 54%);
  gap: clamp(28px, 3.4vw, 48px);
  align-items: start;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 36px);
}
.h2--sheet {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem);
}
.sheet__text {
  margin-top: 16px;
  color: var(--ink-2);
}
.sheet__flag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 8px;
  background: var(--blue);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
}
.sheet__data {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(28px, 3.4vw, 48px);
  align-items: start;
  padding: 26px clamp(20px, 2.6vw, 36px) 30px;
  border-top: 2px dotted var(--line);
}
/* pixel scene: blueprint screen, canvas scaled by whole numbers */
.screen {
  --bd: var(--navy);
  margin: var(--u);
  padding: 6px;
  background: var(--bp);
  color: var(--white);
}
.screen__in {
  position: relative;
  margin-inline: auto;
}
.screen__poster {
  width: 100%;
  image-rendering: pixelated;
}
.screen__canvas {
  display: none;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.screen.is-live {
  margin-inline: auto;
}
.screen.is-live .screen__canvas {
  display: block;
}
.screen.is-live .screen__poster {
  display: none;
}
/* legend of the numbered parts, and the status line of a scene */
.screen__legend {
  padding: 8px 4px 2px;
}
.callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  counter-reset: callout;
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.callouts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  counter-increment: callout;
}
.callouts li::before {
  content: counter(callout);
  flex: none;
  width: 16px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.screen__status {
  margin-top: 6px;
  padding: 3px 8px;
  background: var(--white);
  color: var(--navy);
  font-size: var(--fs-xs);
  visibility: hidden;
}
.screen.is-alert .screen__status {
  visibility: visible;
}
.reflist__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 10px 0;
  border-bottom: 2px dotted var(--line);
}
.reflist__item:first-child {
  padding-top: 0;
}
.reflist__text {
  grid-column: 1;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.reflist__client {
  grid-column: 1;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--ink-3);
}
.reflist__link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  background: var(--ink);
  color: var(--paper);
}
.reflist__link:hover {
  background: var(--blue);
}
.pilot {
  --bd: var(--blue);
  margin: var(--u);
  padding: 14px 18px;
  background: var(--paper);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.fusion {
  --icon-surface: var(--paper-2);
  margin: 0 clamp(20px, 2.6vw, 36px) clamp(24px, 3vw, 36px);
  padding: 22px 24px 24px;
  background: var(--paper-2);
  border-left: calc(var(--u) * 2) solid var(--blue);
}
.fusion__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.fusion__icon {
  width: 64px;
  height: 26px;
}
.fusion__lead {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--blue);
}
.fusion__title {
  font-size: 1.3rem;
  font-weight: 400;
}
.fusion__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(28px, 3.4vw, 48px);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.ticks {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}
.ticks li {
  padding-left: 20px;
  background: linear-gradient(var(--blue), var(--blue)) 0 7px / 8px 8px no-repeat;
}
.fusion__ref {
  display: grid;
  gap: 2px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dotted var(--line);
}
.fusion__ref .link {
  margin-top: 6px;
}

/* ------------------------------------------------------------------ 8 dashboard */
.dash {
  --pname-accent: var(--sky);
  --icon-accent: var(--sky);
  --icon-surface: var(--navy);
  padding-block: clamp(64px, 8vw, 112px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--navy);
  color: var(--white);
}
.dash .h2 strong {
  color: var(--sky);
}
.dash .lead {
  color: #c6d9ff;
}
.dash__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.dash__copy {
  display: grid;
  gap: 18px;
}
.dash__mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}
.dash__mark .icon {
  width: 24px;
  height: 34px;
}
.dash__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.dash .features {
  margin: 0;
}
.dash .feature {
  background-image: linear-gradient(var(--sky), var(--sky));
}
.dash .feature span {
  color: #c6d9ff;
}
.window {
  --bd: var(--sky);
  margin: var(--u);
  background: var(--ink);
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.45));
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
}
.window__dots {
  display: flex;
  gap: 6px;
}
.window__dots i {
  width: 9px;
  height: 9px;
  background: var(--sky);
}
.window__dots i:first-child {
  background: var(--white);
}
.window__url {
  margin-inline: auto;
  padding: 1px 16px;
  background: rgba(143, 184, 250, 0.16);
  font-size: var(--fs-xs);
  color: #c6d9ff;
}
.window__shot {
  width: 100%;
}
.window__caption {
  padding: 8px 14px;
  font-size: var(--fs-xs);
  color: #9fb4d8;
}

/* ------------------------------------------------------------------ 9 consulting */
.consulting__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.consulting__head .head {
  margin-bottom: 0;
}
/* three folders: a tab on top, the topics inside */
.folders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(18px + 2 * var(--u));
  align-items: start;
  margin: var(--u);
}
.folder__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--u);
  padding: 9px 16px 9px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--pixel);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  --icon-accent: var(--sky);
  --icon-surface: var(--ink);
}
.folder__tab .icon {
  width: auto;
  height: 44px;
}
.folder__body {
  padding: 6px 20px;
  background: var(--card);
}

/* ------------------------------------------------------------------ 10 references */
.refhome .rowhead:first-of-type {
  margin-top: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(16px + 2 * var(--u));
  margin: var(--u);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--card);
  text-decoration: none;
  transition: transform 0.08s steps(2);
}
.card:hover {
  --bd: var(--blue);
  transform: translateY(calc(var(--u) * -1));
}
.card__logo {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 4px;
}
.card__logo img {
  width: auto;
  height: auto;
  max-width: 116px;
  max-height: 44px;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: multiply;
  opacity: 0.75;
  transition: filter 0.2s, opacity 0.2s;
}
.card:hover .card__logo img {
  filter: none;
  opacity: 1;
}
.card__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-3);
}
.card__tag .icon {
  width: 22px;
  height: 20px;
}
.card__tag .pname {
  color: var(--ink);
}
.card__title {
  font-weight: 700;
  line-height: 1.4;
}
.card__text {
  flex: 1 1 auto;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-2);
}
.card__more,
.listing__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  color: var(--blue);
}
/* publications as a listing, one row each */
.listing {
  margin: var(--u);
  background: var(--card);
}
.listing li + li {
  border-top: 2px dotted var(--line);
}
.listing__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  padding: 14px 20px;
  text-decoration: none;
}
.listing__row:hover {
  background: var(--paper);
}
.listing__year {
  font-family: var(--pixel);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--bp);
}
.listing__main {
  display: grid;
  gap: 2px;
}
.listing__title {
  font-weight: 700;
  line-height: 1.4;
}
.listing__meta {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.listing__meta strong {
  font-weight: 700;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ 11 news */
.news__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.news .head {
  margin-bottom: 0;
}
/* a log: date on the left, entry on the right */
.log__entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 22px 0;
  border-top: 2px dotted var(--line);
}
.log__entry:first-child {
  padding-top: 0;
  border-top: 0;
}
.log__date {
  justify-self: start;
  align-self: start;
  margin: var(--u);
  padding: 3px 10px;
  background: var(--card);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.log__body {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.log__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.35;
}
.log__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ 12 about */
.about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about__intro .head {
  margin-bottom: 0;
}
.about__notes {
  display: grid;
  gap: calc(14px + 2 * var(--u));
  margin: var(--u);
}
.note {
  padding: 18px 22px;
  background: var(--card);
}
.note--seal {
  display: flex;
  align-items: center;
  gap: 18px;
}
.note--seal img {
  flex: none;
  width: 62px;
}
.note__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue);
}
.note__text {
  margin-top: 6px;
  font-size: var(--fs-lg);
  line-height: 1.5;
}
.note__small {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-2);
}
.people {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 0 48px;
  margin-top: clamp(40px, 5vw, 64px);
}
.people .rowhead__title {
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: var(--u) solid var(--ink);
}
.persons {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 24px;
}
.person {
  flex: 1 1 190px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}
.person__photo {
  width: 96px;
  aspect-ratio: 4 / 5;
  margin: var(--u);
  object-fit: cover;
  object-position: center 12%;
}
.person__name {
  font-weight: 700;
  line-height: 1.35;
}
.person__role {
  margin-top: 4px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-2);
}
.person__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin-top: 8px;
  font-size: var(--fs-xs);
}
.person__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.person__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ 13 contact */
.contact {
  padding-block: clamp(64px, 8vw, 112px);
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bp);
}
.contact::before {
  display: none;
}
.contact .h2 strong {
  color: #b3cfff;
}
.contact .lead {
  margin-top: 16px;
  color: #dbe7ff;
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact__address {
  margin-top: 26px;
  line-height: 1.6;
}
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: var(--u) solid var(--white);
  font-size: var(--fs-lg);
  font-weight: 700;
  text-decoration: none;
}
.form {
  --bd: var(--navy);
  display: grid;
  gap: 16px;
  margin: var(--u);
  padding: clamp(22px, 3vw, 36px);
  background: var(--paper);
  color: var(--ink);
  filter: drop-shadow(8px 8px 0 rgba(10, 36, 82, 0.55));
}
.form__title {
  font-family: var(--pixel);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field__label {
  font-size: var(--fs-xs);
  font-weight: 700;
}
.field__label abbr {
  color: var(--blue);
  text-decoration: none;
}
.field__input {
  width: calc(100% - 2 * var(--u));
  margin: var(--u);
  padding: 9px 12px;
  border: 0;
  background: var(--card);
  color: var(--ink);
}
.field__input:focus {
  --bd: var(--blue);
  outline: none;
}
.field__input--area {
  min-height: 120px;
  resize: vertical;
}
.form__trap {
  position: absolute;
  left: -9999px;
}
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--ink-2);
}
.check input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 4px var(--u) var(--u);
  background: var(--card);
  cursor: pointer;
}
.check input:checked {
  background: linear-gradient(var(--blue), var(--blue)) center / 8px 8px no-repeat, var(--card);
}
.check a {
  color: var(--blue);
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.form__note,
.form__status {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.form__status.is-success {
  color: var(--bp);
  font-weight: 700;
}
.form__status.is-error {
  color: #b3261e;
  font-weight: 700;
}

/* ------------------------------------------------------------------ 14 footer */
.site-footer {
  --pname-accent: var(--sky);
  position: relative;
  background: var(--ink);
  color: #b9c6dd;
  font-size: var(--fs-sm);
}
/* the page ends in water: three bands that step down into the footer */
.site-footer__water {
  height: 18px;
  background: linear-gradient(var(--bp) 0 6px, #0f469f 6px 12px, #0c367c 12px);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 36px 32px;
  padding-block: 48px 44px;
}
.site-footer__claim {
  margin-top: 16px;
}
.site-footer__col {
  display: grid;
  gap: 8px;
  align-content: start;
}
.site-footer__title {
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--white);
}
.site-footer__col a {
  justify-self: start;
  text-decoration: none;
}
.site-footer__col a:hover,
.site-footer__top:hover {
  color: #fff;
}
.site-footer__col .pname {
  color: var(--white);
}
.site-footer__col .pname__ns {
  opacity: 1;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-top: 2px dotted rgba(255, 255, 255, 0.25);
  font-size: var(--fs-xs);
}
.site-footer__top {
  text-decoration: none;
}

/* ------------------------------------------------------------------ 15 references and legal pages */
.pagehead {
  padding-block: clamp(40px, 6vw, 72px) 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bp);
  color: var(--white);
}
.pagehead .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  background: var(--white);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.pagehead .h1 strong {
  color: #b3cfff;
}
.pagehead .lead {
  margin-top: 14px;
  color: #dbe7ff;
}
.pagehead__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 30px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8px + 2 * var(--u));
  margin: var(--u);
}
.tab {
  --bd: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
}
.tab:hover {
  background: rgba(255, 255, 255, 0.14);
}
.tab span {
  font-family: var(--pixel);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  color: #b3cfff;
}
.search {
  --bd: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 360px;
  margin: var(--u);
  padding: 0 12px;
  background: var(--paper);
  color: var(--ink);
}
.search svg {
  flex: none;
  width: 16px;
  height: 16px;
}
.search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  outline: none;
}
.refsection {
  padding-block: clamp(40px, 6vw, 72px);
}
.refsection.section--tint,
.refsection:nth-of-type(odd) {
  background: var(--paper-2);
}
.refsection::before {
  display: none;
}
.refsection__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 10px;
  border-bottom: var(--u) solid var(--ink);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
}
.refsection__count {
  font-size: 0.6em;
  color: var(--bp);
}
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(16px + 2 * var(--u));
  align-items: start;
  margin: var(--u);
}
.project {
  padding: 18px 20px 6px;
  background: var(--card);
}
.project:target {
  --bd: var(--blue);
}
.project__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.project__title {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.4;
}
.project__client {
  margin-top: 4px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-3);
}
.project__logo {
  flex: none;
}
.project__logo img {
  width: auto;
  max-width: 96px;
  max-height: 38px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.75;
}
.project__logo:hover img {
  filter: none;
  opacity: 1;
}
.acc--plain .acc__summary {
  justify-content: flex-start;
  font-size: var(--fs-sm);
  color: var(--blue);
}
.project__quote {
  margin-top: 14px;
  padding-left: 14px;
  border-left: var(--u) solid var(--blue);
}
.project__quote figcaption {
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.lit__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 14px 0;
  border-bottom: 2px dotted var(--line);
}
.lit__year {
  font-family: var(--pixel);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--bp);
}
.lit__title {
  font-weight: 700;
  line-height: 1.45;
}
.lit__title a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--blue);
}
.lit__authors,
.lit__venue {
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.lit__authors strong {
  font-weight: 700;
  color: var(--ink);
}
.lit__venue {
  font-style: italic;
  color: var(--ink-3);
}
.lit__note {
  font-style: normal;
  font-weight: 700;
  color: var(--bp);
}
.lit__empty {
  padding: 16px 0;
  color: var(--ink-3);
}
.prose-page {
  padding-block: clamp(40px, 6vw, 80px);
}
.prose {
  overflow-wrap: break-word;
}
.prose h1 {
  margin-bottom: 24px;
  font-family: var(--pixel);
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
}
.prose h2,
.prose h3 {
  margin: 32px 0 10px;
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.35;
}
.prose h2 {
  padding-top: 20px;
  border-top: 2px dotted var(--line);
}
.prose p,
.prose ul,
.prose ol {
  margin-bottom: 12px;
  color: var(--ink-2);
}
.prose ul {
  padding-left: 20px;
  list-style: square;
}
.prose a {
  color: var(--blue);
}
.prose-page__back {
  margin-top: 36px;
}

/* ------------------------------------------------------------------ 16 motion */
@media (prefers-reduced-motion: no-preference) {
  /* 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. */
  .logos__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);
  }
  .logos__list,
  .logos__list[aria-hidden="true"] {
    display: flex;
    flex: none;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 0;
    min-width: 100%;
    animation: logos-slide 60s linear infinite;
  }
  .logos__item {
    padding-inline: clamp(18px, 2.2vw, 32px);
  }
  .logos:hover .logos__list {
    animation-play-state: paused;
  }
  @keyframes logos-slide {
    to {
      transform: translateX(-100%);
    }
  }
  /* 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;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ------------------------------------------------------------------ 17 small screens */
@media (max-width: 1279px) {
  .products__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    display: none;
  }
}
@media (max-width: 1180px) {
  .site-header__login {
    display: none;
  }
  /* the scene moves below the text and can then be shown larger */
  .sheet__grid,
  .consulting__head {
    grid-template-columns: minmax(0, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .people {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 1040px) {
  .site-nav,
  .site-header__actions > .lang {
    display: none;
  }
  .site-header__actions {
    margin-left: auto;
  }
  .nav-toggle {
    display: grid;
  }
}
@media (max-width: 900px) {
  .sheet__data,
  .fusion__body,
  .dash__top,
  .consulting__head,
  .news__grid,
  .about__intro,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .jump,
  .folders {
    grid-template-columns: minmax(0, 1fr);
  }
  .projects {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }
  .logo__img {
    height: 33px;
  }
  .logo__img--footer {
    height: 40px;
  }
  .site-header__cta {
    display: none;
  }
  .viewswitch {
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  .hero__title {
    font-size: min(var(--fs-display), 9.2vw);
  }
  .hero__lead {
    font-size: var(--fs-sm);
  }
  .hero__cta .btn {
    flex: 1 1 auto;
  }
  .cards,
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .listing__row {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .listing__more {
    grid-column: 2;
  }
  .log__entry,
  .lit__item {
    grid-template-columns: minmax(0, 1fr);
  }
  .sheet__mark {
    font-size: 1rem;
  }
  .fusion__head {
    gap: 12px;
  }
  .fusion__icon {
    width: 36px;
    height: 22px;
  }
  .fusion__title {
    font-size: 1.05rem;
  }
  .fusion__title .pname {
    white-space: normal;
  }
  .project__top {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
  }
  .project__title {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: anywhere;
  }
  .link {
    white-space: normal;
  }
}
@media (max-width: 440px) {
  :root {
    --gut: 14px;
  }
  .sheets {
    padding-right: calc(var(--u) + 4px);
  }
  .sheet__grid,
  .sheet__data {
    padding-inline: 12px;
  }
  .fusion {
    margin-inline: 12px;
    padding-inline: 14px;
  }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* short windows: less air, so that the whole scene is in the first view */
@media (max-height: 620px) {
  .hero {
    min-height: clamp(440px, calc(100vh - var(--header-h)), 900px);
    min-height: clamp(440px, calc(100svh - var(--header-h)), 900px);
  }
  .hero__copy {
    padding-top: 14px;
  }
  .hero__scene {
    flex-basis: 130px;
    min-height: 130px;
    margin-top: 10px;
  }
}

/* ------------------------------------------------------------------ 18 print */
@media print {
  .site-header,
  .site-footer,
  .rail,
  .hero__scene,
  .hero__legend,
  .form {
    display: none !important;
  }
  .hero,
  .dash,
  .contact {
    background: none;
    color: #000;
  }
}
