* {
  box-sizing: border-box;
}

:root {
  --ink: #172126;
  --muted: #5a6970;
  --line: #d8ded9;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --soft: #eef4f0;
  --accent: #2d6b5f;
  --accent-dark: #214f47;
  --rail: #d34f3f;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

footer a,
.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

nav a {
  color: #3f4d54;
  text-decoration: none;
  font-size: 14px;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--accent);
  font-weight: 700;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 42px;
}

.eyebrow,
.meta {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.meta {
  margin-bottom: 8px;
  color: #7a4f35;
  text-transform: none;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: #fff;
  color: var(--accent);
}

.map-panel {
  margin: 0;
}

.map-panel img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.grid,
.list-block,
.status-board,
.text-columns,
.timeline,
.split-section,
.station-table {
  display: grid;
  gap: 18px;
  margin-top: 46px;
}

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.list-block,
.timeline {
  grid-template-columns: 1fr;
}

.status-board,
.text-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-columns.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-section {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  padding-top: 12px;
}

article,
.status-board > div,
.text-columns > p,
.station-table > div,
.check-list {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article p,
.page p,
.status-board p,
.text-columns p,
.station-table span,
.check-list {
  color: var(--muted);
}

article .text-link {
  display: inline-block;
  margin-top: 8px;
}

.status-board strong,
.station-table strong {
  display: block;
  margin: 6px 0 4px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f8f66;
}

.dot.muted {
  background: #b18445;
}

.timeline time {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.station-table {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.station-table > div {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.check-list {
  margin: 0;
  padding-left: 42px;
}

.check-list li + li {
  margin-top: 10px;
}

.not-found {
  max-width: 640px;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .grid,
  .status-board,
  .text-columns,
  .text-columns.two,
  .split-section,
  .station-table {
    grid-template-columns: 1fr;
  }
}
