:root {
  --ink: #141817;
  --muted: #565f5b;
  --line: #dde2dc;
  --paper: #ffffff;
  --mist: #f2f4f1;
  --night: #101614;
  --teal: #0c6b60;
  --teal-dark: #064e48;
  --red: #a43a2c;
  --gold: #c19a5b;
  --radius: 6px;
  --shadow: 0 24px 70px rgba(20, 24, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: #fff;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 19, 18, 0.9);
  backdrop-filter: blur(16px);
  padding-top: env(safe-area-inset-top);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand,
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-size: 20px;
  font-weight: 950;
}

.brand-mark,
.icon-box {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  flex: 0 0 auto;
}

svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 900;
  transition:
    background 160ms ease,
    border 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #fff;
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.route-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.route-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.route-hero picture {
  position: absolute;
  inset: 0;
}

.route-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.78)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.12) 72%);
}

.route-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: end;
  padding: 96px 0 56px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: var(--radius);
  background: rgba(20, 184, 166, 0.18);
  color: #ccfbf1;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 900;
}

h1 {
  max-width: 850px;
  margin: 20px 0 0;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  font-size: 4.25rem;
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 600;
}

.hero-lede {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.6;
}

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

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.fact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 20px;
  box-shadow: var(--shadow);
}

.fact-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--mist);
  color: var(--ink);
}

.section-head {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #99f6e4;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-muted .eyebrow {
  color: var(--teal);
}

h2 {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  font-size: 2.875rem;
  line-height: 1.05;
  font-weight: 600;
}

.section-desc {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.65;
}

.section-muted .section-desc {
  color: var(--muted);
}

.route-plan {
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 28px;
}

.route-plan-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.route-stops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.route-stop {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.custom-box {
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.custom-box-title {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.5;
}

.section-muted .check-list li {
  color: #3f4448;
}

.check {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #99f6e4;
  flex: 0 0 auto;
}

.section-muted .check {
  color: var(--teal);
}

.timeline-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.timeline-head {
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 950;
}

.timeline-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.timeline-row:last-child {
  border-bottom: 0;
}

.timeline-time {
  color: var(--teal);
  font-size: 14px;
  font-weight: 950;
}

.timeline-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
}

.timeline-row p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
}

.info-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 950;
}

.info-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--teal);
  padding: 30px;
}

.cta-band h2 {
  font-size: 2.75rem;
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.route-footer-inner,
.route-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.route-footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.route-footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  text-underline-offset: 4px;
}

@media (max-width: 920px) {
  .facts,
  .route-plan-inner,
  .info-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    display: none;
  }

  .route-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .route-hero,
  .route-hero-content {
    min-height: 520px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-actions,
  .hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .route-plan {
    padding: 20px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

* {
  letter-spacing: 0;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(12, 107, 96, 0.16);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid #41b3a5;
  outline-offset: 3px;
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--teal-dark);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
}

.button {
  cursor: pointer;
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover {
  background: #843024;
}

.route-hero::after {
  background:
    linear-gradient(180deg, rgba(7, 13, 11, 0.42), rgba(7, 13, 11, 0.84)),
    linear-gradient(90deg, rgba(7, 13, 11, 0.7), rgba(7, 13, 11, 0.08) 74%);
}

.kicker {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 24, 20, 0.54);
  color: #d8f4ee;
}

.facts {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.fact-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.fact-card:last-child {
  border-right: 0;
}

.eyebrow {
  color: #e59a8e;
  font-size: 12px;
}

.section-muted .eyebrow {
  color: var(--red);
}

.route-plan {
  border-color: rgba(255, 255, 255, 0.22);
  background: #171d1b;
}

.route-stop {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.timeline-head,
.timeline-time {
  color: var(--teal-dark);
}

.info-card {
  box-shadow: none;
}

.cta-band {
  background: var(--teal-dark);
}

@media (max-width: 920px) {
  .nav-actions {
    display: inline-flex;
  }

  .nav-actions .button-primary {
    display: none;
  }

  .fact-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 17px;
  }

  .nav-actions .button {
    padding-inline: 12px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

/* Museum and rail wayfinding typography for practical route reading. */
.brand-mark,
.kicker,
.fact-card span,
.route-stop,
.custom-box-title,
.timeline-head,
.timeline-time {
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.brand-mark {
  font-size: 14px;
  font-weight: 600;
}

h1,
h2,
.cta-band h2 {
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
}

h1 {
  max-width: 15ch;
  font-size: 4.25rem;
  line-height: 0.99;
}

h2 {
  max-width: 20ch;
  font-size: 2.875rem;
  line-height: 1.05;
}

.cta-band h2 {
  max-width: 22ch;
  font-size: 2.35rem;
  line-height: 1.08;
}

.hero-lede {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.65;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
}

.fact-card span,
.custom-box-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.fact-card strong {
  font-size: 16px;
  font-weight: 600;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9bd8ce;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
  flex: 0 0 auto;
}

.section-muted .eyebrow {
  color: var(--teal-dark);
}

.section-desc {
  max-width: 66ch;
  font-size: 16.5px;
  line-height: 1.7;
}

.route-stop,
.timeline-time {
  font-size: 12px;
  font-weight: 600;
}

.timeline-head {
  font-size: 12px;
  font-weight: 600;
}

.timeline-row h3 {
  font-size: 17px;
  font-weight: 700;
}

.timeline-row p,
.check-list li,
.info-card p {
  font-size: 15px;
  line-height: 1.66;
}

.info-card h3 {
  font-size: 19px;
  font-weight: 700;
}

@media (max-width: 920px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.55rem;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .cta-band h2 {
    font-size: 2rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
