:root {
  color-scheme: dark;
  background: #16191b;
  color: #f4eee5;
  font: 16px/1.5 system-ui, sans-serif;
}
body { margin: 0; }
main { max-width: 1120px; margin: auto; padding: 26px 18px; }
h1, h2, h3, p { margin: 0; }
h1 { line-height: 1.15; margin: 4px 0 12px; }
h2 { margin: 26px 0 8px; }
h3 { margin: 12px 0 8px; }
p + p { margin-top: 8px; }
a { color: #cee3b8; }
a:focus-visible { outline: 2px solid #e8c985; outline-offset: 3px; }
.kicker { color: #b7cda4; font-size: 13px; letter-spacing: .08em; margin-top: 12px; }
.question { border-left: 3px solid #b7cda4; padding: 8px 12px; margin: 14px 0; }
.routes, .gallery { display: grid; gap: 14px; }
.routes, .gallery.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.routes a { background: #252b2d; display: grid; padding: 14px; gap: 4px; }
.routes a span, figcaption span { color: #c5cac6; }
.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery.pair { max-width: 620px; }
.gallery.sheets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
figure { margin: 0; min-width: 0; }
figure img { display: block; width: 100%; height: auto; }
.gallery:not(.sheets) img { aspect-ratio: 9 / 14; object-fit: contain; background: #101314; }
figcaption { font-size: 14px; padding-top: 4px; }
figcaption span { display: block; }

@media (max-width: 640px) {
  .routes, .gallery.sheets { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
