:root {
  --paper: #f5f2e9;
  --ink: #252622;
  --muted: #61635b;
  --line: #d6d5ca;
  --systems: #000000;
  --experiences: #dc241f;
  --community: #ffc80a;
  --off-duty: #039be5;
  --blue: #006a9e;
  --mono: "Courier New", monospace;
  --serif: Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button {
  background: transparent;
}
::selection {
  background: var(--community);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid #006a9e;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 500;
}
p {
  color: var(--muted);
}
h2 {
  font-size: clamp(36px, 4.2vw, 64px);
}
h3 {
  font-size: 25px;
}
em {
  font-family: var(--serif);
  font-weight: 400;
}
.wrap {
  width: calc(100% - 112px);
  max-width: 1440px;
  margin-inline: auto;
}
.eyebrow {
  font: 11px/1.7 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-block: 5px;
}
.text-link:hover {
  color: #ab251e;
  border-color: currentColor;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  min-height: 50px;
  padding: 12px 22px;
  font-size: 14px;
  border: 1px solid var(--ink);
  border-radius: 3px;
}
.button-dark,
.button-blue {
  background: var(--ink);
  color: var(--paper);
}
.button:hover {
  background: #e4e1d6;
  color: var(--ink);
}
.button-outline {
  background: transparent;
}
.title-dot,
.station h2 > span,
.section-heading h2 > span {
  color: var(--experiences);
}
.blue {
  color: var(--blue);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 10px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 88px;
  padding-inline: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 242, 233, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
}
.wordmark small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 2px;
}
.brand-track {
  display: flex;
  gap: 3px;
  transform: skewY(-24deg);
  height: 30px;
}
.brand-track i {
  display: block;
  width: 5px;
  border-radius: 4px;
  background: var(--systems);
}
.brand-track i:nth-child(2) {
  background: var(--experiences);
}
.brand-track i:nth-child(3) {
  background: var(--community);
}
.brand-track i:nth-child(4) {
  background: var(--off-duty);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 13px;
}
.site-header nav a {
  padding-block: 12px;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.header-contact {
  border-bottom: 1px solid var(--ink);
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding-block: 28px 115px;
  font-size: 11px;
  border-top: 1px solid var(--line);
}
.site-footer > a:first-child {
  font-weight: 700;
}
.site-footer > span:nth-child(2) {
  margin-right: auto;
}
.railway {
  position: relative;
  isolation: isolate;
}
.rail-scene {
  position: fixed;
  top: 88px;
  right: 0;
  width: 50%;
  height: calc(100svh - 88px);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.rail-scene canvas {
  width: 100%;
  height: calc(100% - 130px);
  display: block;
}
.station-canvas {
  display: none;
}
.scene-coordinate,
.scene-caption {
  position: absolute;
  font: 10px var(--mono);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.scene-coordinate {
  right: 56px;
  top: 28px;
}
.scene-caption {
  bottom: 92px;
  left: 18%;
  right: 36px;
}
.rail-ready .rail-scene {
  opacity: 1;
}
.rail-outside .rail-scene {
  opacity: 0;
}
.hero {
  min-height: calc(100svh - 88px);
  position: relative;
  display: flex;
  align-items: center;
  padding-block: 60px 120px;
}
.hero-copy {
  width: 44%;
  position: relative;
  z-index: 1;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--experiences);
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
}
.hero h1 {
  font-size: clamp(80px, 8.8vw, 144px);
  letter-spacing: -0.075em;
  line-height: 0.88;
  margin: 35px 0 28px;
}
.hero-intro {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.4;
  max-width: 380px;
  color: var(--ink);
}
.hero-description {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 17px;
}
.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-role {
  font: 10px/1.9 var(--mono);
  margin-top: 35px;
}
.hero-role strong {
  font-weight: 400;
  color: var(--ink);
}
.hero-bottom {
  position: absolute;
  left: 0;
  width: 44%;
  bottom: 34px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font: 9px var(--mono);
  letter-spacing: 0.06em;
}
.hero-bottom > span:last-child {
  white-space: nowrap;
}
.home-illustration {
  position: absolute;
  width: 57%;
  height: 90%;
  right: -56px;
  top: 0;
  overflow: hidden;
  z-index: -1;
  transition: opacity 0.3s;
}
.home-illustration svg {
  height: 100%;
  width: 100%;
}
.home-platform {
  position: absolute;
  left: 28%;
  top: 74%;
  font: 12px/1.7 var(--mono);
  padding: 10px 18px;
  background: var(--paper);
  border-left: 3px solid var(--ink);
}
.home-platform small {
  color: var(--muted);
  font-size: 10px;
}
.rail-ready .home-illustration {
  opacity: 0;
}
.journey-heading {
  position: relative;
}
.journey-heading-copy {
  width: 44%;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 13px;
}
.journey-heading-copy > .eyebrow {
  margin-bottom: 8px;
}
.station {
  min-height: calc(100svh - 80px);
  padding-block: 90px 130px;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  position: relative;
}
.station-copy {
  max-width: 530px;
}
.station-routes {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.route-label {
  font: 11px var(--mono);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.route-label i,
.line-legend i {
  display: inline-block;
  width: 22px;
  height: 6px;
  border-radius: 4px;
  background: var(--route);
}
.interchange-label {
  font: 9px var(--mono);
  color: var(--muted);
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.station-id {
  margin-bottom: 20px;
  font-size: 10px;
}
.station h2 {
  font-size: clamp(48px, 5.1vw, 78px);
  max-width: 530px;
  line-height: 0.98;
}
.station-highlights { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 15px; }
.station-highlights li { padding: 14px 0 0; border-top: 1px solid #bfc4bb; }
.station-highlights strong { display: block; font-size: 15px; line-height: 1.4; color: var(--ink); }
.station-highlights li > span { display: block; margin-top: 5px; color: #43514d; font-size: 13px; line-height: 1.7; }
.station-highlights .text-link { margin-top: 8px; font-size: 12px; }
.case-body .station-highlights { margin-block: 28px; }
.case-body .station-highlights strong { font-size: 19px; }
.case-body .station-highlights li > span { font-size: 15px; }

.station-summary {
  font-size: 19px;
  line-height: 1.5;
  margin-top: 24px;
  color: var(--ink);
  max-width: 420px;
}
.station-contribution {
  font-size: 14px;
  line-height: 1.85;
  max-width: 400px;
  margin-top: 18px;
}
.station-metric {
  margin: 26px 0 20px;
  padding-left: 18px;
  border-left: 2px solid var(--ink);
}
.station-metric strong {
  display: block;
  font-size: clamp(23px, 2.7vw, 40px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.station-metric span {
  display: block;
  max-width: 320px;
  font: 10px/1.6 var(--mono);
  margin-top: 9px;
  color: var(--muted);
}
.job-console {
  position: absolute;
  left: 25%;
  top: 19%;
  width: 50%;
  padding: 22px;
  border: 8px solid #a4aca2;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font: 11px/1.8 var(--mono);
  transform: rotate(-6deg);
}
.job-console i {
  display: block;
  height: 5px;
  background: #9ab4a4;
  margin: 13px 0;
}
.job-console i:nth-of-type(2) { width: 65%; }
.job-console strong { color: #d7e6d2; }
.batch-cards {
  position: absolute;
  inset: 22% 15% auto;
  display: flex;
  gap: 10px;
  transform: rotate(-8deg);
}
.batch-cards span {
  flex: 1;
  padding: 38px 0;
  background: #b0bdb1;
  border: 3px solid #456f51;
  border-radius: 5px;
  box-shadow: 5px 7px 0 #7f9485;
  text-align: center;
  font: 16px var(--mono);
}
.kitchen-link {
  margin-left: 18px;
}
.station-art {
  position: relative;
  padding: 30px;
  transition: opacity 0.2s;
  min-width: 0;
}
.station-art > p {
  font: 10px/1.7 var(--mono);
  margin-top: 45px;
  padding-inline: 20px;
}
.station-art > p span {
  display: block;
}
.rail-ready .station-art {
  opacity: 0;
}
.station.active .station-id {
  color: var(--ink);
}
/* CSS miniatures remain available without WebGL or JavaScript. */
.miniature {
  height: 330px;
  position: relative;
  perspective: 900px;
}
.mini-platform {
  position: absolute;
  left: 9%;
  right: 5%;
  bottom: 65px;
  height: 160px;
  border: 1px solid #d6d1c1;
  background:
    repeating-linear-gradient(90deg, transparent 0 36px, #d6d1c1 37px 38px),
    repeating-linear-gradient(0deg, #e9e5d8 0 36px, #d6d1c1 37px 38px);
  transform: rotateX(50deg) rotateZ(-23deg);
  box-shadow:
    -9px 12px 0 #d3cebd,
    0 27px 30px #302a171c;
}
.platform-sign {
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--paper);
  background: var(--ink);
  padding: 9px 16px;
  font: 11px var(--mono);
}
.platform-edge {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  border-top: 4px solid var(--community);
}
.mini-rail {
  position: absolute;
  bottom: 28px;
  left: 3%;
  width: 95%;
  height: 12px;
  transform: rotate(-15deg);
  border-block: 3px solid var(--ink);
}
.storage-blocks {
  position: absolute;
  left: 25%;
  top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 45px);
  gap: 12px;
  transform: skewY(-15deg);
}
.storage-blocks i {
  height: 64px;
  background: #7f8d87;
  border: 1px solid #62746c;
  border-radius: 4px;
  box-shadow: 7px -7px #abb9b1;
}
.storage-blocks i:nth-child(2n) {
  background: #d4dad0;
}
.mini-pitch {
  position: absolute;
  inset: 30px 8% 80px 14%;
  transform: rotateX(38deg) rotateZ(-20deg);
  background: #8c9c75;
  border: 8px solid #81906b;
  outline: 2px solid #627657;
  box-shadow: -8px 10px #637951;
}
.mini-pitch:before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid #eeeede;
}
.mini-pitch > span {
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  border-left: 2px solid #eeeede;
}
.mini-pitch > span:after {
  content: "";
  position: absolute;
  top: 30%;
  left: -26px;
  width: 50px;
  height: 50px;
  border: 2px solid #eeeede;
  border-radius: 50%;
}
.mini-pitch i {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 13px;
  height: 18px;
  border-radius: 10px 10px 4px 4px;
  background: var(--experiences);
  box-shadow: 4px 5px 0 #0002;
}
.mini-pitch i:nth-of-type(2) {
  left: 65%;
  top: 22%;
}
.mini-pitch i:nth-of-type(3) {
  left: 45%;
  top: 62%;
}
.mini-pitch i:nth-of-type(4) {
  left: 78%;
  top: 60%;
  background: var(--paper);
}
.mini-pitch b {
  position: absolute;
  top: 48%;
  left: 48%;
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
}
.care-buildings {
  position: absolute;
  inset: 40px 22% 100px;
  display: flex;
  gap: 12px;
  align-items: end;
  transform: skewY(-14deg);
}
.care-buildings i {
  width: 65px;
  height: 100px;
  background: #d2b75d;
  box-shadow: 10px -10px #e6d295;
}
.care-buildings i:nth-child(2) {
  height: 150px;
  background: #7c9184;
  box-shadow: 10px -10px #b3c2b8;
}
.care-buildings i:nth-child(3) {
  height: 80px;
}
.focaccia {
  position: absolute;
  left: 22%;
  top: 50px;
  width: 190px;
  height: 130px;
  background: #d6a35d;
  border: 9px solid #b7b9b0;
  border-radius: 10px;
  transform: rotateX(35deg) rotateZ(-20deg);
  box-shadow: -4px 9px #747a70;
}
.focaccia i {
  position: absolute;
  width: 10px;
  height: 8px;
  border-radius: 50%;
  background: #865c2a;
  left: 20%;
  top: 20%;
}
.focaccia i:nth-child(2) {
  left: 65%;
  top: 60%;
}
.focaccia i:nth-child(3) {
  left: 45%;
  top: 40%;
}
.focaccia i:nth-child(4) {
  left: 74%;
  top: 20%;
}
.focaccia i:nth-child(5) {
  left: 20%;
  top: 70%;
}
.coffee-cup {
  position: absolute;
  left: 70%;
  top: 118px;
  width: 45px;
  height: 50px;
  border-radius: 6px 6px 20px 20px;
  background: #faf8f1;
  border-top: 8px solid #62442e;
  box-shadow: 5px 7px #0001;
}
.speech-shape {
  position: absolute;
  left: 24%;
  top: 35px;
  transform: rotate(-8deg);
}
.speech-shape span {
  display: block;
  background: #c9574b;
  color: var(--paper);
  padding: 18px 34px;
  border-radius: 20px 20px 20px 0;
  font-size: 24px;
  box-shadow: 5px 7px #b44439;
}
.speech-shape span + span {
  margin: 20px 0 0 45px;
  background: #ddd6bf;
  color: var(--ink);
  box-shadow: 5px 7px #c2b89c;
}
.code-book {
  position: absolute;
  top: 35px;
  left: 29%;
  padding: 28px 36px;
  background: #343f37;
  transform: rotate(-10deg);
  box-shadow:
    5px 5px #fff,
    8px 9px #b5ae95,
    10px 12px #343f37;
  border-radius: 3px;
  color: var(--paper);
  font: 30px/1.4 var(--mono);
}
.integrity-gate {
  position: absolute;
  left: 36%;
  top: 40px;
  width: 100px;
  height: 150px;
  border: 15px solid #93a99e;
  border-bottom: 0;
  border-radius: 50px 50px 0 0;
  box-shadow: 8px -4px #5e786a;
  transform: skewY(-12deg);
}
.integrity-gate span {
  display: block;
  text-align: center;
  font-size: 40px;
  padding-top: 20px;
  color: #375943;
}
.journey-controls {
  position: fixed;
  bottom: 22px;
  right: 24px;
  max-width: calc(50% - 48px);
  display: flex;
  align-items: center;
  padding: 7px 7px 7px 22px;
  gap: 6px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid #44463e;
  border-radius: 7px;
  z-index: 30;
  box-shadow: 0 8px 30px #25262220;
  white-space: nowrap;
}
.journey-controls button {
  border: 0;
  color: inherit;
  font-size: 11px;
  padding: 11px 14px;
  border-radius: 3px;
  min-height: 42px;
}
.journey-controls button:hover,
.journey-controls button[aria-expanded="true"] {
  background: #41443a;
}
.journey-controls #map-toggle {
  background: var(--paper);
  color: var(--ink);
  padding-inline: 22px;
  font-size: 12px;
}
.current-stop {
  font: 10px var(--mono);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 20px;
}
.drive-panel {
  position: fixed;
  bottom: 96px;
  right: 30px;
  width: 350px;
  z-index: 31;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 22px;
  border-radius: 6px;
  box-shadow: 0 15px 40px #0002;
}
.drive-panel > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drive-panel > div:first-child button {
  border: 0;
  font-size: 27px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
}
.drive-panel p {
  font-size: 12px;
  margin-block: 10px;
}
.drive-panel label {
  font: 11px var(--mono);
  display: flex;
  align-items: center;
  gap: 20px;
}
.drive-panel select {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
}
.drive-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.drive-actions button {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 10px;
  flex: 1;
  min-height: 44px;
}
.network-section {
  position: relative;
  z-index: 1;
  background: #eeece2;
  border-block: 1px solid var(--line);
  padding-block: 80px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.section-heading h2 {
  margin-top: 18px;
}
.line-legend {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-block: 38px;
}
.line-legend li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.line-legend strong {
  font-size: 13px;
  font-weight: 500;
}
.line-legend span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.line-legend i {
  flex-shrink: 0;
}
.network-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 45px;
  align-items: center;
}
.network-map {
  width: 100%;
  overflow: visible;
}
.network-map a circle {
  stroke: var(--ink);
  fill: var(--paper);
  stroke-width: 3;
}
.network-map text {
  fill: var(--ink);
  font:
    12px Arial,
    sans-serif;
}
.network-map .map-number {
  font: 10px var(--mono);
  fill: var(--muted);
}
.network-map a:hover circle,
.network-map a:focus circle {
  fill: var(--community);
}
.network-map a:hover text,
.network-map a:focus text {
  font-weight: 700;
}
.network-map .map-note {
  font: 10px var(--mono);
  fill: var(--muted);
}
.map-marker {
  pointer-events: none;
}
.map-marker circle:first-child {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}
.map-marker circle + circle {
  fill: var(--ink);
}
.station-index {
  list-style: none;
  padding: 0;
  margin: 0;
}
.station-index a {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.station-index a > span {
  font: 10px var(--mono);
  color: var(--muted);
}
.station-index a > span:last-child {
  margin-left: auto;
}
.station-index strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
}
.station-index small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.station-index a:hover strong {
  color: #a4211b;
}
.station-index a[aria-current="location"] {
  border-left: 3px solid var(--ink);
  padding-left: 10px;
}
.about-section {
  padding-block: 100px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 25px;
}
.about-grid h2 {
  font-size: clamp(32px, 3.6vw, 54px);
}
.about-grid p {
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 530px;
}
.contact-section {
  padding-block: 50px 100px;
  border-top: 1px solid var(--line);
}
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(60px, 10vw, 145px);
  line-height: 1.4;
  letter-spacing: -0.07em;
}
.contact-link span {
  font-size: 0.6em;
  color: var(--experiences);
}
.contact-section > p {
  font-size: 14px;
}
.contact-section > .text-link {
  margin-top: 12px;
}
dialog {
  border: 1px solid var(--line);
  padding: 0;
  background: rgba(245, 242, 233, 0.96);
  color: var(--ink);
  width: min(1240px, calc(100% - 60px));
  max-height: calc(100svh - 70px);
  border-radius: 8px;
}
dialog::backdrop {
  background: #25262266;
  backdrop-filter: blur(7px);
}
.map-dialog-inner {
  padding: 35px 45px;
}
.map-dialog-inner .section-heading h2 {
  font-size: 52px;
  margin-top: 10px;
}
.map-dialog-inner .line-legend {
  margin-block: 25px;
}
.map-dialog-inner .network-layout {
  gap: 30px;
}
.map-dialog-inner #map-location {
  font: 11px var(--mono);
  margin-top: 18px;
}
.map-dialog-inner .station-index a {
  padding-block: 12px;
}
.map-home {
  font: 11px var(--mono);
  padding: 10px 0;
  display: block;
}
.map-open {
  overflow: hidden;
}
.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.case-study,
.archive {
  padding-block: 42px 100px;
}
.case-heading,
.archive-heading {
  padding-block: 60px 55px;
  border-bottom: 1px solid var(--line);
}
.case-heading h1,
.archive-heading h1 {
  font-size: clamp(48px, 7.5vw, 105px);
  max-width: 1000px;
  margin-block: 20px;
}
.case-deck,
.archive-heading > p:last-child {
  font-size: 20px;
  max-width: 640px;
  color: var(--muted);
}
.tags {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.tags li,
.topic-label {
  font: 10px/1.6 var(--mono);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 9px;
}
.case-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 90px;
  align-items: start;
  padding-top: 50px;
}
.case-aside {
  position: sticky;
  top: 120px;
}
.case-aside .station-metric {
  margin-top: 0;
}
.case-aside nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font: 11px var(--mono);
  margin-top: 35px;
}
.case-aside nav a {
  padding-block: 6px;
}
.case-aside nav a:hover {
  text-decoration: underline;
}
.case-body {
  max-width: 700px;
}
.case-body section {
  margin-bottom: 56px;
}
.case-body h2 {
  font-size: 35px;
  margin: 14px 0 24px;
}
.case-body p {
  font-size: 16px;
  line-height: 1.9;
}
.case-body .eyebrow {
  font-size: 10px;
}
.story-sequence {
  list-style: none;
  padding: 0;
  margin: 35px 0;
}
.story-sequence li {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.story-sequence li > span {
  font: 12px var(--mono);
  padding-top: 4px;
}
.story-sequence h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.story-sequence p {
  font-size: 14px;
}
.case-flow,
.case-comparison {
  margin: 30px 0;
}
.case-flow ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
.case-flow li {
  counter-increment: flow;
  padding: 18px;
  background: #ebe8dc;
  border-top: 2px solid var(--ink);
}
.case-flow li::before {
  content: "0" counter(flow) " / ";
  font: 11px var(--mono);
}
.case-flow strong { font-size: 17px; }
.case-flow li span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.case-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.case-comparison > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
}
.case-comparison > div:nth-child(2) { background: #e2e8df; }
.case-comparison strong {
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.case-comparison > div > span:last-child {
  font-size: 13px;
  line-height: 1.6;
}
.case-flow figcaption,
.case-comparison figcaption {
  grid-column: 1 / -1;
  margin-top: 12px;
  color: var(--muted);
  font: 11px/1.7 var(--mono);
}
@media (max-width: 480px) {
  .case-flow ol,
  .case-comparison { grid-template-columns: 1fr; }
}
.evidence-note {
  padding: 25px;
  background: #ebe8dc;
  border-left: 3px solid #b6b3a4;
}
.evidence-note .text-link {
  margin-top: 15px;
}
.evidence-note p {
  font-size: 13px;
}
.evidence-note .eyebrow {
  margin-bottom: 10px;
}
.case-end {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.archive-filters {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 30px;
}
.archive-filters > div {
  flex: 1;
  min-width: 125px;
}
.archive-filters .archive-query {
  flex: 2;
  min-width: 230px;
}
.archive-filters label {
  display: block;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.archive-filters input,
.archive-filters select {
  width: 100%;
  min-height: 49px;
  background: transparent;
  border: 1px solid #acae9e;
  border-radius: 3px;
  padding: 12px;
  font-size: 13px;
}
.archive-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font: 12px var(--mono);
}
.archive-note {
  font-size: 12px;
  max-width: 720px;
  margin-block: 16px 30px;
}
.contribution-list article {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-block: 35px;
  border-top: 1px solid var(--line);
}
.contribution-list article > div:first-child > p {
  font: 10px var(--mono);
  margin-top: 10px;
}
.contribution-list h2 {
  font-size: 30px;
  margin-block: 15px;
}
.contribution-list h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.contribution-list h2 span {
  font-size: 20px;
}
.contribution-list article > div > p {
  font-size: 14px;
  max-width: 740px;
}
.empty-search {
  padding: 45px 0;
}
.empty-search h2 {
  font-size: 32px;
}
.empty-search p {
  margin-block: 20px;
}
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 145px;
  }
  .station {
    min-height: 900px;
  }
}
@media (max-width: 1050px) {
  .current-stop {
    display: none;
  }
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    padding-inline: 32px;
  }
  .hero h1 {
    font-size: 100px;
  }
  .hero-copy,
  .hero-bottom,
  .journey-heading-copy {
    width: 48%;
  }
  .home-illustration {
    right: -32px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .button {
    padding-inline: 15px;
    gap: 20px;
  }
  .station {
    grid-template-columns: 48% 52%;
  }
  .station h2 {
    font-size: 60px;
  }
  .network-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
  }
  .line-legend {
    gap: 18px;
  }
  .line-legend li {
    gap: 8px;
  }
  .case-layout {
    gap: 45px;
  }
  .station-art {
    padding: 5px;
  }
  .scene-caption {
    left: 15%;
    right: 20px;
  }
  .about-grid {
    gap: 40px;
  }
  .miniature {
    transform: scale(0.9);
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: auto;
    min-height: 78px;
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .wordmark {
    font-size: 10px;
  }
  .wordmark small {
    font-size: 9px;
  }
  .brand-track {
    height: 25px;
  }
  .site-header nav {
    gap: 19px;
    font-size: 11px;
    margin-left: auto;
  }
  .nav-about {
    display: none;
  }
  .header-contact {
    border: 0;
  }
  .hero {
    min-height: calc(100svh - 78px);
    padding: 44px 0 70px;
    display: block;
  }
  .hero-copy,
  .hero-bottom,
  .journey-heading-copy {
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero h1 {
    font-size: clamp(76px, 17vw, 120px);
    margin: 28px 0 24px;
    max-width: 70%;
  }
  .hero-intro {
    font-size: 19px;
    max-width: 285px;
  }
  .hero-description {
    font-size: 12px;
    max-width: 280px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 20px;
  }
  .hero-actions .button {
    font-size: 12px;
    min-height: 45px;
    padding: 10px 15px;
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .hero-role {
    font-size: 9px;
    margin-top: 26px;
  }
  .hero-bottom {
    font-size: 8px;
    bottom: 18px;
    padding-top: 13px;
  }
  .hero-bottom > span:last-child {
    padding: 0;
  }
  .hero-bottom > span:first-child {
    max-width: 170px;
  }
  .home-illustration {
    right: -20px;
    top: 25px;
    width: 40%;
    height: 65%;
    opacity: 0.7;
  }
  .home-illustration svg {
    width: 380px;
    max-width: none;
    transform: translateX(-50px);
  }
  .home-platform {
    display: none;
  }
  .rail-scene {
    top: auto;
    bottom: 80px;
    width: 100%;
    height: 43svh;
    z-index: -1;
  }
  .rail-ready .hero .home-illustration {
    opacity: 0.75;
  }
  .rail-ready .rail-scene {
    opacity: 0;
  }
  .rail-ready.rail-at-station .rail-scene {
    opacity: 1;
  }
  .scene-coordinate {
    display: none;
  }
  .scene-caption {
    bottom: 12px;
    left: 20px;
    font-size: 9px;
  }
  .journey-heading {
    padding-block: 0;
  }
  .journey-heading-copy {
    font-size: 11px;
    display: block;
    padding-block: 23px;
  }
  .journey-heading-copy > .eyebrow {
    margin-bottom: 5px;
  }
  .station {
    min-height: calc(100svh - 78px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-block: 40px 55px;
    gap: 20px;
  }
  .station-copy {
    max-width: 600px;
  }
  .station-routes {
    margin-bottom: 23px;
    gap: 12px;
  }
  .station-id {
    font-size: 9px;
    margin-bottom: 16px;
  }
  .station h2 {
    font-size: clamp(42px, 10.5vw, 66px);
    max-width: 390px;
  }
  .station-summary {
    font-size: 17px;
    margin-top: 19px;
    max-width: 95%;
  }
  .station-contribution {
    font-size: 13px;
    margin-top: 15px;
    max-width: 96%;
    line-height: 1.75;
  }
  .station-metric {
    margin: 22px 0 13px;
  }
  .station-metric strong {
    font-size: 29px;
  }
  .station-metric span {
    font-size: 9px;
  }
  .station-art {
    height: 280px;
    flex-shrink: 0;
    padding: 0;
  }
  .station-art .miniature {
    height: 250px;
    width: 350px;
    max-width: 100%;
    margin-inline: auto;
    transform: scale(0.8);
    transform-origin: center center;
  }
  .station-art > p {
    margin: 0;
    font-size: 9px;
    padding-inline: 0;
  }
  .rail-ready .station-art {
    opacity: 1;
  }
  .station-rendered .miniature {
    visibility: hidden;
  }
  .station-rendered .station-canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 270px;
    pointer-events: none;
  }
  .station .station-copy {
    background: var(--paper);
    position: relative;
    z-index: 1;
    padding-bottom: 15px;
  }
  .rail-scene {
    background: var(--paper);
  }
  .current-stop {
    display: none;
  }
  .journey-controls {
    bottom: 12px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100% - 24px);
    padding: 5px;
    gap: 2px;
  }
  .journey-controls button {
    font-size: 10px;
    padding: 10px;
  }
  .journey-controls #map-toggle {
    padding-inline: 20px;
  }
  .drive-panel {
    bottom: 81px;
    right: 12px;
    width: min(350px, calc(100% - 24px));
  }
  .network-section {
    padding-block: 50px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > .text-link {
    margin-top: 22px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .line-legend {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-block: 30px;
  }
  .line-legend strong {
    font-size: 12px;
  }
  .line-legend span {
    font-size: 10px;
  }
  .network-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .network-map {
    margin-block: 15px;
  }
  .network-map text {
    font-size: 13px;
  }
  .station-index a {
    padding-block: 15px;
  }
  .station-index strong {
    font-size: 15px;
  }
  .station-index small {
    font-size: 11px;
  }
  .about-section {
    padding-block: 55px;
  }
  .about-grid {
    display: block;
    margin-top: 20px;
  }
  .about-grid h2 {
    font-size: 39px;
    margin-bottom: 25px;
  }
  .about-grid p {
    font-size: 14px;
  }
  .contact-section {
    padding-block: 35px 55px;
  }
  .contact-link {
    font-size: 75px;
    line-height: 1.6;
  }
  .contact-section > p {
    font-size: 12px;
  }
  .site-footer {
    gap: 17px;
    padding-bottom: 100px;
    font-size: 10px;
  }
  .site-footer > span:nth-child(2) {
    flex-basis: 100%;
    order: 5;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
  }
  .map-dialog-inner {
    padding: 22px;
  }
  .map-dialog-inner .section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .map-dialog-inner .section-heading h2 {
    font-size: 36px;
  }
  .map-dialog-inner .button {
    padding: 8px 12px;
    font-size: 11px;
    gap: 10px;
    min-height: 44px;
  }
  .map-dialog-inner .line-legend {
    gap: 15px;
    margin-block: 20px;
  }
  .compact strong {
    font-size: 10px;
  }
  .compact i {
    width: 14px;
  }
  .map-dialog-inner .network-map {
    margin: 0;
  }
  .map-dialog-inner .station-index a {
    padding-block: 13px;
  }
  .case-study,
  .archive {
    padding-block: 30px 60px;
  }
  .case-heading,
  .archive-heading {
    padding-block: 40px 30px;
  }
  .case-heading h1,
  .archive-heading h1 {
    font-size: 52px;
    overflow-wrap: anywhere;
  }
  .case-deck,
  .archive-heading > p:last-child {
    font-size: 17px;
  }
  .case-layout {
    display: block;
    padding-top: 30px;
  }
  .case-aside {
    position: static;
    margin-bottom: 45px;
  }
  .case-aside nav {
    gap: 6px;
  }
  .case-body section {
    margin-bottom: 38px;
  }
  .case-body h2 {
    font-size: 32px;
  }
  .case-body p {
    font-size: 15px;
  }
  .case-body .eyebrow {
    font-size: 10px;
  }
  .evidence-note p {
    font-size: 13px;
  }
  .case-end {
    gap: 20px;
  }
  .archive-filters {
    gap: 16px;
  }
  .archive-filters .archive-query {
    min-width: 100%;
  }
  .archive-filters > div {
    min-width: calc(50% - 8px);
  }
  .archive-filters .button {
    flex: 1;
  }
  .contribution-list article {
    display: block;
    padding-block: 28px;
  }
  .contribution-list article > div:first-child {
    margin-bottom: 22px;
  }
  .contribution-list h2 {
    font-size: 27px;
  }
  .archive-results {
    font-size: 11px;
  }
  .archive-results .text-link {
    font-size: 12px;
  }
}
@media (max-width: 390px) {
  .site-header {
    justify-content: center;
  }
  .site-header nav {
    margin-inline: auto;
    gap: 25px;
  }
  .wordmark small {
    display: none;
  }
  .brand-track {
    height: 20px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero-intro {
    max-width: 240px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero .text-link {
    gap: 8px;
  }
  .hero-bottom > span:first-child {
    max-width: 155px;
  }
  .station-routes {
    gap: 9px;
  }
  .route-label {
    font-size: 10px;
  }
  .kitchen-link {
    margin-left: 0;
  }
  .contact-link {
    font-size: 65px;
  }
  .line-legend {
    gap: 16px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .rail-scene {
    display: none !important;
  }
  .rail-ready .station-art,
  .rail-ready .home-illustration {
    opacity: 1 !important;
  }
}
body.motion-paused .rail-scene {
  display: none;
}
body.motion-paused .station-art,
body.motion-paused .home-illustration {
  opacity: 1 !important;
}
@media print {
  .site-header,
  .site-footer,
  .journey-controls,
  .drive-panel,
  .rail-scene,
  .skip-link,
  dialog {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .hero,
  .station {
    min-height: 0;
    padding-block: 25px;
  }
  .hero-copy {
    width: 100%;
  }
  .home-illustration,
  .station-art {
    display: none;
  }
  .station {
    display: block;
    break-inside: avoid;
  }
  .station-copy {
    max-width: none;
  }
  .hero-bottom {
    display: none;
  }
  .case-layout,
  .about-grid {
    display: block;
  }
  .case-aside {
    position: static;
  }
  .case-aside nav {
    display: none;
  }
  body {
    font-size: 11pt;
    background: white;
  }
  .case-body {
    max-width: none;
  }
  .station h2,
  .hero h1 {
    font-size: 36pt;
  }
  .network-layout {
    display: block;
  }
  .network-map {
    max-height: 300px;
  }
  .network-section,
  .about-section,
  .contact-section {
    padding-block: 20px;
  }
  .case-study,
  .archive {
    padding: 0;
  }
}
@media (max-width: 760px) {
  .home-illustration {
    width: 32%;
  }
  .hero-bottom {
    bottom: 88px;
  }
  .hero {
    padding-bottom: 145px;
  }
  .station-art {
    height: 310px;
  }
  .station-art .miniature {
    height: 270px;
  }
}
@media (max-width: 760px) {
  .rail-scene {
    display: none;
  }
  .home-illustration {
    width: 22%;
  }
  .home-illustration svg {
    transform: translateX(-80px);
  }
  .station::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--mobile-route, var(--systems));
  }
  .station::after {
    content: "";
    position: absolute;
    left: -16px;
    top: 43px;
    width: 11px;
    height: 11px;
    background: var(--paper);
    border: 2px solid var(--mobile-route, var(--systems));
    border-radius: 50%;
  }
  #fvision,
  #virtualspeech {
    --mobile-route: var(--experiences);
  }
  #colab,
  #workshops {
    --mobile-route: var(--community);
  }
  #kitchen {
    --mobile-route: var(--off-duty);
  }
}
