@font-face {
    font-family: "Overpass";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("type/OverpassVF-LatinExt.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Overpass";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("type/OverpassVF-Latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Overpass";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("type/OverpassVF-Italic-LatinExt.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Overpass";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("type/OverpassVF-Italic-Latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --paper: #ffffff;
    --ink: #161616;
    --text: #262626;
    --muted: #555555;
    --rule: #e3e3e3;
    --tint: #f4f4f2;
    --focus: #1565c0;
    --line-0: #d5203a;
    --line-0-on: #ffffff;
    --line-1: #087a40;
    --line-1-on: #ffffff;
    --line-2: #f2b705;
    --line-2-on: #161616;
    --line-3: #6b3fa0;
    --line-3-on: #ffffff;
    --line-4: #1565c0;
    --line-4-on: #ffffff;
    --line-5: #00838f;
    --line-5-on: #ffffff;
    --font: "Overpass", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Sans", "Yu Gothic", "Apple SD Gothic Neo", "Malgun Gothic", "Thonburi", "Leelawadee UI", "Noto Sans Thai", "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari", "Tamil Sangam MN", "Noto Sans Tamil", "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif;
    --gutter: 16px;
    --rail: 2.5rem;
    --stroke: 6px;
    --dot: 24px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --title-lh: 1.25;
    --head-lh: 1.06;
    color-scheme: light;
    scrollbar-color: var(--ink) var(--tint);
}
@media (min-width: 48rem) {
    :root { --gutter: 2rem; --rail: 3.25rem; }
}

.line-0 { --line: var(--line-0); --on: var(--line-0-on); }
.line-1 { --line: var(--line-1); --on: var(--line-1-on); }
.line-2 { --line: var(--line-2); --on: var(--line-2-on); }
.line-3 { --line: var(--line-3); --on: var(--line-3-on); }
.line-4 { --line: var(--line-4); --on: var(--line-4-on); }
.line-5 { --line: var(--line-5); --on: var(--line-5-on); }
.line-x, .line-all { --line: var(--ink); --on: var(--paper); }

.paint-0 { --paint: var(--line-0); }
.paint-1 { --paint: var(--line-1); }
.paint-2 { --paint: var(--line-2); }
.paint-3 { --paint: var(--line-3); }
.paint-4 { --paint: var(--line-4); }
.paint-5 { --paint: var(--line-5); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
time, .info, .pager__at { font-variant-numeric: tabular-nums; }
button { font: inherit; }
input { font: inherit; caret-color: var(--line-0); }

::selection { background: var(--line-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible, .depot :focus-visible { outline-color: var(--line-2); }
main:focus { outline: none; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skiplink {
    position: absolute; z-index: 10; inset-inline-start: var(--gutter); top: -5rem;
    padding: 0.625rem 1rem; border-radius: 999px; background: var(--line-2); color: var(--ink);
    font-weight: 800; text-decoration: none;
}
.skiplink:focus { top: 0.75rem; }

.band { background: var(--ink); color: var(--paper); }
.band__in {
    max-width: 80rem; margin-inline: auto; padding: 0.875rem var(--gutter);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem;
}
.brand { display: flex; align-items: center; gap: 0.875rem; color: var(--paper); text-decoration: none; min-width: 0; }
.brand__mark { width: 2.5rem; height: 2.5rem; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-size: 1.625rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.015em; }
.brand__area { font-size: 0.875rem; font-weight: 600; color: #c9c9c9; line-height: 1.35; margin-top: 0.125rem; }
.band__tools { display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; min-width: 0; }
.lingo { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.lingo__item {
    display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.125rem 0.75rem 0;
    border-radius: 999px; color: #e6e6e6; font-size: 0.9375rem; font-weight: 600; text-decoration: none;
    transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.lingo__item:hover { background: #2f2f2f; color: var(--paper); }
.lingo__item.is-here { background: var(--paper); color: var(--ink); font-weight: 800; }
.lingo__item.is-absent { color: #8c8c8c; }
.lingo__item.is-absent:hover { color: #c9c9c9; }
.band__search {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.125rem 1rem 0 0.75rem;
    border: 2px solid #4d4d4d; border-radius: 999px; color: var(--paper); font-weight: 700; font-size: 0.9375rem; text-decoration: none;
    transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.band__search svg { width: 1.125rem; height: 1.125rem; margin-top: -0.125rem; }
.band__search:hover { border-color: var(--paper); }
@media (max-width: 47.99rem) {
    .band__in { padding-block: 0.75rem; }
    .brand__name { font-size: 1.375rem; }
    .brand__mark { width: 2.125rem; height: 2.125rem; }
    .band__tools { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
    .lingo { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline-start: -0.75rem; }
    .lingo::-webkit-scrollbar { display: none; }
    .lingo__item { white-space: nowrap; padding-inline: 0.625rem; }
    .band__search { padding-inline: 0.625rem; }
    .band__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.badge {
    display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink);
    font-weight: 700; line-height: 1.15; text-decoration: none; vertical-align: middle;
}
.badge__code {
    display: inline-grid; place-items: center; flex: none;
    min-width: 2.375rem; height: 1.625rem; padding: 0.125rem 0.5rem 0;
    border-radius: 999px; background: var(--line); color: var(--on);
    font-size: 0.875rem; font-weight: 800; line-height: 1; letter-spacing: 0.02em;
}
.badge__code--icon svg { width: 1.0625rem; height: 1.0625rem; margin-top: -0.125rem; color: var(--paper); }
.badge__name { padding-top: 0.125rem; }
a.badge:hover .badge__name { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 3px; }
.badge--sm { font-size: 0.8125rem; gap: 0.375rem; }
.badge--sm .badge__code { min-width: 2rem; height: 1.3125rem; font-size: 0.75rem; padding-inline: 0.375rem; }
.badge--lg { font-size: 1.0625rem; gap: 0.625rem; }
.badge--lg .badge__code { min-width: 3rem; height: 2rem; font-size: 1rem; }

.linebar { background: var(--paper); border-block-end: 1px solid var(--rule); }
.linebar__in {
    max-width: 80rem; margin: 0 auto; padding: 0.625rem var(--gutter); list-style: none;
    display: flex; gap: 0.375rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #bdbdbd transparent;
}
.linebar__in li { flex: none; }
.badge--strip, .filters .badge {
    min-height: 2.75rem; padding: 0.375rem 1rem 0.375rem 0.375rem; border-radius: 999px;
    border: 2px solid transparent; font-size: 0.9375rem; white-space: nowrap;
    transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.badge--strip .badge__code, .filters .badge .badge__code { height: 1.75rem; min-width: 2.5rem; }
.badge--strip:hover, .filters .badge:hover { background: var(--tint); }
a.badge--strip:hover .badge__name, .filters a.badge:hover .badge__name { text-decoration: none; }
.badge--strip.is-here, .filters .badge.is-here {
    border-color: var(--line); background: color-mix(in srgb, var(--line) 9%, var(--paper)); font-weight: 800;
}

.page { flex: 1 0 auto; width: 100%; max-width: 80rem; margin-inline: auto; padding: 0 var(--gutter) 4.5rem; }

.track {
    position: absolute; z-index: 0; pointer-events: none;
    inset-block: 0; inset-inline-start: calc(var(--rail) / 2 - var(--stroke) / 2); width: var(--stroke);
    background: var(--paint, var(--line)); transform-origin: top center;
}
.dot {
    position: absolute; z-index: 1; pointer-events: none;
    inset-inline-start: calc(var(--rail) / 2 - var(--dot) / 2);
    width: var(--dot); height: var(--dot); border-radius: 50%;
    background: var(--paper); border: var(--stroke) solid var(--paint, var(--line));
}
.dot--lead { --dot: 36px; border-width: 8px; }
.route { position: relative; }

.nextstop {
    --top: 2.25rem;
    position: relative; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr);
    padding-block: var(--top) 2.5rem;
}
.nextstop .dot--lead { top: calc(var(--top) + 1rem - 18px); }
.nextstop .track { inset-block-start: calc(var(--top) + 1rem); }
.nextstop.is-last .track { display: none; }
.nextstop__text { grid-column: 2; min-width: 0; padding-inline-start: 0.25rem; }
.nextstop__title {
    margin: 1rem 0 0.875rem; font-size: clamp(2.125rem, 1.3rem + 3.1vw, 3.625rem);
    font-weight: 800; line-height: var(--head-lh); letter-spacing: -0.03em; max-width: 20ch;
}
.nextstop__title a { text-decoration: none; }
.nextstop__title a:hover { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; }
.nextstop__excerpt { margin: 0 0 1.125rem; font-size: 1.1875rem; line-height: 1.5; color: #3b3b3b; max-width: 52ch; }
.nextstop__photo {
    grid-column: 2; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px;
    margin-top: 1.5rem; background: var(--tint);
}
@media (min-width: 60rem) {
    .nextstop.has-photo { grid-template-columns: var(--rail) minmax(0, 5fr) minmax(0, 6fr); }
    .nextstop.has-photo .nextstop__text { padding-inline-end: 2.5rem; align-self: center; }
    .nextstop.has-photo .nextstop__photo { grid-column: 3; grid-row: 1; margin-top: 0; }
    .nextstop:not(.has-photo) .nextstop__title { max-width: 24ch; }
}

.info {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 1rem;
    margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.3;
}
.info > time, .info > span { padding-top: 0.125rem; }
.info__by { color: var(--ink); font-weight: 700; }

.route__split { display: grid; gap: 3rem; }
@media (min-width: 64rem) {
    .route__split { grid-template-columns: minmax(0, 1fr) 19rem; }
}
.route__main { min-width: 0; }
.route__head { position: relative; padding: 1.25rem 0 0.5rem var(--rail); }
.route__head.is-start .track { inset-block-start: 50%; }
.route__head h2 { margin: 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; padding-inline-start: 0.25rem; }

.stops { list-style: none; margin: 0; padding: 0; }
.stop {
    --pad: 1.25rem;
    --st: 1.25rem;
    position: relative; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr) auto;
    padding-block: var(--pad);
}
.stop::after {
    content: ""; position: absolute; inset-block-end: 0; inset-inline-start: var(--rail); inset-inline-end: 0;
    height: 1px; background: var(--rule);
}
.stop:last-child::after { display: none; }
.stop .dot { top: calc(var(--pad) + var(--st) * var(--title-lh) / 2 - var(--dot) / 2 + 1px); }
.stops > .stop:last-child .track { inset-block-end: auto; height: calc(var(--pad) + var(--st) * var(--title-lh) / 2); }
.route--results .stops > .stop:first-child .track { inset-block-start: calc(var(--pad) + var(--st) * var(--title-lh) / 2); }
.route--results .stops > .stop:only-child .track { display: none; }
.stop__body { grid-column: 2; min-width: 0; padding-inline: 0.25rem 1rem; }
.stop__title {
    margin: 0 0 0.375rem; font-size: var(--st); font-weight: 800; line-height: var(--title-lh); letter-spacing: -0.012em;
}
.stop__title a { text-decoration: none; }
.stop__title a:hover { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 3px; }
.stop__excerpt { margin: 0 0 0.75rem; font-size: 0.9375rem; line-height: 1.5; color: #474747; max-width: 62ch; }
.stop__thumb {
    grid-column: 3; width: 8.5rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px;
    align-self: start; background: var(--tint);
}
@media (max-width: 40rem) {
    .stop { --st: 1.125rem; --pad: 1.125rem; }
    .stop__thumb { width: 4.75rem; aspect-ratio: 1; }
    .stop__body { padding-inline-end: 0.75rem; }
    .stop__excerpt { display: none; }
}

.legend {
    align-self: start; padding: 1.5rem 1.5rem 1.75rem; border: 2px solid var(--ink); border-radius: 12px;
    margin-top: 1.25rem;
}
.route__side { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
@media (max-width: 63.99rem) { .legend { display: none; } }
.legend__title { margin: 0 0 1.25rem; font-size: 1.125rem; font-weight: 800; line-height: 1.2; }
.legend__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.legend__line p { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.legend__branches { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.branches { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.branch {
    display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.125rem 1rem 0;
    border: 2px solid var(--line); border-radius: 999px; color: var(--ink);
    font-size: 0.9375rem; font-weight: 700; text-decoration: none;
    transition: background-color 160ms var(--ease);
}
.branch:hover { background: color-mix(in srgb, var(--line) 10%, var(--paper)); }
.branch.is-here { background: var(--line); color: var(--on); }
.legend .branch { min-height: 1.875rem; padding-inline: 0.75rem; font-size: 0.8125rem; border-width: 2px; }

.linehead { padding-block: 2.5rem 0.5rem; }
.linehead__sign { display: flex; align-items: center; gap: 1rem; }
.linehead__code {
    display: inline-grid; place-items: center; flex: none; min-width: 4.25rem; height: 3.125rem;
    padding: 0.25rem 1rem 0; border-radius: 999px; background: var(--line); color: var(--on);
    font-size: 1.5rem; font-weight: 800; line-height: 1;
}
.linehead h1 {
    margin: 0; font-size: clamp(2.375rem, 1.6rem + 3vw, 4rem); font-weight: 800;
    line-height: 1; letter-spacing: -0.035em; padding-top: 0.1em;
}
.linehead__desc { margin: 0; font-size: 1.1875rem; line-height: 1.5; color: #3b3b3b; max-width: 56ch; }
.linehead__about { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1rem; }
.linehead__feed {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.125rem 1rem 0 0.75rem;
    border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 0.9375rem; font-weight: 700;
    text-decoration: none; white-space: nowrap; transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.linehead__feed svg { width: 1.125rem; height: 1.125rem; margin-top: -0.125rem; color: var(--line); }
.linehead__feed:hover { background: var(--ink); color: var(--paper); }
.linehead__code--icon { min-width: 4.25rem; }
.linehead__code--icon svg { width: 2rem; height: 2rem; margin-top: -0.125rem; color: var(--paper); }
.linehead::after {
    content: ""; display: block; height: var(--stroke); border-radius: 3px; margin-top: 2rem;
    background: var(--line);
}
.linehead + .route .nextstop { --top: 1.75rem; }

.journey {
    --h1: clamp(2.125rem, 1.35rem + 3vw, 3.5rem);
    max-width: 58rem; margin-inline: auto;
}
.trail {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.625rem;
    padding: 1.75rem 0 1.25rem var(--rail); font-size: 0.9375rem;
}
.trail__home { color: var(--muted); font-weight: 700; text-decoration: none; padding-top: 0.125rem; }
.trail__home:hover { color: var(--ink); text-decoration: underline; }
.trail__sep { width: 0.875rem; height: 0.875rem; color: #9a9a9a; }
.journey__row { position: relative; display: flow-root; padding-inline-start: var(--rail); }
.journey__row > :not(.track):not(.dot) { margin-inline-start: 0.25rem; }
.journey__head { padding-block: 0.25rem 2.25rem; }
.journey__head .dot--lead { top: calc(0.25rem + var(--h1) * var(--head-lh) / 2 - 18px); }
.journey__head .track { inset-block-start: calc(0.25rem + var(--h1) * var(--head-lh) / 2); }
.journey__title {
    margin: 0; font-size: var(--h1); font-weight: 800; line-height: var(--head-lh); letter-spacing: -0.03em; max-width: 22ch;
}
.journey__standfirst { margin: 1.125rem 0 1.5rem; font-size: 1.25rem; line-height: 1.5; color: #3b3b3b; max-width: 58ch; }
.journey__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem 1.25rem; font-size: 0.9375rem; color: #474747; }
.journey__by { color: var(--ink); font-weight: 800; padding-top: 0.125rem; }
.journey__by a { text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.journey__by a:hover { text-decoration-thickness: 3px; }
.journey__updated { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font-weight: 700; }
.journey__updated::before {
    content: ""; width: 0.625rem; height: 0.625rem; border-radius: 50%; flex: none; margin-top: -0.125rem;
    background: var(--paper); border: 3px solid var(--line);
}

.alert {
    margin: 1.5rem 0 0; max-width: 58ch; padding: 1rem 1.25rem 1.125rem;
    border: 2px solid var(--ink); border-radius: 10px; background: color-mix(in oklab, var(--line-2), #fff 86%);
}
.alert__title {
    display: inline-flex; align-items: center; gap: 0.375rem; margin: 0 0 0.5rem; padding: 0.3125rem 0.875rem 0.125rem 0.5rem;
    border-radius: 999px; background: var(--line-2); color: var(--ink); font-size: 0.875rem; font-weight: 800; line-height: 1.2;
}
.alert__title svg { width: 1.0625rem; height: 1.0625rem; margin-top: -0.1875rem; }
.alert__text { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.journey__meta time { padding-top: 0.125rem; }
.readtime {
    display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.3125rem 0.875rem 0.1875rem 0.625rem;
    border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 800; font-size: 0.875rem;
}
.readtime svg { width: 1rem; height: 1rem; margin-top: -0.125rem; }
.otherlang { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.5rem; margin: 1.25rem 0 0; font-size: 0.875rem; }
.otherlang__label { color: var(--muted); font-weight: 700; margin-inline-end: 0.25rem; padding-top: 0.125rem; }
.otherlang a {
    display: inline-flex; align-items: center; min-height: 2rem; padding: 0.125rem 0.75rem 0; border-radius: 999px;
    background: var(--tint); color: var(--ink); font-weight: 700; text-decoration: none; border: 1px solid #dcdcd8;
}
.otherlang a:hover { background: #e8e8e4; }
.journey__figure { margin: 0 0 2.25rem; }
.journey__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--tint); }
.journey__caption { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); max-width: 68ch; }
.journey__caption > span:first-child:not(.journey__credit) { color: #3b3b3b; }
.journey__credit { font-weight: 700; letter-spacing: 0.01em; }

.bodytext { max-width: 68ch; font-size: 1.1875rem; line-height: 1.7; color: #1f1f1f; padding-bottom: 0.5rem; }
.bodytext > :first-child { margin-top: 0; }
.bodytext p { margin: 0 0 1.25em; }
.bodytext h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; margin: 2em 0 0.5em; }
.bodytext h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.3; margin: 1.75em 0 0.5em; }
.bodytext a { color: var(--ink); text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.bodytext a:hover { text-decoration-thickness: 3px; }
.bodytext ul { list-style: none; padding: 0; margin: 0 0 1.5em; }
.bodytext ul li { position: relative; padding-inline-start: 1.75rem; margin-bottom: 0.5em; }
.bodytext ul li::before {
    content: ""; position: absolute; inset-inline-start: 0.125rem; top: 0.5em; width: 0.75rem; height: 0.75rem;
    border-radius: 50%; border: 3px solid var(--line); background: var(--paper);
}
.bodytext ol { padding-inline-start: 1.5rem; margin: 0 0 1.5em; }
.bodytext ol li::marker { font-weight: 800; color: var(--ink); }
.bodytext blockquote { margin: 2.25rem 0; padding: 0; font-size: 1.4375rem; font-weight: 700; line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }
.bodytext blockquote::before { content: ""; display: block; width: 3.5rem; height: var(--stroke); border-radius: 3px; background: var(--line); margin-bottom: 1rem; }
.bodytext blockquote p { margin: 0; }
.bodytext img { border-radius: 6px; margin: 2rem 0; }
.bodytext figure { margin: 2rem 0; }
.bodytext figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 0.5rem; }

.journey__foot { display: grid; gap: 1.25rem; padding-block: 1.25rem 0.5rem; }
.journey__foot > * { margin-block: 0; }
.via { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.625rem; font-size: 0.9375rem; color: #3b3b3b; max-width: 68ch; }
.via__label { color: var(--ink); font-weight: 800; }
.via a { color: var(--ink); font-weight: 700; text-decoration-color: var(--line); }
.tags__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags__item {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.125rem 1rem 0 0.5rem;
    border: 2px solid #cfcfcf; border-radius: 999px; color: var(--ink); font-size: 0.9375rem; font-weight: 700; text-decoration: none;
    transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.tags__item svg {
    width: 1.75rem; height: 1.375rem; padding: 0.125rem 0.25rem; margin-top: -0.125rem;
    border-radius: 999px; background: var(--ink); color: var(--paper); box-sizing: border-box;
}
.tags__item:hover { border-color: var(--ink); background: var(--tint); }
.journey__last { padding-bottom: 1rem; }
.journey__last .track { inset-block-end: auto; height: 0.75rem; }
.journey__last .dot { top: 0.75rem; transform: translateY(-50%); }
.journey--page .journey__head { padding-top: 2.5rem; }
.journey--page .journey__meta { margin: 1rem 0 0; }

.journey__end { --pad: 2rem; padding-block: var(--pad) 0.5rem; }
.journey__end .track { inset-block-end: auto; height: calc(var(--pad) + 0.78rem); }
.journey__end .dot { top: calc(var(--pad) + 0.78rem - var(--dot) / 2); }
.relay__title { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.relay__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.relay__btn {
    display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.125rem 1.125rem 0;
    border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink);
    font-size: 0.9375rem; font-weight: 700; text-decoration: none; cursor: pointer;
    transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.relay__btn:hover { background: var(--ink); color: var(--paper); }
.relay__btn.is-copied { background: var(--line-1); border-color: var(--line-1); color: var(--paper); }
.relay__btn[hidden] { display: none; }

.transfer { max-width: 80rem; margin: 4rem auto 0; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.transfer__title { margin: 0 0 1.5rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.transfer__list { list-style: none; margin: 0; padding: 0; display: grid; }
.transfer__stop { --pad: 0.875rem; position: relative; padding: var(--pad) 0 var(--pad) calc(var(--rail) + 0.25rem); }
.transfer__stop h3 { margin: 0 0 0.375rem; font-size: 1.125rem; font-weight: 800; line-height: var(--title-lh); letter-spacing: -0.01em; }
.transfer__stop h3 a { text-decoration: none; }
.transfer__stop h3 a:hover { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 3px; }
.transfer__stop .dot { top: calc(var(--pad) + 1.125rem * var(--title-lh) / 2 - var(--dot) / 2); }
.transfer__stop:first-child .track { inset-block-start: calc(var(--pad) + 1.125rem * var(--title-lh) / 2); }
.transfer__stop:last-child .track { inset-block-end: auto; height: calc(var(--pad) + 1.125rem * var(--title-lh) / 2); }
.transfer__stop:only-child .track { display: none; }
@media (min-width: 48rem) {
    .transfer__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
    .transfer__stop { padding: 2.75rem 2rem 0 0; }
    .transfer__stop .track,
    .transfer__stop:first-child .track,
    .transfer__stop:last-child .track {
        display: block; inset-block: 1rem auto; height: var(--stroke); width: auto;
        inset-inline-start: 0; inset-inline-end: 0;
    }
    .transfer__stop:nth-child(3n) .track, .transfer__stop:last-child .track { inset-inline-end: auto; width: calc(var(--dot)); }
    .transfer__stop .dot { top: calc(1rem + var(--stroke) / 2 - var(--dot) / 2); inset-inline-start: 0; }
}

.ranks { padding: 1.5rem 1.5rem 1.25rem; border: 2px solid var(--ink); border-radius: 12px; margin-top: 1.25rem; }
.ranks__title { margin: 0 0 1rem; font-size: 1.125rem; font-weight: 800; line-height: 1.2; }
.ranks__list { list-style: none; margin: 0; padding: 0; }
.ranks__stop { --no: 2rem; --pad: 0.625rem; position: relative; display: grid; grid-template-columns: var(--no) minmax(0, 1fr); gap: 0.875rem; padding-block: var(--pad); }
.ranks__stop .track { inset-inline-start: calc(var(--no) / 2 - var(--stroke) / 2); }
.ranks__stop:first-child .track { inset-block-start: calc(var(--pad) + var(--no) / 2); }
.ranks__stop:last-child .track { inset-block-end: auto; height: calc(var(--pad) + var(--no) / 2); }
.ranks__stop:only-child .track { display: none; }
.ranks__no {
    position: relative; z-index: 1; display: grid; place-items: center; width: var(--no); height: var(--no); padding-top: 0.125rem;
    border-radius: 50%; border: 4px solid var(--line); background: var(--paper); color: var(--ink);
    font-size: 0.875rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
}
.ranks__body { min-width: 0; padding-top: 0.25rem; }
.ranks__body h3 { margin: 0 0 0.375rem; font-size: 1rem; font-weight: 800; line-height: var(--title-lh); letter-spacing: -0.008em; }
.ranks__body h3 a { text-decoration: none; }
.ranks__body h3 a:hover { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 3px; }
.ranks__body .info { margin: 0; }

.ranks--across { max-width: 80rem; margin: 3.5rem auto 0; padding: 2.5rem 0 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; }
.ranks--across .ranks__title { font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 1.5rem; }
@media (min-width: 48rem) {
    .ranks--across .ranks__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ranks--across .ranks__stop { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 0 2rem 0 0; }
    .ranks--across .ranks__stop .track,
    .ranks--across .ranks__stop:first-child .track,
    .ranks--across .ranks__stop:last-child .track {
        display: block; inset-block: calc(var(--no) / 2 - var(--stroke) / 2) auto; height: var(--stroke); width: auto;
        inset-inline-start: 0; inset-inline-end: 0;
    }
    .ranks--across .ranks__stop:last-child .track { inset-inline-end: auto; width: var(--no); }
    .ranks--across .ranks__body { padding-top: 0; }
    .ranks--across .ranks__body h3 { font-size: 1.125rem; }
}

.person { padding-block: 2.5rem 0.5rem; max-width: 52rem; }
.person__sign { display: flex; align-items: center; gap: 1.25rem; }
.person__photo {
    flex: none; width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover;
    border: var(--stroke) solid var(--ink); background: var(--tint);
}
.person__photo--initials {
    display: grid; place-items: center; padding-top: 0.25rem; background: var(--paper); color: var(--ink);
    font-size: 1.75rem; font-weight: 800; letter-spacing: 0.02em; line-height: 1;
}
.person__name { min-width: 0; }
.person h1 { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; padding-top: 0.1em; }
.person__role { margin: 0.375rem 0 0; font-size: 1.125rem; font-weight: 700; color: #3b3b3b; }
.person__bio { margin: 1.5rem 0 0; font-size: 1.1875rem; line-height: 1.55; color: var(--text); max-width: 60ch; }
.person__links { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.person__links a { display: inline-block; padding-block: 0.25rem; color: var(--ink); font-weight: 700; text-decoration-color: #9a9a9a; }
.person__links a:hover { text-decoration-color: var(--ink); }
.person::after { content: ""; display: block; height: var(--stroke); border-radius: 3px; margin-top: 2rem; background: var(--ink); }
@media (max-width: 40rem) {
    .person__photo { width: 4.25rem; height: 4.25rem; border-width: 5px; }
    .person__photo--initials { font-size: 1.375rem; }
}

.searchhead { padding-block: 2.5rem 1.75rem; }
.searchhead h1 { margin: 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; max-width: 24ch; }
.finder {
    display: flex; align-items: center; max-width: 42rem; margin-top: 1.5rem; padding: 0.3125rem;
    border: 3px solid var(--ink); border-radius: 999px; background: var(--paper);
}
.finder:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.finder__icon { width: 1.375rem; height: 1.375rem; margin-inline-start: 0.875rem; color: var(--ink); }
.finder input {
    flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
    font-size: 1.125rem; padding: 0.625rem 0.75rem 0.5rem; outline: none;
}
.finder input::placeholder { color: #6b6b6b; }
.finder button {
    min-height: 2.875rem; padding: 0.125rem 1.5rem 0; border: 0; border-radius: 999px;
    background: var(--ink); color: var(--paper); font-weight: 800; cursor: pointer;
}
.finder button:hover { background: #333333; }
.filters { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 1.25rem; }
.route--results { border-top: 1px solid var(--rule); }
:is(.linehead, .person) + .route--results { border-top: 0; margin-top: 0.75rem; }

.terminus {
    display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 2rem; align-items: end;
    max-width: 50rem; padding-block: 3.5rem 2rem;
}
.terminus__art { width: 6rem; height: auto; }
.terminus h1, .terminus h2 { margin: 0 0 0.75rem; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.terminus p { margin: 0; font-size: 1.125rem; line-height: 1.55; color: #3b3b3b; max-width: 48ch; }
.terminus .terminus__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
@media (max-width: 40rem) {
    .terminus { grid-template-columns: 3.75rem minmax(0, 1fr); gap: 1.25rem; }
    .terminus__art { width: 3.75rem; }
}
.pill {
    display: inline-flex; align-items: center; min-height: 2.875rem; padding: 0.125rem 1.375rem 0;
    border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper);
    font-weight: 800; text-decoration: none;
}
.pill:hover { background: #333333; }
.pill--quiet { background: var(--paper); color: var(--ink); }
.pill--quiet:hover { background: var(--tint); }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-inline-start: var(--rail); }
.pager__step {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.125rem 1.125rem 0;
    border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 800; font-size: 0.9375rem; text-decoration: none;
}
.pager__step svg { width: 1rem; height: 1rem; margin-top: -0.125rem; }
a.pager__step:hover { background: var(--ink); color: var(--paper); }
.pager__step.is-off { border-color: #d6d6d6; color: #8a8a8a; }
.pager__at { color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.flip { transform: scaleX(-1); }
[dir="rtl"] .pager svg, [dir="rtl"] .trail__sep { transform: scaleX(-1); }
[dir="rtl"] .pager svg.flip { transform: none; }
@media (max-width: 40rem) { .pager__at { display: none; } .pager { padding-inline-start: 0; } }

.depot { background: var(--ink); color: #e6e6e6; margin-top: 2rem; }
.depot__in { max-width: 80rem; margin-inline: auto; padding: 3rem var(--gutter) 2rem; display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .depot__in { grid-template-columns: 1.5fr 1fr 1fr; } }
.depot__brand { display: flex; flex-direction: column; }
.depot__brand .brand__name { color: var(--paper); }
.depot__title { margin: 0 0 1rem; font-size: 1rem; font-weight: 800; color: var(--paper); line-height: 1.2; }
.depot__lines, .depot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.depot .badge { color: var(--paper); font-size: 0.9375rem; }
.depot__links a { color: #e6e6e6; text-decoration: none; font-weight: 600; }
.depot__links a:hover { color: var(--paper); text-decoration: underline; }
.depot__legal {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem;
    padding-top: 1.25rem; border-top: 1px solid #333333; font-size: 0.875rem; color: #a9a9a9;
}
.depot__legal p { margin: 0; }
.depot__pages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.depot__pages a { display: inline-block; padding-block: 0.375rem; color: #e6e6e6; font-weight: 600; text-decoration: none; }
.depot__pages a:hover { color: var(--paper); text-decoration: underline; }

:lang(zh), :lang(ta) { --title-lh: 1.45; --head-lh: 1.3; }
:is(:lang(zh), :lang(ta)) :is(h1, h2, h3, .brand__name, .nextstop__title, .journey__title, .stop__title, .linehead h1, .person h1, .bodytext blockquote, .journey__credit) { letter-spacing: 0; }
:is(:lang(zh), :lang(ta)) body, body:is(:lang(zh), :lang(ta)) { line-height: 1.8; }
:is(:lang(zh), :lang(ta)) .bodytext { line-height: 1.9; }
:is(:lang(zh), :lang(ta)) :is(.nextstop__excerpt, .stop__excerpt, .journey__standfirst, .linehead__desc) { line-height: 1.75; }
:lang(ta) .nextstop__title { font-size: clamp(1.625rem, 1.1rem + 2vw, 2.625rem); }
:lang(ta) .journey { --h1: clamp(1.625rem, 1.15rem + 2vw, 2.625rem); }
:lang(ta) .stop { --st: 1.0625rem; }
:lang(zh) .nextstop__title { max-width: 16em; }

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

/* Site logo (settings.logo), shown in place of the name */
.brand .site-logo { display: block; flex: none; width: auto; height: auto; max-width: min(50vw, 260px); max-height: 40px; }
