/* ========== Fonts (self-hosted) ========== */
@font-face {
  /* Text font: SF Pro on Apple devices (system font); everywhere else Inter, its closest free equivalent */
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
}

/* ========== Design tokens ==========
   Light theme by default. The dark theme is set on <html data-theme="dark">
   by the small script in each page's <head> (saved choice, else system setting). */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --tint: #F4F7F5;
  --ink: #15291C;          /* deep ivy instead of black */
  --ink-2: #4A5D50;
  --muted: #84948A;
  --line: #E2E9E4;
  --line-strong: #C5D3C9;
  --accent: #2F6B3C;       /* IVY green, from the logo package */
  --accent-hover: #24552F;
  --on-accent: #FFFFFF;
  --growth-stem: #CFDDD3;
  --growth-node: #A9C4B1;
  --growth-hot: #2F6B3C;
  --water: #E6EEF1;
  --partner-filter: brightness(0); /* partner logos in black */

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Consolas, monospace;

  --wrap: none; /* full width on every screen, the gutter alone sets the margin */
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E1611;
  --tint: #131D17;
  --ink: #E6EEE8;
  --ink-2: #AEBDB3;
  --muted: #7C8E82;
  --line: #213028;
  --line-strong: #31463A;
  --accent: #6CC487;
  --accent-hover: #86D59E;
  --on-accent: #0E1611;
  --growth-stem: #24382B;
  --growth-node: #3A5A45;
  --growth-hot: #6CC487;
  --water: #13212A;
  --partner-filter: brightness(0) invert(0.9);
}
/* Without JavaScript, follow the system setting */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0E1611;
    --tint: #131D17;
    --ink: #E6EEE8;
    --ink-2: #AEBDB3;
    --muted: #7C8E82;
    --line: #213028;
    --line-strong: #31463A;
    --accent: #6CC487;
    --accent-hover: #86D59E;
    --on-accent: #0E1611;
    --growth-stem: #24382B;
    --growth-node: #3A5A45;
    --growth-hot: #6CC487;
    --water: #13212A;
    --partner-filter: brightness(0) invert(0.9);
  }
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Theme-dependent images */
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-light { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
.partner-logo { filter: var(--partner-filter); }

.label { margin-bottom: 20px; font-size: 16px; color: var(--muted); }
.h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: 0.95; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 15em; }
.lead { max-width: 31em; font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); }
.body { max-width: 34em; color: var(--ink-2); }
.num, .col .num, .contact__steps .num { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); }

/* ========== Buttons & links ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: var(--on-accent);
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); }
.btn--small { padding: 10px 15px; font-size: 15px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn__arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:hover .btn__arrow--down { transform: translateY(3px); }
.textlink {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.textlink:hover { color: var(--accent-hover); }
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ========== Navigation ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
/* Icon centred above the "I" of the big home-page logo: the I's centre sits at 4.74% of the logo width,
   the icon is 1.43x as wide as it is tall */
.brand { --logo-h: 26px; display: flex; align-items: center; flex-shrink: 0; margin-right: auto; margin-left: calc(var(--hero-logo-w) * .0474 - var(--logo-h) * .7147); }
.brand { color: var(--intro-ink); text-decoration: none; }
.brand__mark { position: relative; z-index: 1; display: block; height: var(--logo-h); width: auto; overflow: visible; }
.brand__mark path { fill: currentColor; stroke: currentColor; stroke-width: 5; stroke-linejoin: round; }
.brand__spin { transform-box: fill-box; transform-origin: 50% 66.6%; } /* the centre of the three leaves */
/* the wordmark slides out from under the mark (js/main.js, brand: .is-word once the big logo has scrolled away) */
.brand__word { display: block; overflow: hidden; margin-left: calc(var(--logo-h) * -.35); padding-left: calc(var(--logo-h) * .35 + 12px); }
.brand__word svg { display: block; height: calc(var(--logo-h) * .77); width: auto; }
@media (max-width: 359px) { .brand__word svg { height: calc(var(--logo-h) * .64); } } /* the smallest phones: it still fits */
.brand__word-in { display: block; opacity: 0; transform: translateX(-110%); transition: transform .38s cubic-bezier(.5, 0, .75, 0), opacity .2s linear .15s; }
.brand.is-word .brand__word-in { opacity: 1; transform: none; transition: transform .7s cubic-bezier(.16, 1, .3, 1) .32s, opacity .25s linear .32s; }
/* Icon from the top of "IVY" to the bottom of "ROBOTICS" (4.1% to 96.5% of the logo height) */

.nav__links { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.nav__links a:not(.btn):hover, .nav__links a:not(.btn)[aria-current="page"] { color: var(--ink); }
.nav__links a:not(.btn)[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.nav__toggle { display: none; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 15px; }
.lang a, .lang span { padding: 6px 6px; text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang [aria-current="true"] { color: var(--ink); font-weight: 600; }

/* ========== Hero ========== */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__growth { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 1.2s var(--ease); }
/* generated arms (js/hero-arms.js): drawn on one canvas over the whole hero; never catches the pointer */
.hero__arms { position: absolute; inset: 0 0 -64px; overflow: hidden; pointer-events: none; user-select: none; } /* 64 px below the hero: the idle arm grips the band's edge (js/hero-arms.js) */
.hero:has(> .hero__arms) { z-index: 1; overflow: visible; } /* the arm in front of the band below it, which it pulls up */
/* the element the idle arm pulls up carries the edge line itself (it moves with it), on the page's background */
.hero:has(+ [data-arm-tug]) { border-bottom: 0; }
[data-arm-tug] { position: relative; border-top: 1px solid var(--line); background: var(--bg); }
.hero__arms canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.intro-on .hero__arms { opacity: 0; }
.hero__inner {
  position: relative;
  /* the hero fills the screen below the header; the logos + button row sits at its bottom edge */
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 73px);
  padding-top: clamp(12px, 1.5vw, 22px);
  padding-bottom: clamp(28px, 4vw, 48px);
  pointer-events: none;
}
.hero__inner a { pointer-events: auto; }
.hero__logo { margin: 0; }
.hero__logo img { display: block; width: var(--hero-logo-w); height: auto; opacity: var(--fade, 1); } /* js/main.js, brand: fades as the page scrolls */
.hero .lead { text-shadow: 0 0 12px var(--bg), 0 0 4px var(--bg); }
/* logo, slogan, button and partner logos as one block on the left, centred in the hero's height */
.hero__block { display: flex; flex-direction: column; align-items: flex-start; margin: auto 0; }
.hero__slogan { margin: clamp(28px, 3vw, 44px) 0 0; max-width: 15em; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.25; letter-spacing: -0.02em; } /* runs over two lines */
/* "customized" / "passgenau": a highlighter stroke, slightly slanted and uneven, swept in from the left */
.hero__slogan em { position: relative; z-index: 0; font-style: normal; color: var(--marker-ink); white-space: nowrap; text-shadow: none; }
.hero__slogan em::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.14em; right: -0.18em; top: 0.22em; bottom: -0.04em;
  background: var(--marker);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M6 7 C50 4 130 3 193 2 C197 9 195 15 198 21 C196 27 197 31 194 35 C130 36 60 37 4 38 C2 32 5 27 2 22 C4 17 3 12 6 7 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M6 7 C50 4 130 3 193 2 C197 9 195 15 198 21 C196 27 197 31 194 35 C130 36 60 37 4 38 C2 32 5 27 2 22 C4 17 3 12 6 7 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: rotate(-1.4deg) scaleX(0); transform-origin: left center;
  transition: transform .8s cubic-bezier(.6, .1, .3, 1);
}
.hero__slogan em.is-marked::before, .no-js .hero__slogan em::before { transform: rotate(-1.4deg) scaleX(1); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: clamp(40px, 5vw, 56px); }
.hero__btn { margin-top: clamp(20px, 2vw, 28px); }
.hero__orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: clamp(32px, 4vw, 56px); }
.hero__orgs img { display: block; height: 18px; width: auto; }
.hero__orgs img[style] { height: 23px !important; }
.hero__orgs .divider { width: 1px; height: 22px; background: var(--line-strong); }
/* desktop: the arm's base stands bottom right, where js/hero-arms.js anchors it (.hero__base, as wide as the base at
   its scale: the viewport height / 900); the hero ends --peek above the screen's bottom, so the partner band below
   shows that the page goes on */
.hero__base { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  :root { --peek: 104px; }
  .hero__inner { min-height: calc(100svh - 73px - var(--peek)); }
  .hero__base { display: block; position: absolute; right: var(--gutter); bottom: 0; width: 26.7vh; height: 1px; }
}
/* phones and upright tablets: room below the text for the slideshow's arm (its frame is 390 x 300, js/hero-arms.js) as
   wide as the screen, or what a short screen leaves; the text stays directly above it */
@media (max-width: 760px), (hover: none) and (orientation: portrait) {
  .hero__inner { padding-bottom: max(150px, min(calc(77vw + 12px), calc(100svh - 395px))); }
}

/* ========== Sections ========== */
.section { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.section--tint { background: var(--tint); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

/* Why: three columns under a rule */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 88px); }
.col { padding-top: 24px; border-top: 1.5px solid var(--ink); }
.col h3 { margin: 18px 0 12px; font-size: 26px; }
.col p { color: var(--ink-2); font-size: 17px; }

/* How it works: steps drawn as a kinematic chain */
.chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(56px, 7vw, 88px);
}
.chain::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.chain.is-in::before, .no-js .chain::before { transform: scaleX(1); }
.chain__joint {
  position: absolute;
  top: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
}
.section--tint .chain__joint { background: var(--tint); }
.chain__joint::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .4s var(--ease);
}
.chain.is-in .chain__step:nth-child(1) .chain__joint::after { transform: scale(1); transition-delay: .2s; }
.chain.is-in .chain__step:nth-child(2) .chain__joint::after { transform: scale(1); transition-delay: .45s; }
.chain.is-in .chain__step:nth-child(3) .chain__joint::after { transform: scale(1); transition-delay: .7s; }
.chain.is-in .chain__step:nth-child(4) .chain__joint::after { transform: scale(1); transition-delay: .95s; }
.chain.is-in .chain__step:nth-child(5) .chain__joint::after { transform: scale(1); transition-delay: 1.2s; }
.no-js .chain__joint::after { transform: scale(1); }
.chain__step { position: relative; padding-top: 46px; }
.chain__step h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.chain__step p { color: var(--ink-2); font-size: 16px; }

/* Lab (interactive concept demo) */
.lab {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  margin-top: clamp(64px, 8vw, 104px);
  background: var(--bg);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}
.lab__controls { display: flex; flex-direction: column; gap: 28px; padding: 32px 28px; border-right: 1.5px solid var(--ink); }
.lab__title { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.field { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__row, .field legend {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0;
  font-size: 15px;
  color: var(--ink-2);
}
.field output { font-family: var(--mono); font-size: 13px; font-stretch: 87.5%; color: var(--ink); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin-top: -8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); }
input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: block;
  padding: 8px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  font-size: 15px;
  transition: background .2s, color .2s, border-color .2s;
}
.chips input:hover + span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.lab__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

.lab__view { display: flex; flex-direction: column; min-width: 0; }
.lab__stage {
  position: relative;
  flex: 1;
  min-height: 380px;
  aspect-ratio: 16 / 11;
  cursor: grab;
  touch-action: pan-y;
}
.lab__stage:active { cursor: grabbing; }
/* Background for the selected environment: soft, low contrast, so the arm stays the main thing */
.lab__stage { border-radius: 4px; background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)); transition: background-color .4s; }
.lab__stage[data-env="factory"]    { --bg-top: #EEF0EE; --bg-bottom: #E1E5E1; }
.lab__stage[data-env="underwater"] { --bg-top: #DDEBF1; --bg-bottom: #C3D8E1; }
.lab__stage[data-env="cleanroom"]  { --bg-top: #F7FAFB; --bg-bottom: #E9EFF2; }
.lab__stage[data-env="outdoor"]    { --bg-top: #E3EEF3; --bg-bottom: #E3EADD; }
:root[data-theme="dark"] .lab__stage[data-env="factory"]    { --bg-top: #19201C; --bg-bottom: #121815; }
:root[data-theme="dark"] .lab__stage[data-env="underwater"] { --bg-top: #102530; --bg-bottom: #0A1A21; }
:root[data-theme="dark"] .lab__stage[data-env="cleanroom"]  { --bg-top: #1C2428; --bg-bottom: #151C1F; }
:root[data-theme="dark"] .lab__stage[data-env="outdoor"]    { --bg-top: #152229; --bg-bottom: #17231A; }
.lab__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.lab__loading, .lab__hint { position: absolute; font-family: var(--mono); font-size: 11px; font-stretch: 87.5%; color: var(--muted); pointer-events: none; }
.lab__loading { inset: 0; display: grid; place-items: center; }
.lab__hint { right: 16px; top: 14px; z-index: 1; }
.lab__readout { padding: 14px 20px; border-top: 1.5px solid var(--ink); font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; color: var(--ink-2); }
.lab__readout b { font-weight: 500; color: var(--ink); }
.lab__note { grid-column: 1 / -1; padding: 12px 20px; border-top: 1.5px solid var(--ink); font-size: 14px; color: var(--muted); }

/* Environments */
.envs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 88px); }
.env { overflow: hidden; }
.env__art { aspect-ratio: 16 / 11; border: 1px solid var(--line); border-radius: 4px; background: var(--tint); }
.env__art[data-env="underwater"] { background: var(--water); }
.env__art img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.env__art img.is-ready { opacity: 1; }
.env h3 { font-size: 22px; margin: 20px 0 8px; letter-spacing: -0.02em; }
.env p { font-size: 16px; color: var(--ink-2); }

/* Vision */
.phases { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr); margin-top: clamp(56px, 7vw, 88px); }
.phase { padding: 32px 0; border-top: 1.5px solid var(--ink); }
.phase__when { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; font-size: 16px; color: var(--muted); }
.phase h3 { font-size: clamp(26px, 2.6vw, 34px); }
.phase p { color: var(--ink-2); max-width: 24em; }
/* Title opens the text: grows on hover like the logos; "+" at the right edge of every column turns into "×" when open */
.phase summary { list-style: none; cursor: pointer; }
.phase summary::-webkit-details-marker { display: none; }
.phase summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.phase summary h3 { transform-origin: left center; transition: transform .6s var(--ease); }
.phase summary:hover h3, .phase summary:focus-visible h3 { transform: scale(1.08); }
.phase__title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.phase__toggle { flex: none; display: inline-block; color: var(--accent); font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; line-height: 1; transition: transform .4s var(--ease); }
.phase__toggle::before { content: "+"; }
.phase[open] .phase__toggle { transform: rotate(45deg); }
.phase[open] > p { margin-top: 16px; animation: phase-in .5s var(--ease); }
@keyframes phase-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.phase__link { border-top: 1.5px dashed var(--line-strong); }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Roadmap */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 88px); border-top: 1.5px solid var(--ink); }
.road li { padding: 22px 24px 0 0; }
.road__when { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.road p:last-child:not(.road__when) { font-size: 16px; color: var(--ink-2); }
/* Snake layout (built by main.js): stations joined by one line */
.road-snake { position: relative; margin-top: clamp(56px, 7vw, 88px); }
.road-snake .road { margin-top: 0; }
.road-snake.is-snake .road { display: block; border: 0; }
.road-snake.is-snake .road li { position: absolute; padding: 0; text-align: center; }
.road-snake.is-snake .road__when { font-size: 20px; margin-bottom: 4px; }
.road__svg { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.road__line { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.road__dot { fill: var(--accent); stroke: var(--tint); stroke-width: 4; }

/* Team teaser + supporters */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.faces img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: 3px; }
/* home: the latest LinkedIn posts */
.news { padding-top: 0; }
.news__posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.news__posts iframe { display: block; width: 100%; height: 620px; border: 1px solid var(--line); border-radius: 4px; background: #FFFFFF; }
@media (max-width: 900px) { .news__posts { grid-template-columns: minmax(0, 1fr); } }
/* SociableKIT widget in neutral greys (no green): follows the light/dark switch (overrides the colours the widget sets itself) */
.sk-ww-linkedin-page-post { --sk-card: #F2F2F2; --sk-line: #E2E2E2; --sk-ink: #111111; --sk-ink-2: #4A4A4A; --sk-grey: #8A8A8A; --sk-btn: #000000; --sk-btn-ink: #FFFFFF; }
:root[data-theme="dark"] .sk-ww-linkedin-page-post { --sk-card: #1C1C1C; --sk-line: #2B2B2B; --sk-ink: #F2F2F2; --sk-ink-2: #BDBDBD; --sk-grey: #8A8A8A; --sk-btn: #FFFFFF; --sk-btn-ink: #000000; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .sk-ww-linkedin-page-post { --sk-card: #1C1C1C; --sk-line: #2B2B2B; --sk-ink: #F2F2F2; --sk-ink-2: #BDBDBD; --sk-grey: #8A8A8A; --sk-btn: #FFFFFF; --sk-btn-ink: #000000; }
}
.sk-ww-linkedin-page-post {
  --font-family: var(--sans) !important;
  --widget-bg-color: transparent !important; --widget-font-color: var(--sk-ink-2) !important; --profile-name-color: var(--sk-ink) !important;
  --article-bg-color: var(--sk-card) !important; --article-text-color: var(--sk-ink) !important;
  --details-bg-color: var(--sk-card) !important; --details-font-color: var(--sk-ink) !important; --details-secondary-font-color: var(--sk-ink-2) !important;
  --widget-tertiary-font-color: var(--sk-grey) !important; --sk-float-ink: var(--sk-ink) !important;
  --widget-link-color: var(--sk-ink) !important; --details-link-color: var(--sk-grey) !important; --details-link-hover-color: var(--sk-ink) !important; /* "read more" grey like the date */
  --item-border-color: var(--sk-line) !important; --show-item-border: 1px solid var(--sk-line) !important; --item-border-radius: 4px !important; --widget-padding: 0 !important;
  --pop-up-bg-color: var(--sk-card) !important; --pop-up-font-color: var(--sk-ink) !important; --pop-up-link-color: var(--sk-ink) !important;
  --pop-up-button-bg-color: var(--sk-btn) !important; --pop-up-button-bg-hover-color: var(--sk-btn) !important; --pop-up-button-text-color: var(--sk-btn-ink) !important; --pop-up-button-text-hover-color: var(--sk-btn-ink) !important;
  --button-bg-color: var(--sk-btn) !important; --button-text-color: var(--sk-btn-ink) !important; --button-hover-bg-color: var(--sk-btn) !important; --button-hover-text-color: var(--sk-btn-ink) !important; /* black in light mode, white in dark mode */
  --arrow-color: var(--sk-ink) !important; --arrow-background-color: var(--sk-card) !important;
}

/* home: partner logos in an endless band, moving left to right */
.marquee { overflow: hidden; padding: 30px 0 clamp(28px, 3.5vw, 44px); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee + .section { padding-top: clamp(56px, 7vw, 96px); } /* closer to the band */
.marquee__set { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding: 0 clamp(24px, 3vw, 48px); margin: 0; list-style: none; }
.marquee__set img { display: block; width: auto; max-width: none; }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.supported { margin-top: clamp(72px, 9vw, 112px); }
.supported .label { margin: 0 0 16px; } /* label above the line, logos below it */
.supported__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(24px, 2.2vw, 40px); padding-top: 28px; border-top: 1px solid var(--line); }
.supported img { display: block; height: 24px; width: auto; }
.supported .tall { height: 30px; }
.supported .slim { height: 18px; } /* very wide logos */

/* Partner */
.partner__title { font-size: clamp(3.4rem, 10vw, 8.4rem); line-height: 0.9; letter-spacing: -0.035em; }
.partner .lead { margin-top: 32px; }
.needs { margin: 56px 0 48px; border-top: 1px solid var(--line-strong); }
.needs div {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
}
.needs dt { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.needs dd { color: var(--ink-2); align-self: center; }

/* Home: links to the other pages */
.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.overview a { display: block; padding-top: 24px; border-top: 1.5px solid var(--ink); text-decoration: none; }
.overview h3 { display: flex; justify-content: space-between; gap: 16px; font-size: 28px; margin-bottom: 12px; }
.overview h3 span { color: var(--accent); transition: transform .25s var(--ease); }
.overview a:hover h3 span { transform: translateX(4px); }
.overview p { color: var(--ink-2); font-size: 17px; }

/* "Next page" link at the bottom of inner pages */
.next { display: flex; justify-content: flex-end; align-items: baseline; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); text-decoration: none; }
.next strong { font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; }
.next:hover strong { color: var(--accent); }

/* ========== Team page ========== */
.page-head { padding: clamp(12px, 1.5vw, 22px) 0 clamp(40px, 5vw, 64px); }
.h1--long { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 15em; }
.page-head .lead { margin-top: 28px; }
.group { padding-bottom: clamp(64px, 8vw, 104px); }
.group__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.group__head h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; }
.group__head p { color: var(--muted); font-size: 16px; }
.group__head img { display: block; height: 26px; width: auto; }
.group__head a img { transform-origin: right bottom; transition: transform .6s var(--ease); }
.group__head a:hover img, .group__head a:focus-visible img { transform: scale(1.08); }

/* careers: open positions as rows (like the flyer); a click opens the details */
.jobs { list-style: none; padding: 0; margin: 0; }
.group__head:has(+ .jobs) { margin-bottom: 0; border-bottom-color: var(--line-strong); } /* one line: the title sits on it, the first position follows */
.jobs > li { border-bottom: 1px solid var(--line-strong); }
.job summary { display: grid; grid-template-columns: 48px minmax(0, 1.2fr) minmax(0, 1fr) 28px; align-items: center; gap: 16px; padding: clamp(20px, 2.4vw, 30px) 0; list-style: none; cursor: pointer; }
.job summary::-webkit-details-marker { display: none; }
.job summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.job summary h3 { font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -0.025em; transform-origin: left center; transition: transform .6s var(--ease), color .2s; }
.job summary:hover h3, .job summary:focus-visible h3 { transform: scale(1.04); color: var(--accent); }
.job__short { color: var(--ink-2); font-size: 17px; }
.job__icon { position: relative; width: 20px; height: 20px; justify-self: end; transition: transform .4s var(--ease); }
.job__icon::before, .job__icon::after { content: ""; position: absolute; top: 9px; left: 0; width: 20px; height: 2px; background: var(--accent); }
.job__icon::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.job[open] .job__icon { transform: rotate(180deg); }
.job[open] .job__icon::after { transform: rotate(0deg); }
.job__body { padding: 4px 0 40px 64px; }
.job__tasks + h4 { margin-top: 28px; }
.job__body h4 { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.job__tasks, .offer { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.job__tasks li, .offer li { position: relative; padding-left: 26px; font-size: 18px; color: var(--ink); }
.job__tasks li::before, .offer li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.job__facts { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 16px clamp(28px, 5vw, 72px); margin: 32px 0 36px; }
.job__facts strong { display: block; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
.job__facts span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.offer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(24px, 4vw, 56px); margin: 0; }
.hero__orgs a img, .supported a img { transform-origin: left center; transition: transform .6s var(--ease); }
.hero__orgs a:hover img, .hero__orgs a:focus-visible img, .supported a:hover img, .supported a:focus-visible img { transform: scale(1.08); }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.person__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--tint);
}
.people:not(.people--small) .person__photo { aspect-ratio: 4 / 5; }
.person__photo--empty { display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.person__name { margin-top: 14px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.person__role { margin-top: 2px; font-size: 16px; color: var(--ink-2); }
.person__link { display: inline-block; margin-top: 6px; font-size: 15px; color: var(--accent); text-underline-offset: 4px; }
.people--small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.people--small .person__photo { width: 120px; height: 120px; border-radius: 50%; }

/* ========== Contact page ========== */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 180px; gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1.5px solid var(--ink); }
.contact h2 { font-size: 26px; letter-spacing: -0.025em; }
.contact__role { margin-top: 4px; color: var(--ink-2); font-size: 16px; }
.contact__links { display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.contact__links a { color: var(--accent); text-underline-offset: 4px; }
.contact__qr { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.contact__qr img { display: block; width: 150px; height: 150px; border-radius: 3px; background: #FFFFFF; padding: 6px; }
.contact__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 88px); }
.contact__steps h3 { margin: 10px 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.contact__steps p { color: var(--ink-2); font-size: 16px; }
.tiers-wrap { position: relative; margin-top: 28px; overflow-x: auto; }
.tiers { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.tiers th, .tiers td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.tiers th:first-child, .tiers td:first-child { text-align: left; padding-left: 0; color: var(--ink-2); }
.tiers thead th { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1.5px solid var(--ink); }
.tiers thead th small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; font-weight: 400; font-stretch: 87.5%; letter-spacing: 0; color: var(--muted); }
.tiers .yes { color: var(--accent); font-weight: 600; }
.tiers .no { color: var(--line-strong); }
.tiers-notes { margin-top: 18px; font-size: 14px; color: var(--muted); }
.tiers-notes p + p { margin-top: 4px; }
.booklet__bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.booklet__bar h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; }
.booklet { display: flex; align-items: center; justify-content: center; gap: 24px; }
.booklet__frame { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; border-radius: 4px; background: var(--tint); }
.booklet__frame iframe { display: block; margin: 0 auto; border: 0; transform-origin: 0 0; }
.booklet__frame:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.booklet__frame.is-flip { flex: none; border-radius: 2px; box-shadow: 0 2px 18px rgba(0, 0, 0, .14); }
.booklet__frame.is-flip iframe { margin: 0; transition: opacity .2s var(--ease); }
.booklet__frame.is-turning iframe { opacity: 0; }
.booklet__btn { flex: none; width: 52px; height: 52px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.booklet__btn:hover { border-color: var(--accent); color: var(--accent); }
.booklet__btn[hidden] { display: none; }
.booklet__btn[disabled] { opacity: .25; pointer-events: none; }
.booklet__count { margin-top: 16px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.booklet__count:empty { display: none; }
@media (max-width: 600px) {
  .booklet { position: relative; }
  .booklet__btn { position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; margin-top: -22px; font-size: 19px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
  .booklet__btn--prev { left: 6px; }
  .booklet__btn--next { right: 6px; }
}

/* ========== Partners ========== */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); list-style: none; padding: 0; margin: 0; }
.partner { display: flex; flex-direction: column; align-items: flex-start; }
.partner__logo { display: flex; align-items: center; height: 64px; }
.partner__logo img { display: block; width: auto; max-width: 100%; transform-origin: left center; transition: transform .6s var(--ease); }
.partner__logo:hover img, .partner__logo:focus-visible img { transform: scale(1.08); }
.partner h3 { margin: 12px 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.partner p { color: var(--ink-2); font-size: 16px; }
.partner--logo { justify-content: center; }
.partner--open { padding: 24px; border: 1.5px dashed var(--line-strong); border-radius: 4px; }
.partner--open h3 { margin-top: 0; }
.tiers-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: clamp(40px, 5vw, 56px); list-style: none; padding: 0; }
.tiers-mini li { padding-top: 18px; border-top: 1.5px solid var(--accent); }
.tiers-mini h3 { font-size: 24px; letter-spacing: -0.02em; color: var(--accent); }
.tiers-mini p { margin-top: 8px; font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 900px) {
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .partners { grid-template-columns: minmax(0, 1fr); }
}

/* ========== Intro (home page, once per session; markup in tools/intro.html) ========== */
:root { --hero-logo-w: clamp(260px, 33vw, 470px); --intro-ink: #16241F; --social: #000000; --marker: rgba(120, 226, 140, .6); --marker-ink: var(--ink); }
:root[data-theme="dark"] { --intro-ink: #FFFFFF; --social: #FFFFFF; --marker: rgba(128, 222, 150, .88); --marker-ink: #0E1611; }
/* desktop: the arms scale with the viewport height (js/hero-arms.js), so on short screens the hero's logo and slogan
   scale with it too; else they stand in the way of nearly every arm and the arm hardly moves (3 of 96 arms at 1280 x 600) */
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  /* layout B: each as at 1440 x 900, where the arms were planned around them, and never larger than its share of the height */
  :root { --hero-logo-w: min(clamp(260px, 33vw, 470px), 52.2vh); }
  .hero__inner { padding-top: min(clamp(12px, 1.5vw, 22px), 2.4vh); }
  .hero__slogan { font-size: min(clamp(1.5rem, 2.3vw, 2.1rem), 3.68vh); margin-top: min(clamp(28px, 3vw, 44px), 4.8vh); }
  .hero__btn { margin-top: min(clamp(20px, 2vw, 28px), 3.1vh); }
  .hero__orgs { margin-top: min(clamp(32px, 4vw, 56px), 6.2vh); }
}
.intro { display: none; }
.intro-on .intro { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: var(--bg); cursor: pointer; transition: opacity .56s ease; }
.intro-on body { overflow: hidden; }
.intro svg { display: block; width: min(100vw, 177.78vh); height: auto; }
.intro__icon, .intro__ivy { fill: var(--intro-ink); }
.intro__rob { fill: none; stroke: var(--intro-ink); stroke-width: 5; stroke-linejoin: round; }
.intro .bl, .intro .lt, .intro .rg { will-change: transform, opacity; }
/* after the intro: the big logo emerges from the background, then the small mark appears in the header */
.intro-on .hero__logo, .intro-on .nav .brand { opacity: 0; }
.intro-reveal .hero__logo { animation: logo-in 1.7s cubic-bezier(.2, .7, .2, 1) both; }
.intro-reveal .nav .brand { animation: brand-in .7s var(--ease) 1.45s both; }
@keyframes logo-in { from { opacity: 0; transform: scale(.9); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes brand-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ========== Footer ========== */
.footer { border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; row-gap: 18px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.footer__logo img { display: block; height: 36px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 24px; }
.footer a.footer__social, .footer a.footer__social:hover { display: inline-flex; color: var(--social); transition: transform .6s var(--ease); }
.footer__social svg { display: block; }
.footer__social:hover, .footer__social:focus-visible { transform: scale(1.12); }
/* © left, Focus Project in the middle, address right: all on one line */
.footer__meta { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; font-size: 14px; }
.footer__org { text-align: center; }
.footer__addr { text-align: right; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer__credit { grid-column: 1 / -1; font-size: 12px; }
.footer__credit a { color: inherit; }

/* ========== Responsive ========== */
@media (max-width: 1020px) {
  .envs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .chain::before { display: none; }
  .lab { grid-template-columns: minmax(0, 1fr); }
  .lab__controls { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .lab__actions { margin-top: 0; }
  .teaser { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* phone and small tablet: the links fold into a hamburger menu */
@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .nav__toggle span { display: block; height: 2px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .nav.is-open .nav__links { display: flex; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav__inner { height: 64px; gap: 12px; }
  .hero__inner { min-height: calc(100svh - 65px); }
  .brand { --logo-h: 22px; }
  .split, .cols, .contact__steps, .overview { grid-template-columns: minmax(0, 1fr); }
  .lang { font-size: 14px; }
  .lang a, .lang span { padding: 6px 3px; }
  .chain { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .envs { grid-template-columns: minmax(0, 1fr); }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase__link { height: 32px; border-top: 0; border-left: 1.5px dashed var(--line-strong); margin-left: 4px; }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .needs div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .people, .people--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people--small .person__photo { width: 96px; height: 96px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .job summary { grid-template-columns: 32px minmax(0, 1fr) 24px; row-gap: 6px; }
  .job__short { grid-column: 2; grid-row: 2; font-size: 15px; }
  .job__icon { grid-column: 3; grid-row: 1; }
  .job__body { padding-left: 0; }
  .job__facts { grid-template-columns: minmax(0, 1fr); }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .footer__links { justify-content: flex-start; }
  .footer__meta { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .footer__org, .footer__addr { text-align: left; }
  .hero__orgs img { height: 18px; }
}
@media (max-width: 340px) {                    /* both logos stay on one row, so the arm's base stays on screen */
  .hero__orgs { gap: 14px; }
  .hero__orgs img { height: 15px; }
  .hero__orgs img[style] { height: 20px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: translateX(-25%); }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
