@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --night: #080b0f;
  --white: #f2f0e8;
  --orange: #ff5315;
  --blue: #9bdcf9;
  --steel: #222b33;
  --muted: #a8afb5;
  --rail: 7.25rem;
  --pad: clamp(1rem, 3.4vw, 4.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; min-width: 320px; color: var(--white); background: var(--night); font-family: "DM Sans", Arial, sans-serif; font-size: 1rem; line-height: 1.55; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { display: block; width: 100%; max-width: 100%; }

.skip-link { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; transform: translateY(-160%); padding: 0.7rem 1rem; color: var(--night); background: var(--blue); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 6px var(--night); }

.site-canvas { margin-right: var(--rail); overflow: hidden; }
.mobile-header { display: none; }

.yard-hero {
  position: relative;
  min-height: max(44rem, 100svh);
  overflow: hidden;
  border-bottom: 1px solid var(--blue);
  background: var(--night);
}
.yard-hero::before, .yard-hero::after { content: ""; position: absolute; z-index: 0; background: rgba(155, 220, 249, 0.22); }
.yard-hero::before { top: 0; bottom: 0; left: 27%; width: 1px; }
.yard-hero::after { top: 0; bottom: 0; left: 72%; width: 1px; }
.hero-metadata { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; padding: 0.8rem var(--pad); border-bottom: 1px solid rgba(242, 240, 232, 0.35); color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-metadata a { justify-self: end; color: var(--white); text-underline-offset: 0.25rem; }
.hero-number { position: absolute; z-index: 0; right: -0.06em; top: -0.17em; color: transparent; font-family: "Fraunces", Georgia, serif; font-size: clamp(25rem, 52vw, 58rem); font-variation-settings: "SOFT" 25, "WONK" 1, "opsz" 144; font-weight: 900; letter-spacing: -0.16em; line-height: 1; -webkit-text-stroke: 1px rgba(155, 220, 249, 0.3); }
.hero-heading { position: relative; z-index: 3; padding: clamp(3rem, 7vh, 6rem) var(--pad) 1rem; }
.hero-heading > p { margin: 0 0 0.8rem; color: var(--blue); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-heading h1 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(5.8rem, 12.5vw, 14rem); font-variation-settings: "SOFT" 35, "WONK" 1, "opsz" 144; font-weight: 850; letter-spacing: -0.07em; line-height: 0.68; }
.hero-heading h1 span { display: block; }
.hero-heading h1 span:nth-child(2) { padding-left: 17vw; color: var(--blue); }
.hero-heading h1 span:nth-child(3) { padding-left: 6vw; color: var(--orange); }
.hero-photo-lane { position: absolute; z-index: 2; top: 44%; left: 0; right: 0; height: clamp(9rem, 22vh, 14rem); margin: 0; overflow: hidden; border-top: 1px solid var(--white); border-bottom: 1px solid var(--white); background: var(--steel); }
.hero-photo-lane::after { content: ""; position: absolute; inset: 0; background: rgba(8, 11, 15, 0.38); pointer-events: none; }
.hero-photo-lane img { height: 100%; object-fit: cover; object-position: center 67%; filter: grayscale(1) contrast(1.25); }
.hero-photo-lane figcaption { position: absolute; z-index: 2; inset: auto var(--pad) 0.45rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--white); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-brief { position: absolute; z-index: 4; right: var(--pad); bottom: clamp(2rem, 6vh, 5rem); display: grid; grid-template-columns: minmax(18rem, 31rem) auto; align-items: end; gap: clamp(1.5rem, 4vw, 4.5rem); }
.hero-brief > p { margin: 0; padding-left: 1rem; border-left: 4px solid var(--blue); font-size: clamp(1rem, 1.35vw, 1.2rem); }
.hero-actions { display: grid; gap: 0.65rem; min-width: 13.5rem; }
.action { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.2rem; padding: 0.65rem 0.85rem; border: 1px solid var(--white); font-weight: 800; text-decoration: none; }
.action-orange { color: var(--night); background: var(--orange); border-color: var(--orange); }
.action-line { background: var(--night); }
.action:hover, .action:focus-visible { color: var(--night); background: var(--blue); border-color: var(--blue); }
.hero-signal { position: absolute; z-index: 4; left: var(--pad); bottom: 2rem; display: flex; align-items: center; gap: 0.45rem; }
.hero-signal span { width: 0.6rem; height: 0.6rem; background: var(--steel); }
.hero-signal span:first-child { background: var(--orange); }
.hero-signal b { margin-left: 0.55rem; font-size: 0.72rem; letter-spacing: 0.08em; }

.service-lanes { background: var(--white); color: var(--night); }
.lanes-heading { display: grid; grid-template-columns: minmax(10rem, 0.45fr) minmax(26rem, 1.55fr); gap: 2rem; padding: clamp(4rem, 8vw, 8rem) var(--pad); border-bottom: 1px solid var(--night); }
.lanes-heading > span { color: #a83208; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.lanes-heading h2 { margin: 0; max-width: 14ch; font-family: "Fraunces", Georgia, serif; font-size: clamp(3.5rem, 7vw, 8rem); font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 120; font-weight: 800; letter-spacing: -0.055em; line-height: 0.85; }
.lane-list a { display: grid; grid-template-columns: 5rem minmax(14rem, 0.7fr) minmax(18rem, 1.3fr) 4rem; align-items: center; min-height: 7.2rem; border-bottom: 1px solid var(--night); text-decoration: none; }
.lane-list a > * { height: 100%; display: flex; align-items: center; padding: 1rem; border-right: 1px solid var(--night); }
.lane-list a > span { justify-content: center; color: var(--white); background: var(--night); font-weight: 850; }
.lane-list a > strong { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.55rem, 2.7vw, 2.8rem); font-variation-settings: "SOFT" 25, "opsz" 72; line-height: 1; }
.lane-list a > p { margin: 0; }
.lane-list a > b { justify-content: center; border-right: 0; font-size: 1.5rem; }
.lane-list a:hover > b, .lane-list a:focus-visible > b { color: var(--night); background: var(--orange); }

.route-rail { position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; display: grid; grid-template-rows: var(--rail) 1fr auto; width: var(--rail); color: var(--white); background: var(--steel); border-left: 1px solid var(--blue); }
.rail-brand { display: grid; place-items: center; border-bottom: 1px solid rgba(242, 240, 232, 0.28); font-size: 1.05rem; font-weight: 900; letter-spacing: -0.04em; text-decoration: none; }
.rail-brand span, .mobile-brand span { color: var(--orange); }
.route-rail nav { display: grid; grid-template-rows: repeat(5, 1fr); }
.route-rail nav a { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 4.5rem; border-bottom: 1px solid rgba(242, 240, 232, 0.25); text-decoration: none; }
.route-rail nav b { color: var(--blue); font-size: 0.7rem; letter-spacing: 0.1em; }
.route-rail nav span { margin-top: 0.25rem; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.route-rail nav a:hover, .route-rail nav a:focus-visible, .route-rail nav a.is-current { color: var(--night); background: var(--blue); }
.route-rail nav a:hover b, .route-rail nav a:focus-visible b, .route-rail nav a.is-current b { color: var(--night); }
.route-rail nav a.rail-dispatch { background: var(--orange); color: var(--night); }
.route-rail nav a.rail-dispatch b { color: var(--night); }
.rail-call { display: grid; grid-template-columns: 1fr 1fr; padding: 0.75rem; color: var(--night); background: var(--white); text-decoration: none; }
.rail-call span { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; writing-mode: vertical-rl; }
.rail-call b { font-size: 0.78rem; line-height: 1.25; text-align: right; }

.menu-scrim, .route-menu { display: none; }

::selection { color: var(--night); background: var(--blue); }
address { font-style: normal; }
.action-dark { color: var(--white); background: var(--night); border-color: var(--night); }

/* Yard: coordinate board */
.coordinate-wall { display: grid; grid-template-columns: minmax(19rem, 0.68fr) minmax(31rem, 1.32fr); color: var(--white); background: var(--steel); border-bottom: 1px solid var(--blue); }
.coordinate-title { padding: clamp(4rem, 8vw, 8rem) var(--pad); border-right: 1px solid var(--blue); }
.coordinate-title > span, .city-board > .city-code, .brief-heading > span, .mode-heading > span, .builder-copy > span, .work-wall > div > span, .interlock article > span, .visuals-copy > span, .floor-dispatch > span, .handoff-intro > span, .matrix-title > span, .network-note > div > span, .dispatch-guide > div > span { display: block; margin-bottom: 1.15rem; color: var(--blue); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.coordinate-title h2, .city-board h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(3rem, 5.7vw, 6.4rem); font-variation-settings: "SOFT" 35, "WONK" 1, "opsz" 100; font-weight: 800; letter-spacing: -0.055em; line-height: 0.9; }
.coordinate-title p { max-width: 35rem; margin: 2rem 0 0; color: var(--muted); }
.coordinate-nodes { position: relative; display: grid; align-content: center; gap: 0; margin: 0; padding: clamp(2.5rem, 5vw, 5rem) var(--pad); list-style: none; }
.coordinate-nodes::before { content: ""; position: absolute; top: 10%; bottom: 10%; left: calc(var(--pad) + 1.25rem); width: 1px; background: var(--blue); }
.coordinate-nodes li { position: relative; display: grid; grid-template-columns: 2.5rem minmax(12rem, 0.8fr) minmax(13rem, 1.2fr); align-items: center; min-height: 5.6rem; border-bottom: 1px solid rgba(242, 240, 232, 0.22); }
.coordinate-nodes li:last-child { border-bottom: 0; }
.coordinate-nodes b { position: relative; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; color: var(--night); background: var(--orange); font-size: 0.7rem; }
.coordinate-nodes span { padding-inline: 1rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 720; }
.coordinate-nodes small { padding: 1rem; color: var(--muted); border-left: 1px solid rgba(242, 240, 232, 0.22); font-size: 0.82rem; }
.city-board { display: grid; grid-template-columns: 0.4fr 1fr 0.55fr auto; align-items: stretch; color: var(--night); background: var(--blue); border-bottom: 1px solid var(--night); }
.city-board > * { display: flex; flex-direction: column; justify-content: center; min-height: 17rem; margin: 0; padding: 2rem; border-right: 1px solid var(--night); }
.city-board > .city-code { margin: 0; color: var(--night); writing-mode: vertical-rl; }
.city-board div p { margin: 0 0 0.65rem; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.city-board h2 { max-width: 12ch; font-size: clamp(2.6rem, 4.3vw, 5rem); }
.city-board address { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.2rem, 1.8vw, 1.75rem); font-weight: 650; line-height: 1.2; }
.city-board .action { align-self: stretch; min-width: 15rem; border: 0; border-right: 0; background: var(--orange); }
.city-board .action:hover, .city-board .action:focus-visible { color: var(--white); background: var(--night); }

/* Shared exit board */
.exit-board { position: relative; margin-right: var(--rail); overflow: hidden; color: var(--white); background: var(--night); border-top: 1px solid var(--white); }
.exit-ghost { position: absolute; right: -0.04em; bottom: -0.27em; color: transparent; font-family: "Fraunces", Georgia, serif; font-size: clamp(9rem, 22vw, 25rem); font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 144; font-weight: 900; line-height: 1; white-space: nowrap; -webkit-text-stroke: 1px rgba(242, 240, 232, 0.13); pointer-events: none; }
.exit-line { position: relative; z-index: 1; display: grid; grid-template-columns: 10rem 1fr; align-items: center; min-height: 8rem; padding: 1.25rem var(--pad); border-bottom: 1px solid rgba(242, 240, 232, 0.3); }
.exit-line > span { font-size: 0.72rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.exit-line > a { width: fit-content; max-width: 100%; font-family: "Fraunces", Georgia, serif; font-weight: 850; letter-spacing: -0.055em; line-height: 0.88; text-decoration: none; overflow-wrap: anywhere; }
.exit-phone > a { color: var(--orange); font-size: clamp(3.6rem, 9vw, 10rem); }
.exit-email > a { color: var(--blue); font-size: clamp(2rem, 5.6vw, 6rem); }
.exit-address { position: relative; z-index: 1; display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 1.5rem var(--pad); color: var(--night); background: var(--white); border-bottom: 1px solid var(--night); }
.exit-address > span { font-size: 0.76rem; font-weight: 850; text-transform: uppercase; }
.exit-address address { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.1rem, 2vw, 1.8rem); font-weight: 650; }
.exit-small { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; min-height: 5rem; padding: 1rem var(--pad); font-size: 0.72rem; font-weight: 750; text-transform: uppercase; }
.exit-small nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.exit-small a { text-underline-offset: 0.25rem; }

/* Road */
.page-signal { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 3rem; padding: 0.6rem var(--pad); border-bottom: 1px solid var(--night); font-size: 0.74rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.page-signal a { justify-self: end; }
.road-hero { position: relative; display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto minmax(39rem, calc(100svh - 3rem)); color: var(--night); background: var(--white); border-bottom: 1px solid var(--night); }
.road-heading { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(3rem, 7vw, 7rem) var(--pad); background: var(--orange); border-right: 1px solid var(--night); }
.road-heading > p:first-child { margin: 0 0 1rem; font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.road-heading h1 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(5rem, 9.3vw, 11rem); font-variation-settings: "SOFT" 55, "WONK" 1, "opsz" 144; font-weight: 850; letter-spacing: -0.075em; line-height: 0.72; }
.road-heading h1 span { color: var(--night); font-style: italic; }
.road-heading > p:nth-of-type(2) { max-width: 34rem; margin: 3rem 0 1.5rem 18%; padding-left: 1rem; border-left: 4px solid var(--night); }
.road-heading .action { margin-left: 18%; }
.road-truck { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--steel); }
.road-truck img { height: 100%; object-fit: cover; object-position: 58% center; filter: grayscale(0.15) contrast(1.05); }
.road-truck figcaption, .floor-hero figcaption, .network-aerial figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem; color: var(--white); background: rgba(8, 11, 15, 0.88); font-size: 0.69rem; font-weight: 750; text-transform: uppercase; }
.clock-block { position: absolute; z-index: 3; right: calc(41.666% - 3.9rem); top: 50%; display: grid; place-items: center; width: 7.8rem; height: 7.8rem; color: var(--white); background: var(--night); border: 1px solid var(--blue); font-size: 0.66rem; font-weight: 850; letter-spacing: 0.1em; }
.clock-block b { width: 70%; height: 1px; overflow: hidden; background: var(--orange); }
.route-brief { display: grid; grid-template-columns: minmax(18rem, 1.1fr) repeat(3, minmax(12rem, 0.75fr)); color: var(--white); background: var(--night); border-bottom: 1px solid var(--blue); }
.route-brief > div { min-height: 22rem; padding: clamp(2rem, 4vw, 4rem); border-right: 1px solid rgba(155, 220, 249, 0.55); }
.brief-heading h2, .mode-heading h2, .builder-copy h2, .work-wall h2, .visuals-copy h2, .floor-dispatch h2, .handoff-intro h2, .matrix-title h2, .network-note h2, .dispatch-guide h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(3rem, 5.5vw, 6.5rem); font-variation-settings: "SOFT" 38, "WONK" 1, "opsz" 105; font-weight: 820; letter-spacing: -0.058em; line-height: 0.9; }
.brief-cell { position: relative; display: flex; flex-direction: column; }
.brief-cell > b { color: var(--blue); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.brief-cell p { margin: auto 0 1rem; }
.brief-cell > span { color: var(--orange); font-family: "Fraunces", Georgia, serif; font-size: clamp(2.3rem, 4vw, 4.5rem); font-weight: 850; }
.mode-lanes { color: var(--night); background: var(--white); }
.mode-heading { display: grid; grid-template-columns: 0.42fr 1fr; gap: 2rem; padding: clamp(4rem, 8vw, 8rem) var(--pad); border-bottom: 1px solid var(--night); }
.mode-heading > span { color: #a83208; }
.mode-lanes article { display: grid; grid-template-columns: 10rem 1fr auto; align-items: stretch; min-height: 12rem; border-bottom: 1px solid var(--night); }
.mode-lanes article > span { display: grid; place-items: center; color: var(--white); background: var(--steel); border-right: 1px solid var(--night); font-size: 1.3rem; font-weight: 900; letter-spacing: 0.08em; }
.mode-lanes article > div { display: grid; grid-template-columns: minmax(14rem, 0.7fr) minmax(18rem, 1.3fr); align-items: center; gap: 2rem; padding: 2rem var(--pad); }
.mode-lanes h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.4rem, 4vw, 4.7rem); line-height: 0.9; }
.mode-lanes p { margin: 0; max-width: 35rem; }
.mode-lanes article > a { display: grid; place-items: center; min-width: 12rem; padding: 1.5rem; border-left: 1px solid var(--night); font-weight: 850; text-decoration: none; }
.mode-lanes article > a:hover, .mode-lanes article > a:focus-visible { background: var(--blue); }
.road-builder { display: grid; grid-template-columns: minmax(19rem, 0.7fr) minmax(25rem, 1.3fr); min-height: 44rem; background: var(--steel); }
.road-builder figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-right: 1px solid var(--blue); }
.road-builder img { height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); }
.road-builder figcaption { position: absolute; inset: auto 0 0; padding: 0.8rem; color: var(--white); background: var(--night); font-size: 0.7rem; text-transform: uppercase; }
.builder-copy { align-self: center; max-width: 58rem; padding: clamp(3rem, 7vw, 8rem); }
.builder-copy ul { display: grid; grid-template-columns: 1fr 1fr; margin: 3rem 0 2rem; padding: 0; border-top: 1px solid var(--blue); list-style: none; }
.builder-copy li { padding: 1rem 0.5rem; border-bottom: 1px solid rgba(155, 220, 249, 0.45); }
.builder-copy li:nth-child(odd) { padding-left: 0; border-right: 1px solid rgba(155, 220, 249, 0.45); }
.builder-copy p { color: var(--muted); }
.dispatch-band { display: grid; grid-template-columns: 0.45fr 1fr auto; align-items: center; gap: 2rem; padding: clamp(3rem, 6vw, 6rem) var(--pad); color: var(--night); background: var(--blue); border-bottom: 1px solid var(--night); }
.dispatch-band > span { font-size: 0.75rem; font-weight: 850; text-transform: uppercase; }
.dispatch-band h2 { margin: 0; max-width: 16ch; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.6rem, 4.8vw, 5.2rem); line-height: 0.9; }

/* Floor */
.floor-hero { position: relative; min-height: 54rem; overflow: hidden; color: var(--white); background: var(--night); border-bottom: 1px solid var(--blue); }
.floor-hero > figure { position: absolute; inset: 0 38% 0 0; margin: 0; overflow: hidden; }
.floor-hero > figure::after { content: ""; position: absolute; inset: 0; background: rgba(8, 11, 15, 0.34); }
.floor-hero img { height: 100%; object-fit: cover; object-position: center; filter: grayscale(1) contrast(1.25); }
.floor-title { position: absolute; z-index: 2; top: 10%; left: 39%; right: var(--pad); }
.floor-title > span { color: var(--orange); font-size: 0.76rem; font-weight: 850; text-transform: uppercase; }
.floor-title h1 { max-width: 9ch; margin: 1rem 0 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(5rem, 9.5vw, 11rem); font-variation-settings: "SOFT" 25, "WONK" 1, "opsz" 144; font-weight: 850; letter-spacing: -0.075em; line-height: 0.7; }
.floor-title h1 { width: fit-content; padding: 0.08em 0.1em 0.15em; background: var(--night); }
.floor-lede { position: absolute; z-index: 3; right: var(--pad); bottom: 8%; width: min(36rem, 45%); padding-left: 1rem; border-left: 4px solid var(--blue); }
.floor-lede p { margin: 0 0 1.5rem; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.floor-lede .action { width: fit-content; }
.work-wall { display: grid; grid-template-columns: minmax(20rem, 0.65fr) minmax(32rem, 1.35fr); color: var(--night); background: var(--orange); border-bottom: 1px solid var(--night); }
.work-wall > div { padding: clamp(4rem, 8vw, 8rem) var(--pad); border-right: 1px solid var(--night); }
.work-wall > div > span { color: var(--night); }
.work-wall ol { margin: 0; padding: 0; list-style: none; }
.work-wall li { display: grid; grid-template-columns: 6rem 1fr; align-items: stretch; min-height: 9rem; border-bottom: 1px solid var(--night); }
.work-wall li:last-child { border-bottom: 0; }
.work-wall li > b { display: grid; place-items: center; color: var(--white); background: var(--night); font-size: 1.2rem; }
.work-wall li p { align-self: center; margin: 0; padding: 1.5rem var(--pad); }
.work-wall li strong { display: block; margin-bottom: 0.25rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.4rem, 2.2vw, 2.2rem); }
.interlock { color: var(--night); background: var(--white); }
.interlock article { display: grid; grid-template-columns: 10rem 1fr minmax(14rem, 0.32fr); min-height: 19rem; border-bottom: 1px solid var(--night); }
.interlock article > span { display: grid; place-items: center; margin: 0; padding: 1rem; color: var(--blue); background: var(--steel); writing-mode: vertical-rl; }
.interlock article > div { display: grid; grid-template-columns: minmax(16rem, 0.65fr) minmax(20rem, 1.35fr); align-items: center; gap: 3rem; padding: clamp(2rem, 5vw, 5rem) var(--pad); border-right: 1px solid var(--night); }
.interlock h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(3rem, 5.7vw, 6.4rem); letter-spacing: -0.06em; line-height: 0.85; }
.interlock p { margin: 0; }
.interlock article > a { display: grid; place-items: center; padding: 2rem; font-weight: 850; text-align: center; text-decoration: none; }
.interlock article > a:hover, .interlock article > a:focus-visible { background: var(--blue); }
.interlock article:nth-child(2) > span { color: var(--night); background: var(--blue); }
.interlock article:nth-child(2) > a { color: var(--white); background: var(--night); }
.floor-visuals { display: grid; grid-template-columns: minmax(16rem, 0.55fr) minmax(15rem, 0.55fr) minmax(20rem, 0.9fr); grid-template-rows: 1fr; min-height: 48rem; color: var(--white); background: var(--steel); border-bottom: 1px solid var(--blue); }
.visuals-copy { align-self: center; padding: clamp(3rem, 5vw, 5rem) var(--pad); }
.visuals-copy p { margin-top: 2rem; color: var(--muted); }
.floor-visuals figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-left: 1px solid var(--blue); }
.floor-visuals img { height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.1); }
.worker-frame img { object-position: 52% center; }
.aisle-frame img { object-position: center; }
.floor-visuals figcaption { position: absolute; inset: auto 0 0; padding: 0.7rem; color: var(--white); background: rgba(8, 11, 15, 0.9); font-size: 0.67rem; text-transform: uppercase; }
.floor-dispatch { display: grid; grid-template-columns: 0.35fr 1fr auto; align-items: center; gap: 2rem; padding: clamp(3rem, 6vw, 6rem) var(--pad); color: var(--white); background: var(--night); border-bottom: 1px solid var(--blue); }
.floor-dispatch > span { margin: 0; }

/* Network */
.network-hero { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: min(54rem, 100svh); color: var(--night); background: var(--orange); border-bottom: 1px solid var(--night); }
.network-heading { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(4rem, 8vw, 9rem) var(--pad); border-right: 1px solid var(--night); }
.network-heading > span { font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.network-heading h1 { margin: 2rem 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(4.7rem, 8.2vw, 10rem); font-variation-settings: "SOFT" 45, "WONK" 1, "opsz" 144; font-weight: 850; letter-spacing: -0.07em; line-height: 0.73; }
.network-heading h1 em { color: var(--steel); font-style: italic; }
.network-heading p { max-width: 36rem; margin: 0 0 0 15%; padding-left: 1rem; border-left: 4px solid var(--night); }
.network-aerial { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--steel); }
.network-aerial::after { content: ""; position: absolute; inset: 0; background: rgba(8, 11, 15, 0.2); pointer-events: none; }
.network-aerial img { height: 100%; object-fit: cover; object-position: 48% 30%; filter: grayscale(1) contrast(1.3); transform: scale(1.08); }
.network-aerial figcaption { z-index: 2; }
.network-index { position: absolute; z-index: 3; left: calc(52.5% - 4.4rem); top: 50%; display: grid; place-items: center; width: 8.8rem; height: 8.8rem; color: var(--white); background: var(--night); border: 1px solid var(--blue); }
.network-index b { color: var(--orange); font-family: "Fraunces", Georgia, serif; font-size: 3.3rem; line-height: 0.8; }
.network-index span { font-size: 0.62rem; font-weight: 850; letter-spacing: 0.1em; }
.handoff-board { display: grid; grid-template-columns: minmax(19rem, 0.55fr) minmax(35rem, 1.45fr); color: var(--white); background: var(--night); border-bottom: 1px solid var(--blue); }
.handoff-intro { padding: clamp(4rem, 7vw, 7rem) var(--pad); border-right: 1px solid var(--blue); }
.handoff-intro p { max-width: 32rem; margin: 2rem 0 0; color: var(--muted); }
.handoff-line { position: relative; display: grid; align-content: center; grid-template-columns: repeat(5, 1fr); margin: 0; padding: clamp(4rem, 8vw, 8rem) var(--pad); list-style: none; }
.handoff-line::before { content: ""; position: absolute; top: 50%; left: var(--pad); right: var(--pad); height: 1px; background: var(--blue); }
.handoff-line li { position: relative; z-index: 1; display: grid; grid-template-rows: 2.7rem auto auto; justify-items: center; min-width: 0; text-align: center; }
.handoff-line b { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; color: var(--night); background: var(--orange); font-size: 0.7rem; }
.handoff-line span { margin-top: 2rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.1rem, 1.8vw, 1.8rem); font-weight: 750; }
.handoff-line small { max-width: 10rem; margin-top: 0.4rem; color: var(--muted); }
.network-matrix { color: var(--night); background: var(--white); }
.matrix-title { display: grid; grid-template-columns: 0.38fr 1fr; gap: 2rem; padding: clamp(4rem, 8vw, 8rem) var(--pad); border-bottom: 1px solid var(--night); }
.matrix-title > span { color: #a83208; }
.matrix-row { display: grid; grid-template-columns: 8rem minmax(14rem, 0.7fr) minmax(18rem, 1.3fr) 12rem; align-items: center; min-height: 10rem; border-bottom: 1px solid var(--night); }
.matrix-row > * { display: flex; align-items: center; align-self: stretch; margin: 0; padding: 1.5rem; border-right: 1px solid var(--night); }
.matrix-row > b { justify-content: center; color: var(--white); background: var(--steel); font-size: 0.74rem; letter-spacing: 0.08em; }
.matrix-row h3 { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 0.9; }
.matrix-row a { justify-content: center; border-right: 0; font-weight: 850; text-align: center; text-decoration: none; }
.matrix-row a:hover, .matrix-row a:focus-visible { background: var(--orange); }
.matrix-row-blue { background: var(--blue); }
.matrix-row-blue > b { color: var(--night); background: var(--orange); }
.network-note { display: grid; grid-template-columns: 8rem minmax(20rem, 0.9fr) minmax(19rem, 0.75fr) auto; align-items: center; min-height: 24rem; color: var(--night); background: var(--blue); border-bottom: 1px solid var(--night); }
.network-note > * { align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 2rem var(--pad); border-right: 1px solid var(--night); }
.network-note > .note-mark { display: grid; place-items: center; padding: 1rem; color: var(--orange); background: var(--night); font-family: "Fraunces", Georgia, serif; font-size: 4rem; font-weight: 900; }
.network-note > div > span { color: var(--night); }
.network-note .action { align-self: stretch; min-width: 14rem; border-right: 0; }

/* Dispatch */
.dispatch-canvas { background: var(--orange); }
.dispatch-hero { display: grid; grid-template-columns: minmax(22rem, 0.82fr) minmax(34rem, 1.18fr); align-items: stretch; min-height: 100svh; color: var(--night); border-bottom: 1px solid var(--night); }
.dispatch-contact { display: flex; flex-direction: column; padding: clamp(3rem, 6vw, 7rem) var(--pad); background: var(--orange); border-right: 1px solid var(--night); }
.dispatch-contact > span { font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.dispatch-contact h1 { margin: 2rem 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(5rem, 8.3vw, 9.5rem); font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144; font-weight: 850; letter-spacing: -0.075em; line-height: 0.7; }
.dispatch-contact h1 em { color: var(--steel); font-style: italic; }
.dispatch-contact > p { max-width: 36rem; margin: 0 0 3rem 13%; padding-left: 1rem; border-left: 4px solid var(--night); }
.contact-routes { margin-top: auto; border-top: 1px solid var(--night); }
.contact-routes a { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; min-height: 5rem; border-bottom: 1px solid var(--night); text-decoration: none; }
.contact-routes small { font-size: 0.7rem; font-weight: 850; text-transform: uppercase; }
.contact-routes strong { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.25rem, 2.2vw, 2rem); overflow-wrap: anywhere; }
.contact-routes b { font-size: 1.4rem; }
.contact-routes a:hover, .contact-routes a:focus-visible { color: var(--white); background: var(--night); }
.dispatch-contact address { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem; padding-top: 1.5rem; }
.dispatch-contact address b { font-size: 0.75rem; text-transform: uppercase; }
.dispatch-form { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 0; padding: clamp(2rem, 4.5vw, 5rem); color: var(--white); background: var(--steel); }
.form-head { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; padding: 0 0 1.2rem; border-bottom: 1px solid var(--blue); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.form-head p { margin: 0; }
.form-head b, .field label b { color: var(--orange); }
.field { min-width: 0; padding: 1rem 0; border-bottom: 1px solid rgba(155, 220, 249, 0.45); }
.field-left { padding-right: 0.8rem; border-right: 1px solid rgba(155, 220, 249, 0.45); }
.field-right { padding-left: 0.8rem; }
.field-wide { grid-column: 1 / -1; }
.field label, .reply-field legend { display: block; margin-bottom: 0.45rem; color: var(--blue); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.field label span { color: var(--muted); font-size: 0.64rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.55rem 0; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid var(--white); border-radius: 0; }
.field textarea { min-height: 7rem; resize: vertical; }
.field select { color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--orange); }
.reply-field { display: flex; align-items: center; gap: 1.5rem; min-width: 0; margin: 0; padding: 1rem 0; border: 0; border-bottom: 1px solid rgba(155, 220, 249, 0.45); }
.reply-field legend { float: left; width: auto; margin: 0 2rem 0 0; }
.reply-field label { display: flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.reply-field input { width: 1.15rem; height: 1.15rem; accent-color: var(--orange); }
.form-send { display: grid; grid-template-columns: minmax(12rem, 0.7fr) minmax(18rem, 1.3fr); gap: 1.5rem; padding-top: 1.5rem; }
.form-send button { display: flex; justify-content: space-between; align-items: center; min-height: 4.2rem; padding: 0.8rem 1rem; color: var(--night); background: var(--orange); border: 1px solid var(--orange); font-weight: 900; cursor: pointer; }
.form-send button:hover, .form-send button:focus-visible { background: var(--blue); border-color: var(--blue); }
.form-send p { margin: 0; color: var(--muted); font-size: 0.76rem; }
.form-send p a { color: var(--white); overflow-wrap: anywhere; }
.form-status { grid-column: 1 / -1; min-height: 1.5rem; color: var(--blue); font-size: 0.78rem; font-weight: 750; }
.dispatch-guide { display: grid; grid-template-columns: minmax(19rem, 0.55fr) minmax(32rem, 1.45fr); color: var(--white); background: var(--night); border-bottom: 1px solid var(--blue); }
.dispatch-guide > div { padding: clamp(4rem, 7vw, 7rem) var(--pad); border-right: 1px solid var(--blue); }
.dispatch-guide ol { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.dispatch-guide li { display: grid; grid-template-columns: 4rem 1fr; align-items: stretch; min-height: 10rem; border-right: 1px solid rgba(155, 220, 249, 0.45); border-bottom: 1px solid rgba(155, 220, 249, 0.45); }
.dispatch-guide li b { display: grid; place-items: center; color: var(--night); background: var(--blue); }
.dispatch-guide li span { align-self: center; padding: 1.5rem; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 700; }
.exit-board-compact .exit-ghost { font-size: clamp(7rem, 16vw, 15rem); }

@media (max-width: 1220px) {
  body { padding-top: 4.25rem; }
  .site-canvas { margin-right: 0; }
  .exit-board { margin-right: 0; }
  .route-rail { display: none; }
  .mobile-header { position: fixed; z-index: 45; top: 0; left: 0; right: 0; display: grid; grid-template-columns: auto 1fr auto; height: 4.25rem; color: var(--white); background: var(--night); border-bottom: 1px solid var(--blue); }
  .mobile-brand, .mobile-page, .menu-toggle { display: flex; align-items: center; min-height: 44px; padding: 0.65rem 0.9rem; }
  .mobile-brand { font-weight: 900; text-decoration: none; }
  .mobile-page { justify-content: center; border-left: 1px solid rgba(242, 240, 232, 0.25); font-size: 0.75rem; font-weight: 750; text-transform: uppercase; }
  .menu-toggle { gap: 0.65rem; border: 0; border-left: 1px solid rgba(242, 240, 232, 0.25); color: var(--night); background: var(--orange); font-weight: 850; cursor: pointer; }
  .menu-scrim { position: fixed; z-index: 48; inset: 0; display: block; background: rgba(8, 11, 15, 0.72); }
  .menu-scrim[hidden] { display: none; }
  .route-menu { position: fixed; z-index: 50; inset: 0; display: grid; grid-template-rows: auto 1fr auto; overflow-y: auto; color: var(--white); background: var(--steel); transform: translateX(102%); visibility: hidden; transition: transform 220ms ease, visibility 220ms; }
  .route-menu.is-open { transform: translateX(0); visibility: visible; }
  .menu-head { display: flex; justify-content: space-between; align-items: center; min-height: 4.25rem; padding-left: 1rem; border-bottom: 1px solid var(--blue); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
  .menu-close { align-self: stretch; min-width: 7.5rem; border: 0; border-left: 1px solid var(--blue); color: var(--night); background: var(--blue); font-weight: 850; cursor: pointer; }
  .route-menu nav { display: grid; align-content: center; }
  .route-menu nav a { display: flex; justify-content: space-between; align-items: center; min-height: 4.5rem; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(242, 240, 232, 0.28); font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 7vw, 4rem); font-weight: 750; text-decoration: none; }
  .route-menu nav a.is-current { color: var(--night); background: var(--orange); }
  .menu-contact { display: grid; grid-template-columns: 1fr 1fr; }
  .menu-contact a { min-height: 4rem; display: flex; align-items: center; padding: 0.8rem 1rem; border-top: 1px solid var(--blue); overflow-wrap: anywhere; }

  .hero-metadata { grid-template-columns: 1fr auto; }
  .hero-metadata span:nth-child(2) { display: none; }
  .hero-heading { padding-top: 4rem; }
  .hero-heading h1 { font-size: clamp(5rem, 17vw, 9rem); }
  .hero-photo-lane { top: 43%; }
  .hero-brief { left: var(--pad); right: var(--pad); grid-template-columns: 1fr auto; }
  .hero-signal { display: none; }
  .lanes-heading { grid-template-columns: 1fr; }

  .coordinate-wall, .work-wall, .handoff-board, .dispatch-guide { grid-template-columns: 1fr; }
  .coordinate-title, .work-wall > div, .handoff-intro, .dispatch-guide > div { border-right: 0; border-bottom: 1px solid var(--blue); }
  .city-board { grid-template-columns: 7rem 1fr 0.7fr; }
  .city-board .action { grid-column: 1 / -1; min-height: 5rem; }
  .road-heading h1 { font-size: clamp(4.4rem, 10.5vw, 8rem); }
  .road-heading > p:nth-of-type(2), .road-heading .action { margin-left: 0; }
  .route-brief { grid-template-columns: 1fr 1fr; }
  .brief-heading { grid-column: 1 / -1; }
  .route-brief > div { min-height: 16rem; }
  .brief-cell:last-child { grid-column: 1 / -1; }
  .mode-heading, .matrix-title { grid-template-columns: 1fr; }
  .mode-lanes article > div { grid-template-columns: 1fr; gap: 0.8rem; }
  .road-builder { grid-template-columns: 0.8fr 1.2fr; }
  .interlock article { grid-template-columns: 6rem 1fr; }
  .interlock article > div { grid-template-columns: 1fr; gap: 1.2rem; border-right: 0; }
  .interlock article > a { grid-column: 1 / -1; min-height: 5rem; border-top: 1px solid var(--night); }
  .floor-visuals { grid-template-columns: 0.85fr 1fr; grid-template-rows: auto 35rem; }
  .visuals-copy { grid-column: 1 / -1; }
  .floor-visuals figure { border-top: 1px solid var(--blue); }
  .network-heading h1 { font-size: clamp(4.2rem, 9.7vw, 7.5rem); }
  .handoff-line { min-height: 26rem; }
  .matrix-row { grid-template-columns: 6rem 0.7fr 1.3fr 9rem; }
  .network-note { grid-template-columns: 6rem 1fr 1fr; }
  .network-note .action { grid-column: 1 / -1; min-height: 5rem; border-top: 1px solid var(--night); }
  .dispatch-hero { grid-template-columns: 0.75fr 1.25fr; }
  .dispatch-contact h1 { font-size: clamp(4.6rem, 9vw, 7rem); }
  .contact-routes a { grid-template-columns: 3rem 1fr auto; }
  .dispatch-form { padding: 2rem; }
  #cargo-express, #worker { scroll-margin-top: 5.25rem; }
}

@media (max-width: 620px) {
  .mobile-page { display: none; }
  .mobile-header { grid-template-columns: 1fr auto; }
  .yard-hero { min-height: 52rem; }
  .hero-metadata { grid-template-columns: 1fr; gap: 0.25rem; }
  .hero-metadata a { justify-self: start; }
  .hero-heading { padding-top: 3rem; }
  .hero-heading h1 { font-size: clamp(4.2rem, 22vw, 7rem); line-height: 0.63; }
  .hero-heading h1 span:nth-child(2) { padding-left: 10vw; }
  .hero-photo-lane { top: 37%; height: 10rem; }
  .hero-photo-lane figcaption span:first-child { max-width: 16rem; }
  .hero-brief { bottom: 2rem; grid-template-columns: 1fr; gap: 1.3rem; }
  .hero-actions { grid-template-columns: 1fr 1fr; min-width: 0; }
  .lane-list a { grid-template-columns: 3.5rem 1fr 3.5rem; min-height: 8rem; }
  .lane-list a > strong { border-right: 1px solid var(--night); }
  .lane-list a > p { grid-column: 2 / -1; min-height: 4rem; border-top: 1px solid var(--night); border-right: 0; }
  .menu-contact { grid-template-columns: 1fr; }

  .coordinate-title, .coordinate-nodes { padding-block: 3.5rem; }
  .coordinate-nodes li { grid-template-columns: 2.5rem 1fr; padding-block: 0.65rem; }
  .coordinate-nodes small { grid-column: 2; border-left: 0; padding-top: 0; }
  .city-board { grid-template-columns: 1fr; }
  .city-board > * { min-height: auto; padding: 1.5rem; border-right: 0; border-bottom: 1px solid var(--night); }
  .city-board > .city-code { writing-mode: horizontal-tb; }
  .city-board .action { grid-column: auto; min-width: 0; }
  .exit-line { grid-template-columns: 1fr; gap: 0.7rem; min-height: 7rem; }
  .exit-phone > a { font-size: clamp(3rem, 14vw, 5.2rem); }
  .exit-email > a { font-size: clamp(1.45rem, 7.2vw, 2.6rem); }
  .exit-address { grid-template-columns: 1fr; }
  .exit-small { grid-template-columns: 1fr; gap: 1.2rem; }

  .page-signal { grid-template-columns: 1fr auto; }
  .page-signal span:nth-child(2) { display: none; }
  .road-hero { grid-template-columns: 1fr; grid-template-rows: auto auto 21rem; }
  .road-heading { min-height: 35rem; border-right: 0; border-bottom: 1px solid var(--night); }
  .road-heading h1 { font-size: clamp(4rem, 18vw, 7rem); }
  .road-truck { min-height: 21rem; }
  .clock-block { display: none; }
  .route-brief { grid-template-columns: 1fr; }
  .brief-heading, .brief-cell:last-child { grid-column: auto; }
  .route-brief > div { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(155, 220, 249, 0.45); }
  .brief-cell { min-height: 13rem !important; }
  .mode-lanes article { grid-template-columns: 4.5rem 1fr; }
  .mode-lanes article > div { padding: 2rem 1.25rem; }
  .mode-lanes article > a { grid-column: 1 / -1; min-height: 4.5rem; border-left: 0; border-top: 1px solid var(--night); }
  .road-builder { grid-template-columns: 1fr; }
  .road-builder figure { min-height: 26rem; border-right: 0; border-bottom: 1px solid var(--blue); }
  .builder-copy { padding: 3.5rem 1.25rem; }
  .builder-copy ul { grid-template-columns: 1fr; }
  .builder-copy li:nth-child(odd) { border-right: 0; }
  .dispatch-band, .floor-dispatch { grid-template-columns: 1fr; }

  .floor-hero { min-height: 49rem; }
  .floor-hero > figure { inset: 0 0 43% 0; }
  .floor-hero > figure::after { background: rgba(8,11,15,0.38); }
  .floor-title { top: 8%; left: var(--pad); right: var(--pad); }
  .floor-title h1 { font-size: clamp(4rem, 17vw, 6.8rem); }
  .floor-lede { right: var(--pad); bottom: 5%; width: auto; left: var(--pad); }
  .work-wall li { grid-template-columns: 4rem 1fr; }
  .interlock article { grid-template-columns: 4rem 1fr; }
  .interlock article > span { padding: 0.65rem; }
  .floor-visuals { grid-template-columns: 1fr 1fr; grid-template-rows: auto 30rem; min-height: 0; }
  .visuals-copy { grid-column: 1 / -1; }
  .floor-dispatch > span { margin: 0; }

  .network-hero { grid-template-columns: 1fr; min-height: 0; }
  .network-heading { min-height: 38rem; border-right: 0; border-bottom: 1px solid var(--night); }
  .network-heading h1 { font-size: clamp(4rem, 17vw, 7rem); }
  .network-heading p { margin-left: 0; }
  .network-aerial { min-height: 27rem; }
  .network-aerial img { object-position: center 20%; }
  .network-index { display: none; }
  .handoff-line { grid-template-columns: 1fr; min-height: 0; gap: 0; padding-block: 2rem; }
  .handoff-line::before { top: 2rem; bottom: 2rem; left: calc(var(--pad) + 1.35rem); right: auto; width: 1px; height: auto; }
  .handoff-line li { grid-template-columns: 2.7rem 1fr; grid-template-rows: auto auto; justify-items: start; min-height: 5.5rem; text-align: left; }
  .handoff-line span { margin: 0; padding-left: 1rem; align-self: end; }
  .handoff-line small { grid-column: 2; padding-left: 1rem; }
  .matrix-row { grid-template-columns: 4.5rem 1fr; }
  .matrix-row > * { min-height: 5rem; }
  .matrix-row > b { grid-row: 1 / 3; writing-mode: vertical-rl; }
  .matrix-row p { border-top: 1px solid var(--night); }
  .matrix-row a { grid-column: 1 / -1; border-top: 1px solid var(--night); }
  .network-note { grid-template-columns: 4.5rem 1fr; }
  .network-note > p { grid-column: 1 / -1; border-top: 1px solid var(--night); }

  .dispatch-hero { grid-template-columns: 1fr; }
  .dispatch-contact { min-height: 44rem; border-right: 0; border-bottom: 1px solid var(--night); }
  .dispatch-contact h1 { font-size: clamp(4.1rem, 17vw, 7rem); }
  .dispatch-contact > p { margin-left: 0; }
  .dispatch-contact address { grid-template-columns: 1fr; }
  .dispatch-form { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; }
  .field-wide { grid-column: auto; }
  .field-left, .field-right { padding-left: 0; padding-right: 0; border-right: 0; }
  .reply-field { flex-wrap: wrap; }
  .reply-field legend { float: none; width: 100%; margin-right: 0; }
  .form-send { grid-template-columns: 1fr; }
  .form-status { grid-column: auto; }
  .dispatch-guide ol { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .mobile-brand, .menu-toggle { padding-inline: 0.7rem; }
  .hero-heading h1 { font-size: 4.35rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .lanes-heading h2 { font-size: 3.15rem; }
  .coordinate-title h2, .brief-heading h2, .mode-heading h2, .builder-copy h2, .work-wall h2, .visuals-copy h2, .handoff-intro h2, .matrix-title h2, .network-note h2, .dispatch-guide h2 { font-size: 3rem; }
  .exit-phone > a { font-size: 2.72rem; }
  .exit-email > a { font-size: 1.35rem; }
  .road-heading h1, .floor-title h1, .network-heading h1, .dispatch-contact h1 { font-size: 3.75rem; }
  .contact-routes a { grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
  .contact-routes strong { font-size: 1.12rem; }
  .floor-visuals { grid-template-columns: 1fr; grid-template-rows: auto 28rem 28rem; }
  .floor-visuals figure { border-left: 0; }
  .worker-frame img { object-position: center 24%; }
}

@media (max-width: 520px) {
  .floor-visuals { grid-template-columns: 1fr; grid-template-rows: auto 28rem 28rem; }
  .floor-visuals figure { border-left: 0; }
  .worker-frame img { object-position: center 24%; }
}

@media (max-width: 920px) {
  .dispatch-hero { grid-template-columns: 1fr; }
  .dispatch-contact { border-right: 0; border-bottom: 1px solid var(--night); }
}

@media (max-width: 760px) {
  .lane-list a { grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem; min-height: 8rem; }
  .lane-list a > span { grid-column: 1; grid-row: 1 / 3; }
  .lane-list a > strong { grid-column: 2; grid-row: 1; border-right: 1px solid var(--night); }
  .lane-list a > b { grid-column: 3; grid-row: 1; }
  .lane-list a > p { grid-column: 2 / 4; grid-row: 2; min-height: 4rem; border-top: 1px solid var(--night); border-right: 0; }
  .city-board { grid-template-columns: 1fr; }
  .city-board > * { min-height: auto; padding: 1.5rem; border-right: 0; border-bottom: 1px solid var(--night); }
  .city-board > .city-code { writing-mode: horizontal-tb; }
  .city-board .action { grid-column: auto; min-width: 0; }
  .mode-lanes article { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .mode-lanes article > div { padding: 2rem 1.25rem; }
  .mode-lanes article > a { grid-column: 1 / -1; min-height: 4.5rem; border-left: 0; border-top: 1px solid var(--night); }
  .matrix-row { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .matrix-row > * { min-height: 5rem; }
  .matrix-row > b { grid-row: 1 / 3; writing-mode: vertical-rl; }
  .matrix-row p { border-top: 1px solid var(--night); }
  .matrix-row a { grid-column: 1 / -1; border-top: 1px solid var(--night); }
}

@media (min-width: 1221px) and (max-height: 620px) {
  .route-rail { grid-template-rows: 4rem 1fr auto; overflow-y: auto; }
  .route-rail nav a { min-height: 3rem; }
  .route-rail nav span { margin-top: 0.1rem; font-size: 0.65rem; }
  .rail-call { padding: 0.45rem; }
}

@media (min-width: 1221px) and (max-height: 700px) {
  .yard-hero { min-height: 48rem; }
  .hero-heading { padding-top: 2.5rem; }
  .hero-heading h1 { font-size: clamp(5.2rem, 18vh, 8rem); }
}

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