/* ==========================================================================
   Compile Solutions — design system
   The Process Line: one continuous line runs the height of the site and is a
   real process. Red is the only colour and it always means the same thing: a
   person is doing this by hand. Work that runs itself is left unmarked.
   ========================================================================== */

/* --- Faces ---------------------------------------------------------------- */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: 'Familjen Grotesk';
  src: url('../assets/fonts/familjen-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* Ground: a near-black neutral. Work that runs itself is unmarked and recedes. */
  --ground-950: #0B0C0F;
  --ground-900: #131519;
  --ground-800: #191C21;
  --ground-700: #23272E;
  --ground-600: #31363F;
  --ground-500: #4A515C;

  /* Relief: warm off-white paper for the reading sections. */
  --bone: #F0EFEC;
  --bone-dim: #E3E1DC;
  --bone-edge: #CBC9C3;

  --ink: #0E0F12;
  --ink-soft: #4C5058;

  /* Signal: the only colour on this site. It always means the same thing. */
  /* The bright value, named so a surface that stays dark inside a paper band
     can ask for it by token instead of pasting the hex back in. */
  --signal-bright: #FF4326;
  --signal: var(--signal-bright);
  --signal-lift: #FF7458;
  --signal-ink: #C42B12;      /* the same signal, legible on paper */

  /* Flow: work that runs itself. Deliberately colourless. */
  --flow: #F0EFEC;
  --flow-deep: #6B7079;

  --on-ground: #F0EFEC;
  --on-ground-soft: #A6A9AF;
  --on-ground-faint: #8F949C;   /* 4.9:1 on --ground-900 */

  --rule-dark: #2A2E36;
  --rule-light: #D7D5CF;

  /* Rhythm: one scale everywhere */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2rem;
  --s6: 3rem;
  --s7: 4.5rem;
  --s8: 6.5rem;
  --s9: 9rem;
  --s10: 13rem;

  --rail: 5.5rem;      /* where the spine lives on desktop */
  --gutter: 2rem;
  --measure: 62ch;

  /* One constant for the content column. The spine, the masthead and every
     band's station ring are positioned from this same expression, so it can
     only ever be changed here. */
  --shell-max: 110rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (max-width: 900px) {
  :root {
    --rail: 1.75rem;
    --gutter: 1.25rem;
  }
}

/* Ultrawide: widen the rail and gutter with the viewport so the layout reads
   as deliberately inset rather than as a narrow column adrift on a big panel. */
@media (min-width: 1800px) {
  :root {
    --rail: 7rem;
    --gutter: 3rem;
    --measure: 66ch;
  }
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--ground-900);
  color: var(--on-ground);
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Neutral: a selection highlight is not a step anyone performs by hand, and
   the root signal value would paint bright red onto the paper bands. */
::selection { background: var(--flow-deep); color: var(--flow); }

:focus-visible {
  outline: 3px solid var(--flow);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -6rem;
  z-index: 200;
  background: var(--flow);
  color: var(--ground-950);
  padding: var(--s2) var(--s4);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: var(--s3); }

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

/* --- Type ----------------------------------------------------------------- */

.display {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  font-stretch: 88%;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 0;
}

h1.display { font-size: clamp(2.5rem, 4.6vw, 5.4rem); }
h2.display { font-size: clamp(1.9rem, 3.4vw, 3.5rem); }
h3.display {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}

p { margin: 0 0 var(--s4); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.45;
  color: var(--on-ground-soft);
  max-width: 48ch;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-ground-faint);
}

/* --- Layout --------------------------------------------------------------- */

.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-left: calc(var(--rail) + var(--gutter));
  padding-right: var(--gutter);
}

/* Anchor targets clear the fixed masthead, and on mobile the nav rail too. */
section[id] { scroll-margin-top: 5.5rem; }
/* Anything the browser may scroll to on focus needs the same clearance, or the
   focused control lands underneath the fixed chrome and cannot be seen. */
a, button, input, select, textarea, [tabindex], summary { scroll-margin-top: 6.5rem; }
@media (max-width: 860px) {
  section[id] { scroll-margin-top: 5.5rem; }
  a, button, input, select, textarea, [tabindex], summary { scroll-margin-top: 6.5rem; }
}

/* --- The spine: one line, the height of the site --------------------------- */

.spine {
  position: fixed;
  top: 0; bottom: 0;
  left: max(calc((100vw - var(--shell-max)) / 2), 0px);
  width: var(--rail);
  z-index: 40;
  pointer-events: none;
}

.spine__track {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: var(--rule-dark);
}

.spine__fill {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 0;
  transform: translateX(-50%);
  background: var(--flow);
  transition: background-color 0.5s var(--ease);
}

/* the pulse: work travelling the line */
.spine__pulse {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--flow);
  box-shadow: 0 0 0 4px rgba(240, 239, 236, 0.14);
  animation: travel 5.5s var(--ease-in-out) infinite;
}

@keyframes travel {
  0%   { top: -2%; opacity: 0; }
  8%   { opacity: 1; }
  46%  { top: 46%; opacity: 1; }
  /* it stalls where the work is manual */
  62%  { top: 50%; opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}

/* on a light section the line inverts */
.spine[data-ground='bone'] .spine__track { background: var(--rule-light); }

@media (max-width: 900px) {
  .spine__fill { width: 2px; }
}

/* --- Masthead ------------------------------------------------------------- */

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: var(--s4);
  /* Full bleed, because this is fixed chrome: capping the element at the shell
     width left its tint stopping short of both viewport edges on a wide screen.
     The padding carries the same centring expression the spine and the station
     rings use, so the wordmark and the button still land on the content column. */
  padding-block: var(--s4);
  padding-left: calc(max((100vw - var(--shell-max)) / 2, 0px) + var(--rail) + var(--gutter));
  padding-right: calc(max((100vw - var(--shell-max)) / 2, 0px) + var(--gutter));
  transition: background-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.masthead.is-stuck {
  background: color-mix(in srgb, var(--ground-950) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
}
.masthead.is-stuck[data-ground='bone'] {
  background: color-mix(in srgb, var(--bone) 84%, transparent);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-stretch: 84%;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
  /* Two words now, and the masthead is a flex row: without this the mark wraps
     and the second line lands behind the CTA on a phone. */
  white-space: nowrap;
}

.wordmark__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  /* The one mark that stays red on every ground: the stall in the line. */
  background: var(--signal);
  transform: translateY(-0.1em);
  transition: transform 0.3s var(--ease);
}
.wordmark:hover .wordmark__dot { transform: translateY(-0.1em) scale(1.35); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.nav a {
  font-size: 0.94rem;
  text-decoration: none;
  color: var(--on-ground-soft);
  position: relative;
  padding-block: 0.15rem;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav a:hover { color: var(--on-ground); }
.nav a:hover::after { transform: scaleX(1); }

/* The masthead is fixed, so it sits outside the band whose ground it adopts and
   has to be re-coloured by hand. Without this the CTA goes paper on paper. */
.masthead[data-ground='bone'] .nav a { color: var(--ink-soft); }
.masthead[data-ground='bone'] .nav a:hover { color: var(--ink); }
.masthead[data-ground='bone'] .wordmark { color: var(--ink); }
.masthead[data-ground='bone'] .btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
}
.masthead[data-ground='bone'] .btn:hover { --btn-bg: #23272E; }

/* Below 860px the nav leaves the masthead and becomes a scrollable rail
   pinned under it, so section navigation never disappears. */
@media (max-width: 860px) {
  /* Scoped to beat the base .burger rule, which is declared later in the file. */
  .masthead .burger { display: inline-flex; }

  /* Fixed chrome, so it carries its own ground explicitly rather than
     inheriting the band underneath it. Rows and rules, like everything else. */
  .nav {
    position: fixed;
    left: 0; right: 0;
    top: 3.9rem;
    display: grid;
    gap: 0;
    padding: 0 var(--gutter) var(--s4) calc(var(--rail) + var(--gutter));
    background: var(--ground-950);
    border-bottom: 1px solid var(--rule-dark);
    max-height: calc(100dvh - 3.9rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform-origin: top;
    transition: opacity 0.24s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
  }
  .masthead.is-open .nav { opacity: 1; visibility: visible; transform: none; }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.35rem 0;
    border-top: 1px solid var(--rule-dark);
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-weight: 600;
    font-stretch: 88%;
    font-size: 1.22rem;
    letter-spacing: -0.02em;
    color: var(--on-ground);
  }
  /* The hover underline belongs to the inline row, not to a stacked list. */
  .nav a::after { display: none; }

  .nav .nav__cta {
    margin-top: var(--s4);
    border-top: 0;
    justify-content: space-between;
    font-family: 'Familjen Grotesk', system-ui, sans-serif;
    font-size: 0.97rem;
    font-stretch: 100%;
    letter-spacing: -0.005em;
    padding: 0.8rem 1.15rem;
    color: var(--btn-fg);
  }

  /* The panel is always near-black, so the bar above it must be too, or the
     two read as separate surfaces when the menu is open over a paper band. */
  .masthead.is-open,
  .masthead.is-open.is-stuck { background: var(--ground-950); backdrop-filter: none; }
  .masthead.is-open .wordmark,
  .masthead.is-open .burger { color: var(--bone); }
  .masthead.is-stuck { background: var(--ground-950); backdrop-filter: none; }
  .masthead.is-stuck[data-ground='bone'] { background: var(--bone); }
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  --btn-bg: var(--flow);
  --btn-fg: var(--ground-950);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 1.15rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  /* Flat at rest. The world is printed, so depth only appears on the lift. */
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.55);
}
.btn:active { transform: translateY(0); }

.btn__arrow {
  width: 0.72rem;
  height: 0.72rem;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Carries its own ground rather than a transparent one: this button sits over
   the hero photograph, and a see-through label there is at the image's mercy. */
.btn--ghost {
  /* Mixed from the band ground rather than hardcoded, so this reads as paper on
     a paper band instead of dropping a near-black slab onto it. */
  --btn-bg: color-mix(in srgb, var(--ground-950) 74%, transparent);
  --btn-fg: var(--on-ground);
  box-shadow: inset 0 0 0 1px var(--rule-dark);
}
.btn--ghost:hover {
  --btn-bg: var(--ground-700);
  box-shadow: inset 0 0 0 1px var(--ground-500);
}

.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.9rem; }

/* --- The menu button ------------------------------------------------------ */
/* Desktop keeps the nav inline and never shows this. Below 860 the links move
   into a panel and this is the only control beside the wordmark, which is what
   gives the two-word mark room at 320px. */

.burger {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  padding: 0.55rem 0.15rem 0.55rem 0.55rem;
  min-height: 44px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Three 2px bars: the same weight as every connector in the system. */
.burger__bars,
.burger__bars::before,
.burger__bars::after {
  content: '';
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.18s linear;
}
.burger__bars { position: relative; }
.burger__bars::before { position: absolute; top: -0.4rem; }
.burger__bars::after { position: absolute; top: 0.4rem; }

.masthead.is-open .burger__bars { background: transparent; }
.masthead.is-open .burger__bars::before { transform: translateY(0.4rem) rotate(45deg); }
.masthead.is-open .burger__bars::after { transform: translateY(-0.4rem) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(8rem, 17vh, 12rem);
  padding-bottom: var(--s7);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(120% 80% at 12% 0%, var(--ground-800) 0%, var(--ground-950) 72%);
  overflow: hidden;
}

.hero::after {
  /* fine grain so the field reads as printed, not as a dark UI */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

/* The hero is a flex column, and .shell carries margin:0 auto, which cancels
   cross-axis stretch and sizes the shell to its content instead of the band.
   Every other band lays the shell out as a block, so it needs the width back. */
.hero > * { position: relative; z-index: 1; min-width: 0; }
.hero > .shell { width: 100%; }

/* Backdrop: the work itself, sunk into the ground rather than sitting on it.
   The mask keeps it out of the type entirely, so it costs no contrast. */
/* Full-bleed, so nothing draws an edge on an ultra-wide screen. The image is
   sized and placed against the viewport centre instead, which keeps it tied to
   the content column without clipping anything to it. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Pallet racking, aisle numbers, a forklift mid-run: the operation the site is
   arguing about. The frame is evenly filled, so it needs no mirroring and can
   crop from the centre at any aspect ratio. */
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: grayscale(1) contrast(1.12) brightness(0.82);
  opacity: 0.44;
}

/* Fades the image off the type column and off the process strip. Full-bleed,
   so it never draws an edge of its own on a wide screen. */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* over the top-right block, which lands on the brightest window */
    radial-gradient(44% 40% at 74% 25%, rgba(10,11,14,0.90) 0%, rgba(10,11,14,0.70) 46%, rgba(10,11,14,0) 100%),
    /* off the type column */
    linear-gradient(95deg, #0A0B0E 0%, rgba(10,11,14,0.95) 27%, rgba(10,11,14,0.62) 44%, rgba(10,11,14,0) 68%),
    /* off the process strip, which runs the full width and must stay readable */
    linear-gradient(0deg, #0A0B0E 0%, rgba(10,11,14,0.96) 24%, rgba(10,11,14,0.7) 38%, rgba(10,11,14,0) 56%);
}

@media (max-width: 1024px) {
  /* The type takes the width the image wanted, so it retreats to a texture. */
  .hero__bg img { opacity: 0.3; object-position: 50% 40%; }
  .hero__bg::after {
    background: linear-gradient(180deg, #0A0B0E 0%, rgba(10,11,14,0.62) 30%, rgba(10,11,14,0.62) 62%, #0A0B0E 100%);
  }
}

.hero__grid > * { min-width: 0; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__pitch h1 { max-width: 15ch; }
.hero__pitch .lede { margin-top: var(--s4); max-width: 46ch; }
.hero__pitch .hero__note { margin-top: var(--s5); }
.hero__pitch .hero__actions { margin-top: var(--s5); }

.hero__pitch .display .em {
  color: var(--signal);
  font-style: normal;
}

/* We have no client list. Saying so is the strongest thing on the page. */
.hero__note {
  border-top: 2px solid var(--flow);
  padding-top: var(--s3);
  max-width: 34ch;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--on-ground-soft);
}
.hero__note strong {
  display: block;
  color: var(--on-ground);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.hero__actions {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--s6);
  }
  .hero__pitch h1 { max-width: 18ch; }
  /* Below the split the hero is taller than a viewport, so stop pinning it. */
  .hero { min-height: 0; padding-bottom: var(--s7); }
}

@media (max-width: 860px) {
  .hero { min-height: 0; padding-bottom: var(--s6); }
  .hero__actions { flex-direction: column; align-items: stretch; gap: var(--s2); }
  .hero__actions .btn { justify-content: space-between; }
}

/* --- The process strip: the mechanism, stated in the first viewport -------- */

.strip {
  border-top: 1px solid var(--rule-dark);
  padding-top: var(--s4);
}

.strip__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s4);
  margin-bottom: var(--s5);
}

.strip__legend {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
}
.strip__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--on-ground-soft);
}
.strip__legend i {
  width: 1.4rem;
  height: 2px;
  flex: none;
  background: var(--flow);
}
.strip__legend .is-manual i { background: var(--signal); }

.track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  min-height: 6.5rem;
}

.stop {
  position: relative;
  padding-top: 2.1rem;
  padding-right: var(--s4);
}

/* the rail each stop sits on */
.stop::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--flow-deep);
}
.stop:last-child::before { right: 50%; }

.stop::after {
  content: '';
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--ground-950);
  box-shadow: inset 0 0 0 2px var(--flow-deep);
}

.stop.is-manual::before {
  background: repeating-linear-gradient(
    90deg,
    var(--signal) 0 7px,
    transparent 7px 13px
  );
}
.stop.is-manual::after {
  background: var(--signal);
  box-shadow: inset 0 0 0 2px var(--signal), 0 0 0 5px rgba(255, 67, 38, 0.16);
}

.stop__name {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem;
  color: var(--on-ground);
}

.stop__meta {
  font-size: 0.82rem;
  color: var(--on-ground-faint);
  margin: 0;
  letter-spacing: 0.01em;
}

.stop.is-manual .stop__name { color: var(--signal-lift); }
.stop.is-manual .stop__meta { color: var(--signal); }

.stop__flag {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ground-950);
  background: var(--signal);
  padding: 0.15rem 0.42rem;
}

@media (max-width: 860px) {
  .track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    min-height: 0;
  }
  .stop {
    padding-top: 0;
    padding-left: 1.65rem;
    padding-bottom: var(--s4);
  }
  .stop::before {
    top: 0.5rem;
    bottom: -0.5rem;
    left: 0.44rem;
    right: auto;
    width: 2px;
    height: auto;
  }
  .stop:last-child::before { display: none; }
  .stop::after { top: 0.15rem; left: 0; }
  .stop.is-manual::before {
    background: repeating-linear-gradient(
      180deg,
      var(--signal) 0 7px,
      transparent 7px 13px
    );
  }
  .strip__label { flex-direction: column; }
}
