:root {
  --bus: #f5c518;
  --ink: #1a1a1a;
  --black: #111;
  --mute: #5c5346;
  --display: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body { margin: 0; color: var(--ink); background: #f7f4ea; font-family: var(--display); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: #8a6a00; text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--mono); background: #efe6c8; padding: 0.05em 0.35em; }
.paint { pointer-events: none; position: fixed; inset: 0; z-index: 5; opacity: 0.12; background-image: url("images/texture.webp"); background-size: 360px auto; mix-blend-mode: multiply; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 80; background: var(--bus); padding: 8px; }
.bus-bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; min-height: 58px; background: var(--bus); color: var(--black); border-bottom: 4px solid var(--black); }
.brand { font-weight: 700; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; }
.bus-links { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; }
.bus-links a.is-active { text-decoration: underline; }
.bus-links .live { background: var(--black); color: var(--bus); padding: 6px 12px; font-weight: 700; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--black); padding: 6px 12px; }
.hero { position: relative; }
.hero > img { width: 100%; height: 80vh; object-fit: cover; }
.sign { position: absolute; left: 6vw; bottom: 28px; max-width: 560px; background: rgba(247, 244, 234, 0.94); padding: 28px; border: 4px solid var(--black); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; margin: 0 0 8px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; }
h1 { font-size: clamp(32px, 5.5vw, 52px); }
h1 em { font-style: normal; color: #a30d0d; }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
.quiet { color: var(--mute); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn { display: inline-block; padding: 10px 16px; border: 2px solid var(--black); font-weight: 700; }
.btn.fill { background: var(--bus); }
.btn.ghost { background: transparent; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.yard { background: #efe9d4; }
.three, .four, .io { display: grid; gap: 16px; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.three article, .four article, .io > div { background: #fff; border: 2px solid var(--black); padding: 18px; }
.three .warn { background: #fde8e8; }
ul { margin: 0; padding-left: 1.1em; }
li + li { margin-top: 6px; }
.ride { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0 0 36px; }
.ride li { padding: 12px 8px; background: var(--bus); color: var(--black); font-size: 14px; font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-bottom: 40px; }
.pair.flip figure { order: -1; }
.num { font-family: var(--mono); font-size: 12px; }
figure { margin: 0; }
figcaption { color: var(--mute); font-size: 13px; margin-top: 8px; }
.cab { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cab button { background: #fff; border: 2px solid var(--black); padding: 8px 12px; }
.cab button.on { background: var(--bus); }
.bound { padding-left: 1.2em; }
.io { grid-template-columns: 1fr 1fr; }
footer { padding: 24px 20px 40px; background: var(--black); color: var(--bus); font-size: 14px; }
footer .app-link { color: #fff; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .bus-links { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--bus); padding: 12px 18px; flex-direction: column; align-items: flex-start; }
  .bus-links.open { display: flex; }
  .hero > img { height: 48vh; }
  .sign { position: relative; left: 0; bottom: 0; max-width: none; }
  .three, .four, .pair, .pair.flip, .io, .ride { grid-template-columns: 1fr; }
  .pair.flip figure { order: 0; }
}
