@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --enamel: #FBFCFD;
  --platform: #EFF3F6;
  --platform-deep: #DCE3E9;
  --studio: #E4E9EE;
  --studio-deep: #D8DEE4;
  --signal: #2B3846;
  --ink: #1E2A36;
  --ink-2: #566371;
  --ink-3: #6E7A87;
  --red: #DA0012;
  --red-deep: #B3000F;
  --flap: #1C1C1B;
  --flap-ink: #1E2A36;
  --flap-seam: #050505;
  --on-black-2: #566371;

  --hair: #DCE3E9;
  --soft-shadow: 0 18px 40px -26px rgb(30 42 54 / 0.35);
  --bar-h: 72px;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
  scrollbar-color: var(--signal) var(--platform);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--enamel);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--red);
  overflow-x: clip;
}

::selection { background: var(--red); color: #fff; }

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

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
sup { font-size: 0.6em; line-height: 0; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--red); color: #fff; padding: 10px 14px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; }

/* ---------- Sign bar ---------- */
.signbar {
  position: sticky; top: 0; z-index: 20;
  height: var(--bar-h);
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--signal); color: #fff;
  padding-inline: var(--gutter);
}
.signbar__logo { display: flex; align-items: center; padding-right: 24px; }
.signbar__logo img { height: 26px; width: auto; }
.signbar__nav { display: flex; align-items: stretch; gap: 2px; }
.signbar__nav > a, .signbar__item > a {
  display: flex; align-items: center;
  padding: 0 22px;
  font-weight: 650; font-size: 1.0625rem; letter-spacing: 0.005em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.signbar__nav > a, .signbar__item { border-left: 1px solid #2E2E2C; }
.signbar__nav > a:hover, .signbar__item > a:hover, .signbar__toggle:hover { background: #242423; }
.signbar__nav > a.is-current, .signbar__item.is-current { box-shadow: inset 0 -5px 0 var(--red); }
.signbar__nav a:focus-visible, .signbar__toggle:focus-visible { outline-offset: -3px; }

/* Product carries the know-how pages as a sign that drops below the bar: hover opens it on
   pointer devices, the chevron opens it for touch and keyboard. The pages sit as stops on one line. */
.signbar__item { position: relative; display: flex; align-items: stretch; }
.signbar__item > a { padding-right: 4px; }
.signbar__toggle {
  display: flex; align-items: center;
  padding: 0 16px 0 6px;
  border: 0; background: none; color: inherit; cursor: pointer;
  transition: background-color 0.2s var(--ease-out);
}
.signbar__toggle svg { width: 18px; height: 18px; fill: currentColor; transition: transform 0.24s var(--ease-out); }
.signbar__sub {
  display: none;
  position: absolute; top: 100%; left: -1px; z-index: 1;
  min-width: 300px;
  margin: 0; padding: 10px 0; list-style: none;
  background: var(--signal);
  border-top: 1px solid #2E2E2C;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 22px 32px -18px rgb(18 18 18 / 0.6);
}
/* Closed means gone (display: none); opening drops the sign out of the bar once. */
.signbar__item.is-open > .signbar__sub { display: block; animation: sub-drop 0.24s var(--ease-out); }
.signbar__item.is-open .signbar__toggle svg { transform: rotate(180deg); }
@media (hover: hover) {
  .signbar__item:hover > .signbar__sub { display: block; animation: sub-drop 0.24s var(--ease-out); }
  .signbar__item:hover .signbar__toggle svg { transform: rotate(180deg); }
}
@keyframes sub-drop {
  from { clip-path: inset(0 -48px 100% -48px); }
  to { clip-path: inset(0 -48px -48px -48px); }
}
.signbar__sub li { position: relative; }
.signbar__sub li::before {
  content: ""; position: absolute; z-index: 1; left: 31px; top: 0; bottom: 0; width: 4px;
  background: var(--on-black-2);
}
.signbar__sub li:first-child::before { top: 50%; }
.signbar__sub li:last-child::before { bottom: 50%; }
.signbar__sub a {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 22px 14px 60px;
  font-weight: 650; font-size: 1.0625rem; letter-spacing: 0.005em;
  color: #fff; text-decoration: none;
  transition: background-color 0.2s var(--ease-out);
}
.signbar__sub a::before {
  content: ""; position: absolute; z-index: 2; left: 24px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: var(--signal); border: 4px solid #fff;
}
.signbar__sub a[aria-current="page"]::before { background: var(--red); }
.signbar__sub a:hover { background: #242423; }
.signbar__sub a:focus-visible { outline-offset: -3px; }
.signbar__sub a svg {
  flex: none; width: 18px; height: 18px; fill: var(--on-black-2);
  transition: transform 0.2s var(--ease-out), fill 0.2s var(--ease-out);
}
.signbar__sub a:hover svg { fill: #fff; transform: translateX(3px); }

/* Language switch, only on pages that exist in more than one language: the other languages,
   by code, after the menu */
.signbar__nav { margin-left: auto; }
.signbar__langs { display: flex; align-items: stretch; border-left: 1px solid #2E2E2C; }
.signbar__langs a {
  display: flex; align-items: center;
  padding: 0 18px;
  color: var(--on-black-2); font-weight: 650; font-size: 0.9375rem; letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.signbar__langs a:hover { background: #242423; color: #fff; }
.signbar__langs a:focus-visible { outline-offset: -3px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  min-height: min(calc(100svh - var(--bar-h)), 1000px);
  border-bottom: 1px solid var(--platform-deep);
}
.hero__clock {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  background: var(--platform);
  padding: 0 var(--gutter) clamp(32px, 6vh, 72px);
}
.mount {
  width: 14px; height: clamp(28px, 7vh, 72px);
  background: linear-gradient(90deg, #0d0d0d, #2a2a29 45%, #0d0d0d);
  flex: none;
}
.clock {
  margin: 0;
  width: min(66svh, 40vw, 620px);
  aspect-ratio: 1;
  filter: drop-shadow(0 18px 22px rgb(18 18 18 / 0.18)) drop-shadow(0 4px 6px rgb(18 18 18 / 0.18));
}
.clock__svg { width: 100%; height: 100%; overflow: visible; }
.clock__case { fill: #1A1A19; }
.clock__face { fill: #FDFDFB; }
.clock__ticks rect { fill: #141414; }
.clock__mark path { fill: #141414; }
.clock__hour path, .clock__minute path { fill: #121212; }
.clock__second { fill: var(--red); }
.clock__cap { fill: #121212; }
.clock__hour, .clock__minute, .clock__second { will-change: transform; }

.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  gap: 0;
  padding: clamp(40px, 6vh, 72px) var(--gutter) clamp(40px, 6vh, 72px) clamp(32px, 4.5vw, 80px);
  max-width: 820px;
}
.hero h1 {
  font-size: clamp(2.5rem, 3.6vw, 3.875rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.028em;
  max-width: 17ch;
}
.lead {
  margin-top: clamp(18px, 2.6vh, 28px);
  font-size: clamp(1.0625rem, 1.15vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 52ch;
}
.actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(22px, 3.4vh, 36px);
}

/* Sign buttons */
.sign {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px;
  padding: 0 18px 0 22px;
  font: inherit; font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.005em;
  text-decoration: none;
  border: 0; border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.sign__arrow { width: 22px; height: 22px; fill: currentColor; transition: transform 0.25s var(--ease-out); }
.sign__arrow--down { transform: rotate(90deg); }
.sign:hover .sign__arrow { transform: translateX(3px); }
.sign:hover .sign__arrow--down { transform: rotate(90deg) translateX(3px); }
.sign:active { transform: translateY(1px); }
.sign--red { background: var(--red); color: #fff; }
.sign--red:hover { background: var(--red-deep); }
.sign--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.sign--line:hover { background: var(--ink); color: #fff; }

/* ---------- Departure board ---------- */
.board {
  margin: clamp(28px, 4.4vh, 48px) 0 0;
  background: var(--signal);
  color: var(--flap-ink);
  border-radius: 4px;
  padding: 14px 16px 16px;
  max-width: 640px;
  box-shadow: 0 14px 30px -12px rgb(18 18 18 / 0.45);
}
.board__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 2px 10px;
  border-bottom: 1px solid #2E2E2C;
}
.board__title { font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; }
.board__note { font-size: 0.8125rem; color: var(--on-black-2); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.board__table {
  width: 100%;
  border-collapse: separate; border-spacing: 0 5px;
  margin-top: 6px;
  font-stretch: 66%;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}
.board__table th {
  text-align: left;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--on-black-2);
  padding: 2px 0 2px;
  font-stretch: 100%;
}
.board__table th, .board__table td { padding-right: 14px; }
.board__table th:last-child, .board__table td:last-child { padding-right: 0; }
.board__table td {
  font-size: 1.25rem; line-height: 1;
  padding-block: 0;
  white-space: nowrap;
}
/* static fallback before JS splits cells */
.board__table:not(.is-live) td { padding-block: 7px; }

.flaps { display: inline-flex; gap: 2px; }
.flap {
  position: relative;
  display: inline-grid; place-items: center;
  width: 0.74em; height: 1.4em;
  background: linear-gradient(#262625 0 49%, var(--flap-seam) 49% 51%, #1E1E1D 51%);
  border-radius: 2px;
  color: inherit;
  overflow: hidden;
}
.flap > span { position: relative; z-index: 1; transform: translateY(0.02em); }
.flap::before {
  content: ""; position: absolute; inset: 0 0 50% 0; z-index: 2;
  background: linear-gradient(#3a3a38, #2a2a29);
  transform-origin: 50% 100%;
  transform: rotateX(90deg);
  opacity: 0;
}
.flap.tick::before { animation: leaf 90ms ease-in; }
@keyframes leaf {
  0% { transform: perspective(60px) rotateX(0deg); opacity: 1; }
  100% { transform: perspective(60px) rotateX(88deg); opacity: 0.9; }
}
.flap--blank { background: linear-gradient(#232322 0 49%, var(--flap-seam) 49% 51%, #1B1B1A 51%); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 148px) var(--gutter); }
.signhead {
  display: inline-block;
  background: var(--signal); color: #fff;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 700; letter-spacing: 0;
  padding: 10px 18px 11px;
  border-radius: 3px;
}
.signhead--inverse { background: #fff; color: var(--signal); }

.product { padding-bottom: clamp(56px, 8vw, 104px); }
.product__intro {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 96px); align-items: end;
}
.statement {
  font-size: clamp(2.25rem, 4.6vw, 4.75rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.03em;
  text-wrap: balance;
}
.intro-copy { font-size: 1.1875rem; color: var(--ink-2); max-width: 40ch; }
/* one word in a statement set like a sign: white on railway red */
.statement mark {
  background: var(--red); color: #fff;
  padding: 0 0.12em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Route line */
.line {
  list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}
.line::before {
  content: ""; position: absolute; left: 13px; right: 0; top: 13px; height: 8px;
  background: var(--signal);
}
.line::after {
  content: ""; position: absolute; right: -2px; top: 6px;
  border-left: 18px solid var(--signal); border-block: 11px solid transparent;
}
.line__stop { position: relative; padding: 64px 32px 0 0; }
.line__stop::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 7px solid var(--signal);
}
.line__stop:first-child::before { background: var(--red); border-color: var(--signal); }
.line__stop h3 { font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.2; }
.line__stop p { margin-top: 12px; color: var(--ink-2); max-width: 34ch; }

/* What mosprobe measures */
.measures { background: var(--platform); }
.measures__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: clamp(32px, 6vw, 112px); align-items: start;
}
.measures__aside { position: sticky; top: calc(var(--bar-h) + 40px); }
.measures__aside h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.04; letter-spacing: -0.025em; }
.measures__aside p { margin-top: 20px; color: var(--ink-2); max-width: 36ch; }
.timetable { margin: 0; border-top: 3px solid var(--signal); }
.timetable__row {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 24px;
  padding: 26px 0 28px;
  border-bottom: 1px solid #B8B8B2;
}
.timetable dt { font-weight: 750; font-size: 1.3125rem; line-height: 1.2; }
.timetable dd { margin: 0; color: var(--ink-2); max-width: 62ch; }

/* mosprobe-ng */
.ng__grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 104px); align-items: center;
}
/* a studio photo on its own backdrop, framed like the panels below it */
.ng__main { margin: 0; }
.ng__main img { width: 100%; height: auto; border-radius: 4px; }
.ng__details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: clamp(24px, 3vw, 40px);
}
.ng__details figure { margin: 0; background: linear-gradient(225deg, var(--studio-deep), var(--studio) 65%); border-radius: 4px; padding: 16px 16px 14px; }
.ng__details img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.ng__main figcaption, .ng__details figcaption, .about__figure figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.ng__copy h2 { font-size: clamp(2.5rem, 4.4vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; }
.ng__sub { margin-top: 10px; font-size: 1.375rem; font-weight: 650; }
.ng__copy p:not(.ng__sub):not(.swiss) { margin-top: 20px; color: var(--ink-2); max-width: 44ch; }
.swiss {
  margin-top: 28px;
  display: inline-block;
  padding-top: 14px;
  border-top: 4px solid var(--red);
  font-weight: 700; font-size: 1.125rem;
}

/* Coast Guard: an access-to-core line */
.coast { background: var(--platform); }
.coast__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 112px); align-items: center;
}
.coast__line {
  position: relative;
  display: flex; justify-content: space-between;
  padding-top: 54px;
}
.coast__track {
  position: absolute; left: 17px; right: 17px; top: 13px; height: 8px;
  background: var(--signal);
}
.coast__stop { position: relative; font-weight: 700; font-size: 1.0625rem; }
.coast__stop::before {
  content: ""; position: absolute; top: -54px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--enamel); border: 7px solid var(--signal);
}
.coast__track + .coast__stop::before { left: 0; }
.coast__stop:last-of-type { text-align: right; }
.coast__stop + .coast__stop:not(:last-of-type) { text-align: center; }
.coast__stop + .coast__stop:not(:last-of-type)::before { left: 50%; transform: translateX(-50%); }
.coast__stop:last-of-type::before { right: 0; }
.coast__stop small { display: block; font-weight: 500; font-size: 0.9375rem; color: var(--ink-2); }
.coast__copy h2 { font-size: clamp(2.25rem, 3.6vw, 3.75rem); letter-spacing: -0.03em; line-height: 1; }
.coast__sub { margin-top: 10px; font-size: 1.375rem; font-weight: 650; }
.coast__sub + p { margin-top: 18px; color: var(--ink-2); max-width: 54ch; }
.coast__copy .row-link { margin-top: 18px; }

/* Ops */
.ops h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); letter-spacing: -0.025em; line-height: 1.04; }
/* One direction sign: labels on a black band, the descriptions beneath each sign */
.dirsign {
  position: relative;
  margin: clamp(32px, 4vw, 56px) 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
}
.dirsign::before {
  content: ""; grid-row: 1; grid-column: 1 / -1;
  background: var(--signal); border-radius: 4px;
  margin-inline: calc(-1 * clamp(12px, 1.5vw, 24px));
}
.dirsign dt {
  grid-row: 1; position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0;
  color: #fff; font-weight: 750; font-size: 1.375rem; line-height: 1.15;
}
.dirsign dd { grid-row: 2; margin: 0; padding-top: 18px; color: var(--ink-2); max-width: 32ch; }
.dirsign dt:nth-of-type(1), .dirsign dd:nth-of-type(1) { grid-column: 1; }
.dirsign dt:nth-of-type(2), .dirsign dd:nth-of-type(2) { grid-column: 2; }
.dirsign dt:nth-of-type(3), .dirsign dd:nth-of-type(3) { grid-column: 3; }
.dirsign dt:nth-of-type(4), .dirsign dd:nth-of-type(4) { grid-column: 4; }
.picto { flex: none; width: 40px; height: 40px; fill: #fff; }
.picto path[fill="#fff"], .picto circle[stroke="#fff"], .picto rect[fill="#fff"] { fill: var(--signal); stroke: var(--signal); }
.picto circle[stroke="#fff"] { fill: none; }
.picto rect[fill="#121212"] { fill: #fff; }

/* Mission */
.mission { background: var(--signal); color: #fff; }
.mission__lead {
  font-size: clamp(2.125rem, 4.4vw, 4.5rem);
  font-weight: 800; line-height: 1.03; letter-spacing: -0.03em;
  max-width: 20ch;
  text-wrap: balance;
}
.mission__list {
  margin: clamp(48px, 6vw, 88px) 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.mission__list > div { border-top: 3px solid var(--red); padding-top: 18px; }
.mission__list dt { font-weight: 750; font-size: 1.25rem; }
.mission__list dd { margin: 8px 0 0; color: var(--on-black-2); }

/* About */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 112px); align-items: start;
}
.about__lead {
  font-size: clamp(1.5rem, 2.2vw, 2.125rem); font-weight: 650; line-height: 1.2; letter-spacing: -0.015em;
  max-width: 30ch;
}
.about__copy p:not(.about__lead) { margin-top: 20px; color: var(--ink-2); max-width: 60ch; }
.about__md { color: var(--ink) !important; }
.about__figure { margin: 8px 0 0; }
.about__figure img { width: 100%; height: auto; border-radius: 4px; mix-blend-mode: multiply; }

/* Contact */
.contact { background: var(--platform); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 112px); align-items: start;
}
.infosign {
  margin-top: clamp(28px, 3vw, 44px);
  font-style: normal;
  display: block;
  background: var(--signal); color: #fff;
  border-radius: 4px;
  padding: 24px 28px 26px;
  font-size: 1.3125rem; line-height: 1.45; font-weight: 500;
  max-width: 420px;
}
.infosign strong { display: block; font-weight: 750; margin-bottom: 4px; }
.contact__lines { margin: 24px 0 0; max-width: 420px; }
.contact__lines > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid #B8B8B2;
}
.contact__lines dt { font-weight: 700; }
.contact__lines dd { margin: 0; }
.pending { color: var(--ink-3); font-style: italic; }
.contact__block { margin-top: 28px; max-width: 420px; }
.contact__block h3 { font-size: 1.0625rem; line-height: 1.55; letter-spacing: 0; }
.contact__block p { margin-top: 4px; color: var(--ink-2); }
/* Arrow link to a know-how page: a small line sign, the arrow nudges on hover */
.row-link {
  display: flex; width: fit-content; align-items: center; gap: 8px;
  margin-top: 12px;
  font-weight: 650; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
  transition: color 0.2s var(--ease-out);
}
.row-link svg { flex: none; width: 18px; height: 18px; fill: currentColor; transition: transform 0.25s var(--ease-out); }
.row-link:hover { color: var(--red-deep); }
.row-link:hover svg { transform: translateX(3px); }

.knowhow { margin-top: 28px; }
.knowhow__title { font-weight: 750; }
.knowhow ul { list-style: none; margin: 0; padding: 0; }
.knowhow .row-link { margin-top: 10px; }

.form {
  background: var(--enamel);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 40px);
  display: grid; gap: 18px;
  box-shadow: 0 1px 0 rgb(18 18 18 / 0.06), 0 18px 40px -24px rgb(18 18 18 / 0.35);
}
.form__title { font-size: 1.5rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: 0.9375rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  background: #fff;
  border: 2px solid #8E8E88; border-radius: 3px;
  padding: 11px 13px;
  transition: border-color 0.2s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.form .sign { justify-self: start; }
.form__note { font-size: 0.875rem; color: var(--ink-2); }
.form__note a { color: var(--ink); }
.form__status { min-height: 1.5em; font-weight: 600; color: var(--ink); }
.form__status.is-error { color: var(--red-deep); }

/* ---------- Home page told in chapters ---------- */
/* Each chapter opens with a numbered sign, like a platform number, and the black plate with an
   arrow leads on to the next. Grounds change between chapters only. */
.chapter { padding-block: clamp(64px, 8vw, 112px); }
.kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(24px, 3vw, 40px);
  font-weight: 700; font-size: 1.125rem;
}
.kicker__no {
  flex: none; display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: linear-gradient(#262625 0 49%, var(--flap-seam) 49% 51%, #1E1E1D 51%);
  color: #fff; border-radius: 3px;
  font-size: 1.375rem; font-weight: 750; font-variant-numeric: tabular-nums;
}
.onward {
  display: flex; align-items: center; gap: 16px;
  margin-top: clamp(56px, 7vw, 96px);
  font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em;
  max-width: 44ch;
}
.onward__plate {
  flex: none; display: inline-grid; place-items: center;
  width: 40px; height: 40px; background: var(--signal); border-radius: 3px;
}
.onward__arrow { width: 24px; height: 24px; fill: #fff; transition: transform 0.25s var(--ease-out); }
/* a line that names the next chapter is a link: it points down and scrolls there */
.onward--link { color: inherit; text-decoration: none; width: fit-content; }
.onward--link > span:last-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.onward__arrow--down { transform: rotate(90deg); }
.onward--link:hover .onward__arrow--down { transform: rotate(90deg) translateX(3px); }
.onward--link:hover > span:last-child { text-decoration-thickness: 2px; }
.mission .onward { color: #fff; }
.mission .onward__plate { box-shadow: inset 0 0 0 1px #3A3A38; }

/* the mission as a band under the hero, continuing its headline */
.mission--band { padding-block: clamp(48px, 6vw, 80px); }
/* on the black band the chapter sign reads white, its plate set off by a fine edge */
.mission .kicker { color: #fff; }
.mission .kicker__no { box-shadow: inset 0 0 0 1px #3A3A38; }
.mission--band .mission__lead { font-size: clamp(1.75rem, 3vw, 2.875rem); max-width: 26ch; }
.mission--band .mission__list { margin-top: clamp(32px, 4vw, 56px); }
/* the statement beside a picture with the line it stands for */
.mission__head--image { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: end; }  /* the statement sits down on the list below, the picture rises above it */
.mission__figure { margin: 0; }
.mission__figure img { width: 100%; height: auto; border-radius: 4px; }
.mission__figure figcaption { margin-top: 16px; }
.mission__quote { display: block; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.4; font-weight: 600; quotes: "„" "“"; }
html:lang(en) .mission__quote { quotes: "“" "”"; }
.mission__source { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--on-black-2); }

.probe__ng { margin-top: clamp(56px, 7vw, 96px); }
.probe__ng h3 { font-size: clamp(2.25rem, 3.6vw, 3.75rem); letter-spacing: -0.03em; line-height: 1; }
.probe__measures { margin-top: clamp(72px, 9vw, 128px); }
/* data sheet beside the product photo, a small timetable */
.sheet { margin: 24px 0 0; max-width: 460px; border-top: 3px solid var(--signal); }
.sheet > div {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px;
  padding: 8px 0; border-bottom: 1px solid #B8B8B2; font-size: 0.9375rem;
}
.sheet dt { font-weight: 700; }
.sheet dd { margin: 0; color: var(--ink-2); }
p.note { font-size: 0.875rem; color: var(--ink-2); }
.ng__copy p.note { margin-top: 10px; font-size: 0.875rem; }
.ng__copy p.note + .swiss { margin-top: 24px; }

/* Dimension lines on the product photo, drawn in its own pixels; the labels stay text */
.dims__stage { position: relative; }
.dims { position: absolute; inset: 0; }
.dims svg { width: 100%; height: 100%; overflow: visible; }
.dims path { fill: none; stroke: var(--signal); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.dims marker path { fill: var(--signal); stroke: none; }
.dims__ext { stroke-width: 1px !important; }
.dims__label {
  position: absolute; transform: translate(-50%, -50%) rotate(var(--a));
  white-space: nowrap; font-size: 0.9375rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
/* scroll scene: the dimension lines draw, then the figures appear */
.dims.is-armed path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dims.is-armed marker path { stroke-dasharray: none; }
.dims.is-armed .dims__line { marker-start: none; marker-end: none; }
.dims.is-armed .dims__label { opacity: 0; }
.dims.is-run path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease-out); }
.dims.is-run .dims__line { marker-start: url(#dim-arrow); marker-end: url(#dim-arrow); transition-delay: 0.3s; }
.dims.is-run .dims__label { opacity: 1; transition: opacity 0.6s var(--ease-out) 0.9s; }

/* The rear panel: a sign per port on a leader line, above or below the device. On phones the
   ports carry numbers and the list beneath names them; the list is always there for screen readers. */
.rear { margin: clamp(56px, 7vw, 96px) 0 0; }
.rear__stage { position: relative; }
.rear__stage img { width: 100%; height: auto; border-radius: 4px; }
.rear__marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.rear__mark { position: absolute; left: var(--x); width: 0; }
.rear__mark--up { top: 11%; bottom: calc(100% - var(--y)); }
.rear__mark--down { top: var(--y); bottom: 11%; }
.rear__mark::before {
  content: ""; position: absolute; z-index: 1; left: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 3px rgb(255 255 255 / 0.85);
}
.rear__mark--up::before { bottom: -6px; }
.rear__mark--down::before { top: -6px; }
.rear__mark::after { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--signal); }
.rear__label {
  position: absolute; left: 0; transform: translateX(-50%);
  white-space: nowrap;
  background: var(--signal); color: #fff; border-radius: 3px;
  padding: 5px 9px; font-size: 0.8125rem; font-weight: 700; line-height: 1.2;
}
.rear__mark--up .rear__label { bottom: 100%; }
.rear__mark--down .rear__label { top: 100%; }
.rear__no { display: none; }
.rear figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.rear__legend {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0;
}
.probe__details { margin-top: 20px; }
/* scroll scene: the signs fade in one after the other, left to right, their lines growing from the port */
.rear__marks.is-armed .rear__mark { opacity: 0; }
.rear__marks.is-armed .rear__mark--up::after { transform: scaleY(0); transform-origin: bottom; }
.rear__marks.is-armed .rear__mark--down::after { transform: scaleY(0); transform-origin: top; }
.rear__marks.is-run .rear__mark { opacity: 1; transition: opacity 0.8s var(--ease-out) calc(var(--k) * 0.25s); }
.rear__marks.is-run .rear__mark::after { transform: none; transition: transform 0.6s var(--ease-out) calc(var(--k) * 0.25s); }
.probe__measures h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.06; letter-spacing: -0.025em; }
/* the board's word for each test, as a row of flaps above the term */
.timetable dt .flaps {
  display: flex; margin-bottom: 10px;
  color: var(--flap-ink); font-size: 1.0625rem; line-height: 1;
  font-stretch: 66%; font-weight: 620; font-variant-numeric: tabular-nums; text-transform: uppercase;
}

.network { background: var(--platform); }
.network .intro-copy p + p { margin-top: 12px; }
/* one line from the customer through the network to the core */
.netline {
  list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  position: relative;
}
.netline::before {
  content: ""; position: absolute; left: 13px; right: 0; top: 13px; height: 8px;
  background: var(--signal);
}
.netline::after {
  content: ""; position: absolute; right: -2px; top: 6px;
  border-left: 18px solid var(--signal); border-block: 11px solid transparent;
}
.netline__stop { position: relative; padding: 60px 28px 0 0; }
.netline__stop::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--enamel); border: 7px solid var(--signal);
}
.netline__stop:first-child::before { background: var(--red); }
.netline__stop h3 { font-size: 1.3125rem; line-height: 1.2; }
.netline__stop p { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; max-width: 30ch; }
.network__product { margin-top: clamp(64px, 8vw, 104px); max-width: 720px; }
.network__product h3 { font-size: clamp(2.25rem, 3.6vw, 3.75rem); letter-spacing: -0.03em; line-height: 1; }
.network__product--plan {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
/* the night scene: a black panel like the boards, the network dim outside the beam and lit inside it */
.nightwatch { margin: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 14px 30px -12px rgb(18 18 18 / 0.45); }
.nightwatch > svg { display: block; width: 100%; height: auto; }
.nightwatch__sky { fill: #0E0E0E; } /* the ground of the lighthouse illustration */
.nw__links { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.nw__sites, .nw__hubs { stroke: none; }
.nightwatch__dim .nw__links { stroke: #262625; }
.nightwatch__dim .nw__sites, .nightwatch__dim .nw__hubs { fill: #333331; }
.nightwatch__lit .nw__links { stroke: #D9D9D3; }
.nightwatch__lit .nw__sites, .nightwatch__lit .nw__hubs { fill: #F4F4EF; }
.nightwatch__lit .nw__hubs { stroke: var(--signal); stroke-width: 2.5; }
.nightwatch__fault { fill: #3A0006; }
.nightwatch__fault-lit { fill: var(--red); }
.nightwatch__fault-glow { fill: var(--red); opacity: 0.55; }
.nightwatch__halo { fill: #fff; opacity: 0.35; }
.nightwatch__alarm { fill: none; stroke: var(--red); stroke-width: 2.5; }
.nightwatch.is-searching .nightwatch__alarm { visibility: hidden; }
.nightwatch.is-live { cursor: crosshair; }
.nightwatch.is-on-node { cursor: pointer; }
.nightwatch__test text { font-family: inherit; }
.network__ops { margin-top: clamp(64px, 8vw, 104px); }
.network__ops h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.06; letter-spacing: -0.025em; }

.about__media .ng__details { margin-top: 20px; }

/* Scroll scenes (script.js, only with motion allowed): the line runs from the customer to the
   core at an even pace, and each stop turns black as the line reaches it */
.netline.is-armed::before { transform: scaleX(0); transform-origin: left center; }
.netline.is-armed::after { opacity: 0; }
.netline.is-armed .netline__stop::before { border-color: var(--platform-deep); background: var(--enamel); }
/* transitions only on the way in, so arming hides the line at once */
.netline.is-run::before { transform: none; transition: transform 1.6s linear; }
.netline.is-run::after { opacity: 1; transition: opacity 0.3s 1.5s; }
.netline.is-run .netline__stop::before {
  border-color: var(--signal);
  transition: border-color 0.2s, background-color 0.2s;
  transition-delay: calc(var(--i) * 1.6s / var(--n));
}
.netline.is-run .netline__stop:first-child::before { background: var(--red); }
.about__copy p.kicker { margin-top: 0; color: var(--ink); }

/* Footer */
.footer { background: var(--signal); color: var(--on-black-2); padding: 48px var(--gutter) 56px; font-size: 0.9375rem; }
.footer__grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px); align-items: start;
}
.footer__logo { height: 24px; width: auto; }
.footer__legal p + p { margin-top: 8px; }
.footer__legal a { color: #fff; }
.footer__legal a:hover { color: #fff; text-decoration-thickness: 2px; }
.footer__tm, .footer__licenses { font-size: 0.6875rem; line-height: 1.5; letter-spacing: 0.01em; max-width: 96ch; }
/* the PESQ and POLQA notices, word for word, as the agreements require */
.footer__licenses { margin-top: 20px; padding-top: 16px; border-top: 1px solid #2E2E2C; }
.footer__licenses h2 { font-size: inherit; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer__swiss { width: 200px; height: auto; filter: invert(1); opacity: 0.85; }

/* ---------- Error pages: a departure board hung from the sign bar ---------- */
/* The requested address leaves first and does not run; the site's pages follow on time, one link per row.
   Every row shares one grid measured in flaps, so the columns line up like a real board. */
/* names such as x-fabric and ITU-T, kept whole by the build (NOBREAK in tools/build.py) */
.nobr { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.oops {
  background: var(--platform);
  min-height: calc(100svh - var(--bar-h));
  padding: 0 var(--gutter) clamp(56px, 9vh, 112px);
}
.oops__inner { max-width: 880px; margin-inline: auto; }
.oops__hang { position: relative; padding-top: clamp(28px, 7vh, 72px); }
.oops__hang::before, .oops__hang::after {
  content: ""; position: absolute; top: 0;
  width: 14px; height: clamp(28px, 7vh, 72px);
  background: linear-gradient(90deg, #0d0d0d, #2a2a29 45%, #0d0d0d);
}
.oops__hang::before { left: 14%; }
.oops__hang::after { right: 14%; }
.oops .board { max-width: none; margin: 0; padding: 16px 20px 20px; }

.departures {
  --fw: calc(0.74em + 2px);
  margin-top: 10px;
  font-size: clamp(0.8125rem, 2.6vw, 2rem);
  font-stretch: 66%; font-weight: 620;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}
.departures ol { list-style: none; margin: 0; padding: 0; }
.dep {
  display: grid;
  grid-template-columns: calc(5 * var(--fw)) calc(14 * var(--fw)) calc(9 * var(--fw)) minmax(1em, 1fr);
  column-gap: 0.6em; align-items: center;
  padding: 3px 6px; margin-inline: -6px;
  border-radius: 3px;
  line-height: 1;
  color: inherit; text-decoration: none;
}
.departures li + li { margin-top: 4px; }
.dep--head {
  padding-block: 0 6px;
  color: var(--on-black-2);
}
/* labels shrink, the row keeps the board's size so its columns line up with the flaps */
.dep--head > span {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  font-stretch: 100%;
}
/* static fallback before the script splits cells into flaps */
.departures:not(.is-live) .dep:not(.dep--head) { padding-block: 9px; }
.dep__go { width: 1em; height: 1em; justify-self: end; fill: var(--on-black-2); transition: fill 0.2s var(--ease-out), transform 0.25s var(--ease-out); }
a.dep { transition: background-color 0.2s var(--ease-out); }
a.dep:hover { background: #2E2E2C; }
a.dep:hover .dep__go { fill: #fff; transform: translateX(3px); }
a.dep:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.dep--off .dep__remark .flap {
  background: linear-gradient(var(--red) 0 49%, #5C0008 49% 51%, var(--red-deep) 51%);
  color: #fff;
}
.departures:not(.is-live) .dep--off .dep__remark { color: #FF6B74; }

.oops__copy { margin-top: clamp(36px, 5vh, 56px); }
.oops__copy h1 {
  font-size: clamp(2.5rem, 3.6vw, 3.875rem);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.028em;
}

@media (max-width: 560px) {
  .oops .board { padding: 12px 10px 14px; }
  .departures { font-size: min(1.25rem, 3.7vw); }
  .dep { grid-template-columns: calc(14 * var(--fw)) calc(9 * var(--fw)) minmax(1em, 1fr); }
  .dep__time { display: none; }
  .oops__copy h1 { font-size: clamp(2.25rem, 10vw, 2.75rem); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__clock { padding-bottom: 40px; }
  .clock { width: min(72vw, 52svh, 520px); }
  .hero__copy { max-width: none; padding-left: var(--gutter); }
  .board { max-width: none; }
  .mission__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission__head--image { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  /* the direction sign splits into one sign per line, its description beneath */
  .dirsign { display: block; }
  .dirsign::before { display: none; }
  .dirsign dt { background: var(--signal); border-radius: 4px; padding: 12px 16px; margin-top: 24px; }
  .dirsign dt:first-of-type { margin-top: 0; }
  .dirsign dd { padding-top: 12px; max-width: 60ch; }
}

@media (max-width: 820px) {
  :root { --bar-h: 104px; }
  .signbar { flex-direction: column; align-items: stretch; height: auto; padding: 0; }
  .signbar__logo { height: 56px; padding: 0 var(--gutter); }
  .signbar__logo img { height: 22px; }
  .signbar__nav { border-top: 1px solid #2E2E2C; height: 48px; gap: 0; margin-left: 0; }
  .signbar__nav > a, .signbar__item { flex: 1; }
  .signbar__nav > a, .signbar__item > a { justify-content: center; padding: 0 6px; font-size: 0.9375rem; }
  .signbar__nav > :first-child { border-left: 0; }
  /* Product needs room for its chevron; its sign drops across the full width of the bar */
  .signbar__item { flex: 1.35; position: static; }
  .signbar__item > a { flex: 1; padding-right: 2px; }
  .signbar__toggle { padding: 0 12px 0 2px; }
  .signbar__sub { left: 0; right: 0; min-width: 0; border-radius: 0; }
  /* the language switch moves up into the logo row */
  .signbar__langs { position: absolute; top: 0; right: 0; height: 56px; border-left: 0; }
  .signbar__langs a { padding: 0 var(--gutter); }

  .product__intro, .measures__grid, .ng__grid, .coast__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .measures__aside { position: static; }
  .coast__copy { order: -1; }
  .coast__line { margin-top: 8px; }
  .timetable__row { grid-template-columns: 1fr; gap: 8px; }

  .line, .netline { grid-template-columns: 1fr; grid-auto-flow: row; gap: 40px; }
  .network__product--plan { grid-template-columns: 1fr; }
  .netline__stop { padding: 0 0 0 64px; }
  .netline__stop::before { z-index: 1; }
  .netline::before, .netline::after { display: none; }
  .netline__stop:not(:last-child)::after {
    content: ""; position: absolute; left: 13px; top: 17px; bottom: -57px; width: 8px;
    background: var(--signal);
  }
  /* on phones the line runs down, one segment after the other */
  .netline.is-armed .netline__stop::after { transform: scaleY(0); transform-origin: top; }
  .rear__label, .rear__mark::before, .rear__mark::after { display: none; }
  .dims__label { font-size: 0.75rem; }
  .rear__mark--up, .rear__mark--down { top: var(--y); bottom: auto; }
  .rear__no {
    display: grid; place-items: center;
    position: absolute; left: -9px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--signal); color: #fff; font-size: 0.6875rem; font-weight: 700;
    box-shadow: 0 0 0 2px #fff;
  }
  .rear__mark--up .rear__no { top: -24px; }
  .rear__mark--down .rear__no { top: 6px; }
  .rear__legend {
    position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal;
    margin: 12px 0 0; padding-left: 1.5em; columns: 2; column-gap: 24px; color: var(--ink);
  }
  .sheet > div { grid-template-columns: 96px minmax(0, 1fr); }
  .netline.is-run .netline__stop::before { transition-delay: calc(var(--i) * 0.5s); }
  .netline.is-run .netline__stop::after { transform: none; transition: transform 0.5s linear calc(var(--i) * 0.5s + 0.15s); }
  .line::before, .line::after { display: none; }
  .line__stop { padding: 0 0 0 64px; }
  .line__stop::before { z-index: 1; }
  .line__stop:not(:last-child)::after {
    content: ""; position: absolute; left: 13px; top: 17px; bottom: -57px; width: 8px;
    background: var(--signal);
  }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.25rem, 10vw, 2.75rem); }
  .clock { width: min(64vw, 40svh); }
  .mount { height: 22px; }
  .hero__clock { padding-bottom: 28px; }
  .actions .sign { flex: 1 1 auto; justify-content: space-between; }
  .board { padding: 12px 10px 14px; }
  .board__table .col-path { display: none; }
  .board__table td { font-size: 1.1875rem; }
  .mission__list { grid-template-columns: 1fr; }
  .ng__details { grid-template-columns: 1fr; }
  .footer__swiss { width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Clean Room (Roman, 2026-11-15): lighter type, more air, hairlines, white split flaps, IBM Plex
   Sans for headings. Laid over the rules above; the earlier dark design without it is archived in
   archive/design-dark-2026-11-15/.
   ========================================================================== */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Type: lighter weights, a little smaller, more open ---------- */
body { line-height: 1.65; }
h1, h2, h3 { font-weight: 560; letter-spacing: -0.01em; }
.hero h1 { font-weight: 520; font-size: clamp(2.25rem, 3.1vw, 3.375rem); letter-spacing: -0.02em; line-height: 1.08; }
.statement { font-weight: 520; font-size: clamp(2rem, 3.8vw, 3.75rem); letter-spacing: -0.02em; line-height: 1.08; }
.mission__lead { font-weight: 520; }
.about__lead { font-weight: 450; }
.ng__copy h2, .probe__ng h3, .network__product h3, .coast__copy h2 { font-weight: 540; letter-spacing: -0.02em; }
.measures__aside h2, .probe__measures h3, .network__ops h3, .ops h2 { font-weight: 540; }
.ng__sub, .coast__sub { font-weight: 500; }
.timetable dt, .mission__list dt, .line__stop h3, .netline__stop h3 { font-weight: 560; }
.sign { font-weight: 600; border-radius: 6px; }
.sign--line { box-shadow: inset 0 0 0 1px var(--ink); }
.row-link { font-weight: 560; }
.lead, .intro-copy { color: var(--ink-2); }

/* ---------- Air: more room around and between the parts ---------- */
.section { padding: clamp(96px, 13vw, 184px) var(--gutter); }
.chapter { padding-block: clamp(120px, 14vw, 216px); }
.mission--band { padding-block: clamp(96px, 11vw, 160px); }
.probe__ng, .rear { margin-top: clamp(80px, 9vw, 136px); }
.probe__measures { margin-top: clamp(96px, 11vw, 168px); }
.netline { margin-top: clamp(72px, 8vw, 112px); }
.network__product, .network__ops { margin-top: clamp(88px, 10vw, 144px); }
.onward { margin-top: clamp(80px, 9vw, 128px); font-weight: 560; }
.timetable__row { padding: 32px 0 34px; }
.form { padding: clamp(28px, 3.4vw, 48px); gap: 22px; }

/* ---------- Sign bar and footer: light, closed by a hairline ---------- */
.signbar { background: rgb(251 252 253 / 0.92); color: var(--ink); border-bottom: 1px solid var(--hair); backdrop-filter: blur(10px); }
.signbar__nav > a, .signbar__item > a { font-weight: 520; }
.signbar__nav > a, .signbar__item, .signbar__langs { border-left-color: var(--hair); }
.signbar__nav > a:hover, .signbar__item > a:hover, .signbar__toggle:hover { background: var(--platform); }
.signbar__nav > a.is-current, .signbar__item.is-current { box-shadow: inset 0 -2px 0 var(--red); }
.signbar__langs a { color: var(--ink-3); }
.signbar__langs a:hover { background: var(--platform); color: var(--ink); }
.signbar__sub { background: #fff; border-top-color: var(--hair); box-shadow: var(--soft-shadow); }
.signbar__sub a { color: var(--ink); font-weight: 520; }
.signbar__sub a:hover { background: var(--platform); }
.signbar__sub li::before { background: var(--platform-deep); width: 2px; left: 32px; }
.signbar__sub a::before { background: #fff; border: 2px solid var(--ink); }
.footer { background: var(--platform); color: var(--ink-2); border-top: 1px solid var(--hair); }
.footer__legal a, .footer__legal a:hover { color: var(--ink); }
.footer__licenses { border-top-color: var(--hair); }
.footer__licenses h2 { color: var(--ink); }
.footer__swiss { filter: none; opacity: 0.7; }
.footer__made { display: flex; align-items: center; gap: 10px; }
.footer__flag { flex: none; width: 22px; height: 22px; border-radius: 2px; }

/* ---------- Split flaps in white ---------- */
.board {
  background: #fff; color: var(--ink);
  border: 1px solid var(--hair); border-radius: 12px;
  box-shadow: var(--soft-shadow);
}
.board__head { border-bottom-color: var(--hair); }
.board__note, .board__table th, .dep--head { color: var(--ink-3); }
.flap {
  background: linear-gradient(#FFFFFF 0 49%, #D3DAE1 49% 51%, #F2F5F8 51%);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #E1E7EC;
  color: var(--ink);
}
.flap::before { background: linear-gradient(#F7F9FB, #E8EDF1); }
.flap--blank { background: linear-gradient(#F8FAFB 0 49%, #DCE2E8 49% 51%, #EEF2F5 51%); }
a.dep:hover { background: var(--platform); }
.dep__go { fill: var(--ink-3); }
a.dep:hover .dep__go { fill: var(--ink); }
.timetable dt .flaps { color: var(--ink); }
.kicker__no {
  background: linear-gradient(#FFFFFF 0 49%, #D3DAE1 49% 51%, #F2F5F8 51%);
  color: var(--ink); border-radius: 6px; box-shadow: inset 0 0 0 1px #E1E7EC, 0 4px 12px -6px rgb(30 42 54 / 0.3);
  font-weight: 560;
}
.onward__plate { background: #fff; border: 1px solid var(--hair); border-radius: 6px; }
.onward__arrow { fill: var(--ink); }

/* ---------- Black surfaces become light ones with hairlines ---------- */
.mission { background: var(--platform); color: var(--ink); }
.mission__list > div { border-top-width: 2px; }
.mission__list dd { color: var(--ink-2); }
.mission .kicker, .mission .onward { color: var(--ink); }
.mission__figure img { mix-blend-mode: multiply; border-radius: 12px; }

/* its white ground takes the band's grey */
.mission__quote { font-family: "IBM Plex Sans", "Archivo", Arial, sans-serif; font-weight: 500; }
.mission .kicker__no { box-shadow: inset 0 0 0 1px #E1E7EC, 0 4px 12px -6px rgb(30 42 54 / 0.3); }
.mission .onward__plate { box-shadow: none; }
.dirsign::before { background: transparent; border-block: 1px solid var(--hair); border-radius: 0; }
.dirsign dt { color: var(--ink); font-weight: 560; }
.picto { fill: var(--signal); }
.picto path[fill="#fff"], .picto circle[stroke="#fff"], .picto rect[fill="#fff"] { fill: #fff; stroke: #fff; }
.picto circle[stroke="#fff"] { fill: none; }
.picto rect[fill="#121212"] { fill: var(--signal); }
.signhead { background: none; color: var(--ink); padding: 0; font-weight: 560; font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.infosign { background: #fff; color: var(--ink); border: 1px solid var(--hair); border-radius: 12px; box-shadow: var(--soft-shadow); font-weight: 400; }
.infosign strong { font-weight: 600; }
.contact__lines > div { border-bottom-color: var(--hair); }
.field input, .field textarea { border: 1px solid #C3CCD5; border-radius: 6px; }
.form { box-shadow: var(--soft-shadow); border: 1px solid var(--hair); border-radius: 12px; }
.rear__label { background: #fff; color: var(--ink); border: 1px solid var(--hair); border-radius: 6px; font-weight: 600; box-shadow: 0 4px 12px -6px rgb(30 42 54 / 0.3); }
.rear__mark::after { background: var(--ink-2); width: 1px; left: -0.5px; }
.rear__no { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--hair); }
.nightwatch { border-radius: 12px; box-shadow: var(--soft-shadow); }

/* ---------- Bars and tracks become hairlines and thin lines ---------- */
.timetable, .sheet { border-top: 1px solid var(--ink-3); }
.timetable__row { border-bottom-color: var(--hair); }
.swiss { border-top-width: 2px; font-weight: 560; }
.line::before, .netline::before { height: 3px; top: 15px; }
.line::after, .netline::after { top: 9px; border-left-width: 14px; border-block-width: 7px; }
.line__stop::before, .netline__stop::before { border-width: 3px; }
.netline.is-armed .netline__stop::before { border-color: var(--platform-deep); }

/* ---------- Error pages and the hanging stems ---------- */
.oops__copy h1 { font-weight: 520; letter-spacing: -0.02em; }
.mount, .oops__hang::before, .oops__hang::after { background: linear-gradient(90deg, #9AA5B0, #D3DAE0 45%, #9AA5B0); }

/* ---------- Headings in IBM Plex Sans ---------- */
h1, h2, h3, h4, .statement, .mission__lead, .about__lead, .signhead, .hero h1, .oops__copy h1, .ng__copy h2, .probe__ng h3, .network__product h3, .measures__aside h2, .probe__measures h3, .network__ops h3, .kicker, .onward {
  font-family: "IBM Plex Sans", "Archivo", Arial, sans-serif;
  font-stretch: 100%;
  font-weight: 560;
  letter-spacing: -0.01em;
}
.timetable dt, .mission__list dt, .line__stop h3, .netline__stop h3, .dirsign dt {
  font-family: "IBM Plex Sans", "Archivo", Arial, sans-serif; font-stretch: 100%; font-weight: 540;
}
