*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0d0d0d;
  --white: #f5f2ee;
  --cream: #ede9e2;
  --ink: #1a1a1a;
  --muted: #908c87;
  --green: #2d5a1b;
  --green-bg: #e8f0e3;
  --green-mid: #4a8c30;
  --amber: #7a4a00;
  --amber-bg: #fdf0d5;
  --amber-mid: #c47c00;
  --red: #8b1a1a;
  --red-bg: #fde8e8;
  --red-mid: #c73030;
  --border: rgba(26, 26, 26, 0.12);
  --gap: 24px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 300;
  line-height: 1.65;
}

/* ── HERO ── */
.hero {
  background: var(--black);
  padding: 80px 40px 60px;
  max-width: 960px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(245, 242, 238, 0.1);
}
.hero-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-title span {
  color: rgba(245, 242, 238, 0.2);
  display: block;
}
.hero-intro {
  max-width: 580px;
  font-size: 15px;
  color: rgba(245, 242, 238, 0.80);
  border-left: 2px solid rgba(245, 242, 238, 0.15);
  padding-left: 20px;
  line-height: 1.8;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta-item {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}
.hero-meta-item strong {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* ── NAV ── */
.nav-strip {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 242, 238, 0.08);
  padding: 0 40px;
}
.nav-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar {
  display: none;
}
.nav-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 16px 16px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.nav-link:hover {
  color: var(--white);
  border-color: rgba(245, 242, 238, 0.3);
}
.nav-link.active {
  color: var(--white);
  border-color: var(--white);
}

/* ── MAIN ── */
.main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

/* ── SECTION HEADERS ── */
.section-block {
  padding-top: 72px;
}
.section-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(245, 242, 238, 0.1);
}
.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
  font-style: italic;
}

/* ── ROUTE OVERVIEW ── */
.route-strip {
  margin: 32px 0;
  padding: 44px 28px 52px;
  background: rgba(245, 242, 238, 0.03);
  border: 1px solid rgba(245, 242, 238, 0.08);
  border-radius: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 242, 238, 0.1) transparent;
}
.route-track {
  display: flex;
  align-items: center;
  min-width: 700px;
  padding-bottom: 28px; /* room for city labels */
}
.route-stop {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.route-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(245, 242, 238, 0.18);
  border: 1.5px solid rgba(245, 242, 238, 0.35);
  flex-shrink: 0;
}
.route-stop.type-city .route-dot {
  width: 13px;
  height: 13px;
  background: rgba(245, 242, 238, 0.55);
  border-color: rgba(245, 242, 238, 0.9);
}
.route-stop.type-pass .route-dot {
  width: 9px;
  height: 9px;
  background: transparent;
  border-color: rgba(245, 242, 238, 0.5);
  border-style: dashed;
}
.route-city {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  transform: translateX(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.55);
  white-space: nowrap;
  line-height: 1;
}
.route-stop.type-city .route-city {
  color: rgba(245, 242, 238, 0.92);
}

/* connectors — the element itself IS the line */
.route-connector {
  flex: 1;
  min-width: 28px;
  height: 1px;
  background: rgba(245, 242, 238, 0.12);
  position: relative;
  z-index: 1;
}
.route-connector.pass {
  background: rgba(245, 242, 238, 0.3);
}
.route-connector-line {
  display: none;
}
.route-pass-tag {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.52);
  white-space: nowrap;
}
.route-pass-tag.below {
  bottom: auto;
  top: calc(100% + 9px);
}

/* ── STOP CARDS ── */
.stop-card {
  background: rgba(245, 242, 238, 0.03);
  border: 1px solid rgba(245, 242, 238, 0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.stop-card:hover {
  border-color: rgba(245, 242, 238, 0.18);
}
.stop-header {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
}
.stop-marker {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  color: rgba(245, 242, 238, 0.2);
  line-height: 1;
  text-align: center;
}
.stop-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.stop-region {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.stop-type {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.type-city {
  background: rgba(245, 242, 238, 0.06);
  color: var(--muted);
}
.type-lake {
  background: rgba(30, 80, 160, 0.15);
  color: #7aabf0;
}
.type-fall {
  background: rgba(30, 140, 120, 0.15);
  color: #5dcfbc;
}
.type-pass {
  background: var(--amber-bg);
  color: var(--amber);
}
.type-valley {
  background: rgba(50, 160, 80, 0.12);
  color: #6bc97a;
}

.stop-body {
  display: none;
  padding: 0 24px 28px;
  border-top: 1px solid rgba(245, 242, 238, 0.06);
}
.stop-card.open .stop-body {
  display: block;
}

.stop-desc {
  font-size: 14px;
  color: rgba(245, 242, 238, 0.82);
  line-height: 1.75;
  margin: 20px 0 24px;
  max-width: 680px;
}

/* ── INFO GRID (3-col) ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 680px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: rgba(245, 242, 238, 0.04);
  border: 1px solid rgba(245, 242, 238, 0.08);
  border-radius: 5px;
  padding: 16px 18px;
}
.info-card-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.info-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.info-card-detail {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 10px;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.58);
  text-decoration: none;
  border: 1px solid rgba(245, 242, 238, 0.18);
  padding: 4px 9px;
  border-radius: 3px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.map-link:hover {
  color: var(--white);
  border-color: rgba(245, 242, 238, 0.35);
}
.map-link::before {
  content: "↗";
  font-size: 10px;
}

/* ── ROAD SEGMENT ── */
.road-segment {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: rgba(196, 124, 0, 0.05);
  border: 1px solid rgba(196, 124, 0, 0.15);
  border-radius: 5px;
  margin-bottom: 16px;
}
.road-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.road-text {
  font-size: 13px;
  color: rgba(245, 242, 238, 0.80);
  line-height: 1.6;
}
.road-text strong {
  color: var(--white);
  font-weight: 500;
}

/* ── VERDICT ── */
.era-verdict {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(245, 242, 238, 0.04);
  border-left: 3px solid rgba(245, 242, 238, 0.15);
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  color: rgba(245, 242, 238, 0.82);
  font-style: italic;
  line-height: 1.7;
}
.era-verdict strong {
  color: var(--white);
  font-style: normal;
}

/* ── BADGES ── */
.severity {
  display: inline-flex;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  white-space: nowrap;
}
.sev-high {
  background: var(--red-bg);
  color: var(--red-mid);
}
.sev-medium {
  background: var(--amber-bg);
  color: var(--amber-mid);
}
.sev-low {
  background: rgba(245, 242, 238, 0.06);
  color: var(--muted);
}
.badge-green {
  background: var(--green-bg);
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}

/* ── TIPS CHECKLIST ── */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 600px) {
  .checklist {
    grid-template-columns: 1fr;
  }
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  background: rgba(245, 242, 238, 0.03);
  border: 1px solid rgba(245, 242, 238, 0.08);
  border-radius: 5px;
  font-size: 13px;
  color: rgba(245, 242, 238, 0.86);
  line-height: 1.5;
}
.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.check-icon.must {
  background: rgba(196, 124, 0, 0.15);
  color: var(--amber-mid);
}
.check-icon.safety {
  background: rgba(199, 48, 48, 0.12);
  color: var(--red-mid);
}
.check-icon.info {
  background: rgba(74, 140, 48, 0.12);
  color: var(--green-mid);
}

/* ── COST GRID ── */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .cost-grid {
    grid-template-columns: 1fr;
  }
}
.cost-card {
  background: rgba(245, 242, 238, 0.04);
  border: 1px solid rgba(245, 242, 238, 0.08);
  border-radius: 6px;
  padding: 20px;
}
.cost-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.cost-value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.cost-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid rgba(245, 242, 238, 0.08);
  padding: 48px 40px;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}
.footer-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  color: rgba(245, 242, 238, 0.1);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 20px 40px;
  }
  .main {
    padding: 0 20px 80px;
  }
  .nav-strip {
    padding: 0 20px;
  }
  .stop-header {
    grid-template-columns: 44px 1fr;
  }
  .stop-type {
    display: none;
  }
  .route-track {
    min-width: 520px;
  }
}
