:root {
  --white: #ffffff;
  --ink: #111111;
  --red: #eb0000;
  --blue: #1d4ed8;
  --paper: #f7f7f3;
  --line: #d8d8d2;
  --muted: #62625e;
  --soft: #efefea;
  --shadow: 0 28px 80px rgba(17, 17, 17, 0.14);
  --grid: minmax(18px, 1fr) repeat(12, minmax(0, 92px)) minmax(18px, 1fr);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-color: var(--red) var(--ink);
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px) 50% 0 / calc((100vw - 36px) / 6) 100%,
    repeating-linear-gradient(0deg, transparent 0, transparent 47px, rgba(17, 17, 17, 0.035) 47px, rgba(17, 17, 17, 0.035) 48px),
    var(--white);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--ink);
  background: var(--red);
}

button {
  border: 0;
  border-radius: 0;
  font: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.18;
  background-image:
    linear-gradient(115deg, rgba(17, 17, 17, 0.035), transparent 28%),
    repeating-radial-gradient(circle at 0 0, rgba(17, 17, 17, 0.14) 0 0.7px, transparent 0.8px 3px);
  mix-blend-mode: multiply;
}

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

a:hover {
  color: var(--red);
}

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

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

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip:focus {
  transform: translateY(0);
}

.mono,
.nav-clock,
.mono-caption,
.board,
.fare,
.ticker,
.footer-legal {
  font-family: 'Chivo Mono', monospace;
  font-feature-settings: "tnum" 1, "case" 1;
  font-variant-numeric: tabular-nums;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: stretch;
  min-height: 72px;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand,
.topnav a,
.nav-clock {
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  text-decoration: none;
  border-right: 2px solid var(--ink);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-word {
  display: grid;
  gap: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.brand-word strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-word span {
  font-size: 0.72rem;
  font-weight: 700;
}

.topnav {
  display: flex;
  align-items: stretch;
  border-right: 2px solid var(--ink);
}

.topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.brand:hover .brand-mark svg,
.brand:focus-visible .brand-mark svg {
  transform: translateY(-2px);
}

.topnav a {
  transition: background 160ms ease, color 160ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: var(--red);
  color: var(--white);
}

.nav-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
}

main {
  min-width: 0;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: clamp(620px, calc(100svh - 142px), 790px);
  display: grid;
  align-items: start;
  overflow: hidden;
  padding: 56px 0 28px;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(118deg, transparent 0 64%, rgba(235, 0, 0, 0.12) 64% 69.5%, transparent 69.5%),
    linear-gradient(90deg, transparent 0 62.8%, rgba(17, 17, 17, 0.075) 62.8% 63.45%, transparent 63.45%),
    transparent;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  left: max(18px, calc(50% - 554px));
  right: max(18px, calc(50% - 554px));
  bottom: 36px;
  height: 2px;
  background: var(--ink);
}

.hero::after {
  right: max(18px, calc(50% - 585px));
  top: 132px;
  width: 118px;
  height: 118px;
  border: 16px solid rgba(235, 0, 0, 0.16);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--grid);
  align-items: center;
  width: 100%;
}

.hero-copy {
  grid-column: 2 / span 7;
}

.hero-clock {
  position: relative;
  grid-column: 9 / span 5;
  align-self: center;
  margin: 0;
  transform-origin: center;
}

.hero-clock::before {
  content: "";
  position: absolute;
  inset: -28px -18px auto auto;
  width: 44%;
  height: 2px;
  background: var(--red);
}

.hero-clock::after {
  content: "";
  position: absolute;
  right: 0;
  top: -28px;
  width: 2px;
  height: 58px;
  background: var(--red);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker-sq {
  width: 14px;
  height: 14px;
  background: var(--red);
}

.display {
  margin: 0;
  font-size: clamp(4.6rem, 7.15vw, 6.7rem);
  line-height: 0.88;
  font-weight: 900;
  text-transform: uppercase;
  text-wrap: balance;
}

.display .line {
  display: block;
}

.display em {
  display: inline-block;
  color: var(--red);
  font-style: normal;
}

.hero-sub {
  width: min(720px, 100%);
  margin: 30px 0 0;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-meta {
  grid-column: 2 / span 11;
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 0.72fr 0.9fr;
  gap: 0;
  width: min(980px, 100%);
  margin-top: 30px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.meta-cell {
  min-width: 0;
  padding: 15px 16px;
  border-right: 1px solid var(--ink);
}

.meta-cell:last-child {
  border-right: 0;
}

.meta-k {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-family: 'Chivo Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-v {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.meta-pulse-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
}

.meta-pulse-cell .meta-k {
  grid-column: 1 / -1;
}

.meta-pulse-cell .meta-v {
  grid-column: 1;
}

.impulse-state {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  min-width: 68px;
  padding: 4px 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.impulse-rail {
  --pulse-progress: 0%;
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(60, minmax(0, 1fr));
  min-height: 12px;
  margin-top: 10px;
  border: 1px solid var(--ink);
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.impulse-rail::before,
.impulse-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.impulse-rail::before {
  left: 0;
  width: var(--pulse-progress);
  background: rgba(235, 0, 0, 0.14);
  transition: width 90ms linear;
  z-index: 0;
}

.impulse-rail::after {
  left: var(--pulse-progress);
  width: 3px;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--white);
  transform: translateX(-1px);
  z-index: 3;
}

.impulse-tick {
  position: relative;
  z-index: 1;
  min-width: 0;
  border-right: 1px solid rgba(17, 17, 17, 0.14);
}

.impulse-tick.is-major {
  border-right-color: rgba(17, 17, 17, 0.48);
}

.impulse-tick.is-pause {
  background: rgba(17, 17, 17, 0.12);
}

.impulse-tick.is-lit {
  background: var(--red);
}

.impulse-tick.is-pause.is-lit {
  background: var(--ink);
}

html.is-clock-hold .impulse-state {
  background: var(--red);
}

html.is-clock-hold #station-clock {
  filter: drop-shadow(0 34px 34px rgba(17, 17, 17, 0.28)) drop-shadow(0 0 18px rgba(235, 0, 0, 0.22));
}

#station-clock {
  width: min(100%, 500px);
  aspect-ratio: 1;
  display: block;
  margin-left: auto;
  overflow: hidden;
  filter: drop-shadow(0 34px 34px rgba(17, 17, 17, 0.28));
}

.hand {
  transform-box: view-box;
  transform-origin: center;
}

.hand-sec {
  transition: none;
}

.mono-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--red);
  color: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: ticker 42s linear infinite;
}

.ticker-copy {
  flex: 0 0 auto;
  padding: 14px 0;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding: 104px 0;
  border-bottom: 2px solid var(--ink);
}

.section-tight {
  padding: 80px 0;
}

.section-dark {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 50% 0 / 92px 100%,
    var(--ink);
  color: var(--white);
}

.sec-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 38px;
}

.sec-index {
  margin: 0;
  padding-top: 9px;
  border-top: 8px solid var(--red);
  font-size: 1rem;
  font-weight: 900;
}

.sec-title {
  margin: 0;
  font-size: clamp(3.45rem, 5.6vw, 5rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.sec-sub {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: none;
}

.sec-head-dark .sec-sub {
  color: #cfcfca;
}

.board-wrap {
  position: relative;
  border: 3px solid #343434;
  background:
    radial-gradient(circle at 18% 0, rgba(255, 255, 255, 0.09), transparent 28%),
    linear-gradient(180deg, #242424 0, #070707 100%);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.board-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--red);
  z-index: 2;
}

.board-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(235, 0, 0, 0.86) 48%, rgba(255, 255, 255, 0.72) 50%, rgba(235, 0, 0, 0.86) 52%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-120%);
}

.board-wrap.is-stepping::after {
  animation: boardScan 940ms cubic-bezier(0.16, 0.86, 0.22, 1);
}

@keyframes boardScan {
  0% { opacity: 0; transform: translateX(-120%); }
  16% { opacity: 0.78; }
  100% { opacity: 0; transform: translateX(120%); }
}

.board-masthead {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px 8px;
  border-bottom: 1px solid #3e3e3e;
  background: #050505;
  color: #f4f4ef;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.board-masthead span:first-child {
  color: var(--red);
  font-size: 0.92rem;
}

.board-step {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #565656;
  background: #151515;
  color: var(--white);
  cursor: pointer;
  font-family: 'Chivo Mono', monospace;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.board-step:hover,
.board-step:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.board {
  width: 100%;
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.board-row,
.board-head {
  display: grid;
  grid-template-columns: 88px 68px minmax(190px, 1.65fr) minmax(160px, 1fr) 70px 96px;
  min-width: 0;
}

.board-head {
  background: #050505;
  color: #d6d6d0;
  border-bottom: 1px solid #383838;
  font-size: 0.66rem;
  font-weight: 700;
}

.board-row {
  border-bottom: 1px solid #333;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  transition: background 160ms ease;
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row:hover {
  background:
    linear-gradient(90deg, rgba(235, 0, 0, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
}

.board-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 9px 10px;
  border-right: 1px solid #303030;
  overflow: hidden;
}

.board-cell:last-child {
  border-right: 0;
}

.board-head .board-cell {
  min-height: 34px;
}

.board-time,
.board-line,
.board-platform,
.board-delay {
  justify-content: center;
}

.board-line-badge {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 30px;
  border: 2px solid currentColor;
  background: #090909;
  color: var(--white);
  font-weight: 900;
}

.line-r1 { color: var(--white); }
.line-r2 { color: #78a5ff; }
.line-s3 { color: #cfcfca; }
.line-pe { color: var(--red); }

.flap-text {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
}

.board-time .flap-text {
  flex-wrap: nowrap;
}

.flap-char {
  position: relative;
  width: 1.08em;
  height: 1.58em;
  perspective: 150px;
  display: inline-block;
  color: #f3f3ef;
  font-weight: 700;
  line-height: 1.58em;
  text-align: center;
}

.flap-char::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #000;
  z-index: 3;
  opacity: 0.85;
}

.flap-char.is-space {
  width: 0.58em;
}

.flap-half {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 1px;
  background: linear-gradient(180deg, #262626 0 48%, #030303 48% 52%, #151515 52%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -1px rgba(0, 0, 0, 0.92),
    0 1px 0 rgba(255, 255, 255, 0.035);
  backface-visibility: hidden;
  overflow: hidden;
}

.flap-half.top {
  clip-path: inset(0 0 50% 0);
  transform-origin: 50% 100%;
}

.flap-half.bottom {
  clip-path: inset(50% 0 0 0);
  transform-origin: 50% 0;
}

.flap-char.is-flipping .top {
  animation: flapTop 118ms cubic-bezier(0.38, 0.02, 0.22, 1);
}

.flap-char.is-flipping .bottom {
  animation: flapBottom 118ms cubic-bezier(0.38, 0.02, 0.22, 1);
}

@keyframes flapTop {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(-88deg); }
}

@keyframes flapBottom {
  0% { transform: rotateX(88deg); }
  100% { transform: rotateX(0deg); }
}

.delay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 30px;
  padding: 0 7px;
  border: 2px solid #4d4d4d;
  background: #101010;
  color: #dbdbd7;
  font-weight: 800;
}

.delay-chip.is-late {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: inset 0 -2px rgba(0, 0, 0, 0.22);
}

.board-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 0;
  color: #d6d6d0;
  font-size: 0.68rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.board-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dot-red {
  width: 10px;
  height: 10px;
  background: var(--red);
}

.net-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: stretch;
}

.net-map {
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.net-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.net-label {
  font-family: 'Chivo Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  fill: var(--ink);
}

.net-elev {
  fill: var(--muted);
  font-size: 10px;
}

.net-lines {
  display: grid;
  gap: 0;
  align-self: start;
  margin: 0;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--white);
  list-style: none;
}

.net-lines li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--ink);
  transition: background 160ms ease, transform 160ms ease;
}

.net-lines li:last-child {
  border-bottom: 0;
}

.net-lines li:hover {
  background: #f1f1ed;
  transform: translateX(4px);
}

.line-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  font-weight: 900;
}

.lb-ink { background: var(--ink); }
.lb-blue { background: var(--blue); }
.lb-gray { background: #6c6c66; }
.lb-red { background: var(--red); }

.net-lines h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.net-lines p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
}

.line-stat {
  grid-column: 2;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.picto-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 2px solid var(--ink);
  list-style: none;
  background: var(--ink);
  color: var(--white);
}

.picto-row li {
  display: grid;
  min-height: 148px;
  border-right: 1px solid #3b3b3b;
  transition: background 180ms ease;
}

.picto-row li:last-child {
  border-right: 0;
}

.picto {
  display: grid;
  place-items: center;
  min-height: 86px;
}

.picto svg {
  width: 56px;
  height: 56px;
  transition: transform 180ms ease;
}

.picto-row li:hover svg {
  transform: translateY(-5px);
}

.picto-row li:hover {
  background: #191919;
}

.picto-red {
  background: var(--red);
}

.picto-label {
  align-self: end;
  padding: 12px;
  border-top: 1px solid #3b3b3b;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.picto-label em {
  display: block;
  margin-top: 3px;
  color: #bdbdb8;
  font-style: normal;
  font-weight: 600;
}

.fare-wrap {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fare-wrap::before {
  content: "TARIF 26";
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Chivo Mono', monospace;
  font-size: 0.68rem;
  font-weight: 900;
}

.fare {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.fare th,
.fare td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--ink);
  text-align: left;
}

.fare th {
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fare td {
  font-size: 0.88rem;
}

.fare tbody tr {
  transition: background 160ms ease;
}

.fare tbody tr:hover {
  background: rgba(235, 0, 0, 0.055);
}

.fare th:first-child,
.fare td:first-child {
  width: 13%;
}

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

.fare-route {
  width: 40%;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fare-extra td:first-child,
.fare-star {
  color: var(--red);
  font-weight: 900;
}

.fare-note {
  margin: 0;
  padding: 14px 18px 16px;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.prec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 54px;
  align-items: center;
}

.prec-copy {
  max-width: 780px;
  font-size: 1.06rem;
  font-weight: 600;
  text-wrap: pretty;
}

.prec-lead {
  margin-top: 0;
  font-size: 1.56rem;
  line-height: 1.25;
  font-weight: 900;
}

.prec-copy strong {
  color: var(--red);
}

.prec-diagram {
  margin: 0;
}

.prec-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--white);
}

.prec-num {
  font-family: 'Chivo Mono', monospace;
  font-size: 36px;
  font-weight: 900;
  fill: var(--ink);
}

.prec-lab {
  font-family: 'Chivo Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  fill: var(--muted);
}

.prec-lab-red {
  fill: var(--red);
}

.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 56px 0 0;
  padding: 0;
  border: 2px solid var(--ink);
  list-style: none;
  background: var(--white);
}

.stats li {
  min-width: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--ink);
  transition: background 160ms ease;
}

.stats li:last-child {
  border-right: 0;
}

.stats li:hover {
  background: #f1f1ed;
}

.stat-v {
  display: block;
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.stat-v em {
  font-size: 0.58em;
  font-style: normal;
}

.stat-k {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.poster {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--red);
  color: var(--white);
}

.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px) 50% 0 / 92px 100%,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 48px);
}

.poster::after {
  content: "07";
  position: absolute;
  right: max(20px, calc(50% - 590px));
  bottom: -0.11em;
  color: rgba(17, 17, 17, 0.18);
  font-family: 'Chivo Mono', monospace;
  font-size: clamp(11rem, 28vw, 28rem);
  font-weight: 900;
  line-height: 0.8;
}

.poster-circle {
  position: absolute;
  left: max(22px, calc(50% - 560px));
  top: 70px;
  width: 360px;
  height: 360px;
  border: 38px solid var(--ink);
  border-radius: 50%;
  opacity: 0.92;
}

.poster-bars {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(116deg,
      transparent 0 15%,
      rgba(17, 17, 17, 0.96) 15% 20.5%,
      transparent 20.5% 31%,
      var(--white) 31% 36.5%,
      transparent 36.5% 48%,
      rgba(17, 17, 17, 0.96) 48% 53%,
      transparent 53% 100%);
  opacity: 0.95;
  mix-blend-mode: normal;
}

.poster-type {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 142px;
  font-size: clamp(4.7rem, 7.2vw, 6.5rem);
  line-height: 0.88;
  font-weight: 900;
  text-transform: uppercase;
}

.pt-line {
  display: block;
  max-width: 1060px;
}

.pt-white {
  color: var(--white);
  -webkit-text-stroke: 2px var(--red);
  paint-order: stroke fill;
}

.pt-ink {
  justify-self: end;
  color: var(--ink);
  -webkit-text-stroke: 2px var(--red);
  paint-order: stroke fill;
  transform: translateX(-4.5%);
}

.poster-caption {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 30px;
  width: min(1180px, calc(100% - 40px));
  margin: 0;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.poster-caption.reveal {
  transform: translateX(-50%) translateY(28px);
}

.poster-caption.reveal.is-visible {
  transform: translateX(-50%) translateY(0);
}

.footer {
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 1fr;
  gap: 34px;
  padding: 42px 0;
}

.footer-brand {
  display: flex;
  gap: 16px;
}

.brand-mark-sm {
  width: 42px;
  height: 42px;
}

.footer p {
  margin: 0;
}

.footer-brand p {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.footer-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-nav a,
.footer-legal a {
  color: var(--white);
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #ff8585;
}

.footer-legal {
  justify-self: end;
  text-align: right;
  color: #d7d7d2;
  font-size: 0.72rem;
  line-height: 1.55;
  text-transform: uppercase;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.18, 0.84, 0.22, 1);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

.guide-main {
  border-bottom: 2px solid var(--ink);
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 64px;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(120deg, transparent 0 55%, var(--red) 55% 59.5%, transparent 59.5%),
    var(--white);
}

.guide-hero::after {
  content: "";
  position: absolute;
  left: max(18px, calc(50% - 590px));
  bottom: 44px;
  width: 210px;
  height: 2px;
  background: var(--ink);
}

.guide-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 790px) minmax(160px, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.guide-index {
  margin: 6px 0 0;
  border-top: 10px solid var(--red);
  padding-top: 10px;
  font-weight: 900;
}

.guide-title {
  margin: 0;
  font-size: clamp(4.2rem, 6vw, 5.4rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-deck {
  margin: 24px 0 0;
  font-size: 1.22rem;
  font-weight: 700;
  max-width: 780px;
}

.guide-panel {
  align-self: end;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.guide-panel span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border-bottom: 1px solid #3b3b3b;
}

.guide-panel span:last-child {
  border-bottom: 0;
}

.guide-body {
  display: grid;
  grid-template-columns: 160px minmax(0, 790px) minmax(160px, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 90px;
}

.guide-article {
  grid-column: 2;
}

.guide-entry {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0 30px;
  border-top: 4px solid var(--red);
}

.guide-entry:first-child {
  padding-top: 22px;
}

.guide-entry-final {
  border-bottom: 2px solid var(--ink);
}

.guide-entry-meta {
  color: var(--ink);
}

.guide-entry-meta span {
  display: block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 900;
}

.guide-body h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-body p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.58;
  text-wrap: pretty;
}

.guide-body code {
  font-family: 'Chivo Mono', monospace;
  font-size: 0.9em;
  background: #ededeb;
  padding: 0.08em 0.24em;
}

html.is-hidden *,
html.is-hidden *::before,
html.is-hidden *::after {
  animation-play-state: paused !important;
}

@media (max-width: 1100px) {
  html {
    scroll-padding-top: 132px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    grid-column: 1 / -1;
    order: 3;
    border-top: 2px solid var(--ink);
    border-right: 0;
  }

  .topnav a {
    flex: 1;
    min-height: 52px;
    min-width: 0;
  }

  .brand,
  .nav-clock {
    min-height: 66px;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 50px;
  }

  .hero-copy {
    grid-column: 2 / span 8;
  }

  .hero-clock {
    grid-column: 10 / span 4;
  }

  .hero-meta {
    grid-column: 2 / span 8;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-meta .meta-cell:nth-child(2n) {
    border-right: 0;
  }

  .hero-meta .meta-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

  .display {
    font-size: 4.7rem;
  }

  .hero-sub {
    font-size: 1.02rem;
  }

  .fare-wrap::before {
    display: none;
  }

  .board-row,
  .board-head {
    grid-template-columns: 72px 54px minmax(145px, 1.5fr) minmax(118px, 0.9fr) 54px 78px;
  }

  .board {
    font-size: 0.75rem;
  }

  .net-grid,
  .prec-grid {
    grid-template-columns: 1fr;
  }

  .prec-diagram {
    width: min(360px, 100%);
  }

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

  .picto-row li {
    border-bottom: 1px solid #3b3b3b;
  }

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

  .stats li:nth-child(3n) {
    border-right: 0;
  }

  .stats li:nth-child(-n + 3) {
    border-bottom: 1px solid var(--ink);
  }

  .poster-type {
    font-size: 4.35rem;
  }

  .guide-grid,
  .guide-body {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .guide-panel {
    grid-column: 2;
    width: min(420px, 100%);
  }

  .guide-body article,
  .guide-article {
    grid-column: 2;
  }

  .guide-entry {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 0;
  }

  body {
    background:
      linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px) 50% 0 / 64px 100%,
      repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(17, 17, 17, 0.03) 39px, rgba(17, 17, 17, 0.03) 40px),
      var(--white);
  }

  .wrap {
    width: min(100% - 28px, 560px);
  }

  .topbar {
    position: relative;
    grid-template-columns: 1fr;
  }

  .brand {
    min-height: 64px;
    padding: 10px 14px;
    border-right: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-word strong {
    font-size: 0.96rem;
  }

  .nav-clock {
    display: none;
  }

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

  .topnav a {
    min-height: 48px;
    padding: 0 10px;
    border-top: 1px solid var(--ink);
    font-size: 0.72rem;
  }

  .hero {
    padding: 42px 0 36px;
  }

  .hero::before {
    left: 14px;
    right: 14px;
    bottom: 24px;
  }

  .hero::after,
  .hero-clock::before,
  .hero-clock::after {
    display: none;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    width: min(100% - 28px, 560px);
    margin: 0 auto;
  }

  .hero-copy {
    order: 1;
  }

  .hero-clock {
    order: 2;
  }

  .hero-meta {
    order: 3;
  }

  .kicker {
    margin-bottom: 20px;
    font-size: 0.72rem;
  }

  .display {
    font-size: 2.86rem;
    line-height: 0.92;
  }

  .hero-sub {
    margin-top: 24px;
    font-size: 0.98rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .meta-cell {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .meta-cell:last-child {
    border-bottom: 0;
  }

  .hero-clock {
    width: min(252px, 76%);
    margin: 32px auto 0;
  }

  .mono-caption {
    display: grid;
    font-size: 0.66rem;
  }

  .section {
    padding: 62px 0;
  }

  .section-tight {
    padding: 56px 0;
  }

  .sec-head {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 24px;
  }

  .sec-index {
    border-top-width: 6px;
    font-size: 0.86rem;
  }

  .sec-title {
    font-size: 2.02rem;
    overflow-wrap: anywhere;
  }

  .sec-sub {
    font-size: 0.76rem;
  }

  .board-wrap {
    overflow-x: hidden;
  }

  .board-masthead {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    min-height: 50px;
    padding: 9px 8px 7px;
    font-size: 0.54rem;
  }

  .board-masthead span:nth-child(2) {
    display: none;
  }

  .board-masthead span:first-child {
    font-size: 0.68rem;
  }

  .board-step {
    min-height: 44px;
    padding: 0 7px;
    font-size: 0.52rem;
  }

  .board {
    min-width: 0;
    font-size: 0.56rem;
  }

  .board-row,
  .board-head {
    grid-template-columns: 48px 37px minmax(0, 1.35fr) minmax(0, 1fr) 31px 42px;
  }

  .board-cell {
    min-height: 48px;
    padding: 6px 4px;
  }

  .board-head .board-cell {
    min-height: 30px;
    font-size: 0.52rem;
  }

  .board-line-badge {
    min-width: 29px;
    min-height: 24px;
    border-width: 1px;
  }

  .flap-text {
    gap: 1px;
  }

  .flap-char {
    width: 0.9em;
    height: 1.45em;
    line-height: 1.45em;
  }

  .flap-char.is-space {
    width: 0.35em;
  }

  .delay-chip {
    min-width: 33px;
    min-height: 24px;
    padding: 0 2px;
    border-width: 1px;
  }

  .board-note {
    display: grid;
    font-size: 0.62rem;
  }

  .net-map {
    overflow-x: auto;
  }

  .net-map svg {
    min-width: 0;
  }

  .net-lines li {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 15px;
  }

  .fare {
    min-width: 100%;
    table-layout: fixed;
  }

  .fare th,
  .fare td {
    padding: 11px 5px;
    font-size: 0.59rem;
    line-height: 1.25;
  }

  .fare th {
    font-size: 0.5rem;
  }

  .fare th:first-child,
  .fare td:first-child {
    width: 12%;
  }

  .fare-route {
    width: 36%;
  }

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

  .picto-row li {
    min-height: 136px;
  }

  .prec-lead {
    font-size: 1.18rem;
  }

  .prec-copy {
    font-size: 0.98rem;
  }

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

  .stats li,
  .stats li:nth-child(3n) {
    border-right: 1px solid var(--ink);
  }

  .stats li:nth-child(2n) {
    border-right: 0;
  }

  .stats li:nth-child(-n + 4) {
    border-bottom: 1px solid var(--ink);
  }

  .stat-v {
    font-size: 1.55rem;
  }

  .poster {
    min-height: 590px;
  }

  .poster-circle {
    top: 62px;
    width: 230px;
    height: 230px;
    border-width: 25px;
  }

  .poster-type {
    width: min(100% - 28px, 560px);
    padding-top: 128px;
    font-size: 2.72rem;
  }

  .pt-ink {
    justify-self: start;
    margin-left: 34px;
    transform: none;
  }

  .poster-caption {
    width: min(100% - 28px, 560px);
    bottom: 22px;
    font-size: 0.62rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0;
  }

  .footer-legal {
    justify-self: start;
    text-align: left;
  }

  .guide-hero {
    padding: 48px 0 42px;
  }

  .guide-grid,
  .guide-body {
    display: block;
    width: min(100% - 28px, 560px);
  }

  .guide-index {
    width: 56px;
    margin-bottom: 18px;
  }

  .guide-title {
    font-size: 3.1rem;
  }

  .guide-deck {
    font-size: 1rem;
  }

  .guide-panel {
    margin-top: 26px;
  }

  .guide-body {
    padding: 42px 0 62px;
  }

  .guide-entry {
    display: block;
    padding: 22px 0 24px;
  }

  .guide-entry-meta {
    display: flex;
    gap: 14px;
    align-items: baseline;
    margin-bottom: 12px;
  }

  .guide-entry-meta span {
    margin: 0;
  }

  .guide-body p {
    font-size: 0.98rem;
  }
}

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

  .ticker-track {
    animation: none;
    transform: none;
  }

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