@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f7f4eb;
  --ink: #182823;
  --muted: #53615a;
  --teal: #234de4;
  --line: #cccfc4;
  --wash: #eeeee5;
  --orange: #be3526;
  --red: #ef4b35;
  --yellow: #ffcf37;
  --serif: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
select,
input {
  min-height: 44px;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 2000;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 12px;
}
.shell {
  max-width: 1320px;
  margin: auto;
  padding: 0 40px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 700 24px/1.15 var(--serif);
  max-width: 360px;
  color: var(--ink);
  text-decoration: none;
}
.brand:after {
  content: "";
  display: block;
  background: var(--orange);
  width: 40px;
  height: 3px;
  margin-top: 12px;
}
.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.nav a[aria-current="page"] {
  border-color: var(--teal);
}
.menu {
  display: none;
  border: 1px solid var(--line);
  background: white;
  padding: 8px 14px;
}
.hero {
  padding: 70px 0 56px;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 58px;
}
.hero h1 {
  font: 500 clamp(38px, 4.8vw, 66px)/1.05 var(--serif);
  letter-spacing: -2px;
  margin: 0 0 24px;
  max-width: 820px;
}
.deck {
  font: 23px/1.45 var(--serif);
  color: var(--muted);
  max-width: 780px;
  margin: 0 0 26px;
}
.primary,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--teal);
  color: white;
  padding: 12px 20px;
  border: 1px solid var(--teal);
  text-decoration: none;
  font-weight: 600;
  min-height: 48px;
}
.primary svg {
  width: 19px;
  height: 19px;
}
.hero-stat {
  border-left: 1px solid var(--line);
  padding: 10px 0 10px 42px;
}
.label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 600;
}
.hero-stat .label:after,
.section-label:before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--orange);
  margin: 16px 0;
}
.hero-value {
  font: 42px/1.12 var(--serif);
  margin: 28px 0 20px;
}
.hero-value.number {
  font-size: 76px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
h2 {
  font: 500 34px/1.2 var(--serif);
  letter-spacing: -0.6px;
  margin: 12px 0 18px;
}
h3 {
  font: 500 24px/1.3 var(--serif);
  margin: 8px 0 12px;
}
p {
  margin: 0 0 18px;
}
.split {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 60px;
}
.split > aside {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}
.section-label {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-label:before {
  display: inline-block;
  margin: 0;
}
.status {
  background: var(--wash);
  padding: 18px 22px;
  margin: 22px 0 0;
  border-left: 3px solid var(--line);
}
.status[data-state="current"] {
  border-color: var(--teal);
}
.status[data-state="partial"],
.status[data-state="delayed"] {
  border-color: #ac7326;
}
.status strong {
  display: block;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.two-columns > article + article {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
.footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 34px 0 44px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  font-size: 13px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-content: start;
}
.footer a {
  display: inline-block;
  min-height: 44px;
}
.footer-title {
  font: 600 20px var(--serif);
}
.toolbar {
  display: flex;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  max-width: 100%;
}
.field label {
  font-size: 13px;
  font-weight: 600;
}
input,
select {
  border: 1px solid #aebcc7;
  border-radius: 2px;
  background: white;
  color: var(--ink);
  padding: 9px 12px;
  max-width: 100%;
}
.button {
  padding: 9px 16px;
  border: 1px solid var(--teal);
  color: var(--teal);
  background: white;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.table-wrap a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
#route-stops .table-wrap, #route-places .table-wrap { max-height: 520px; overflow: auto; border-top: 1px solid var(--line); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: var(--wash);
}
.metric-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.metric {
  min-width: 120px;
}
.metric b {
  display: block;
  font: 42px var(--serif);
}
.metric span {
  font-size: 13px;
  color: var(--muted);
}
.map {
  height: 430px;
  margin: 24px 0;
  background: var(--wash);
  z-index: 0;
}
.map[hidden] {
  display: none;
}
.content {
  max-width: 840px;
}
.content li {
  margin-bottom: 12px;
}
.source-list {
  list-style: none;
  padding: 0;
}
.source-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.source-list a {
  overflow-wrap: anywhere;
}
.alert {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.alert summary {
  cursor: pointer;
  min-height: 44px;
  font-weight: 600;
}
.alert p {
  white-space: pre-line;
  color: var(--muted);
  max-width: 850px;
}
.link-list {
  display: flex;
  gap: 14px 26px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.link-list a {
  min-height: 44px;
}
.notice {
  border-left: 3px solid var(--orange);
  padding: 14px 20px;
  background: var(--wash);
  margin: 20px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
.bar-row {
  display: grid;
  grid-template-columns: 55px 1fr 100px;
  gap: 15px;
  margin: 8px 0;
  align-items: center;
}
.bar {
  height: 18px;
  background: var(--teal);
}
.count {
  font-variant-numeric: tabular-nums;
}
.stack {
  display: grid;
  gap: 16px;
}
.boundary-note {
  font-size: 13px;
  color: var(--muted);
}
.loading {
  color: var(--muted);
}
.map .leaflet-popup-content {
  font-family: var(--sans);
}
@media (max-width: 950px) {
  .header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
  }
  .nav {
    gap: 22px;
  }
  .home-hero {
    gap: 34px;
  }
  .hero-stat {
    padding-left: 28px;
  }
}
@media (max-width: 700px) {
  .shell {
    padding: 0 20px;
  }
  .header {
    flex-direction: row;
    align-items: center;
    position: relative;
    min-height: 100px;
  }
  .brand {
    font-size: 21px;
    max-width: 210px;
  }
  .menu {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    z-index: 1500;
    padding: 15px 0;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    width: calc(50% - 16px);
    padding: 10px;
  }
  .hero {
    padding: 42px 0 32px;
  }
  .home-hero,
  .split,
  .two-columns,
  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.4px;
  }
  .deck {
    font-size: 21px;
  }
  .hero-stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }
  .hero-value {
    font-size: 32px;
    margin: 14px 0;
  }
  .hero-value.number {
    font-size: 58px;
  }
  .hero-stat .label:after {
    display: none;
  }
  .section {
    padding: 30px 0;
  }
  .split > aside,
  .two-columns > article + article {
    border-left: 0;
    padding-left: 0;
  }
  .two-columns > article + article {
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  h2 {
    font-size: 29px;
  }
  .toolbar {
    gap: 14px;
  }
  .field {
    min-width: 0;
    flex: 1 1 180px;
  }
  .map {
    height: 350px;
  }
  .footer {
    margin-top: 30px;
    padding-top: 28px;
  }
  .metric-row {
    gap: 24px;
  }
  .metric b {
    font-size: 34px;
  }
  th,
  td {
    padding: 10px;
  }
  .primary {
    width: 100%;
  }
  .status {
    padding: 14px;
  }
  .bar-row {
    grid-template-columns: 45px 1fr 75px;
  }
  .hero h1,
  .brand,
  h2,
  h3 {
    overflow-wrap: break-word;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
