﻿/* =========================================================
   不装萍乡 · 视觉系统
   Editorial travel journal / warm paper / deep forest ink
   ========================================================= */

:root {
  --paper: #f3eee2;
  --paper-soft: #faf7ef;
  --paper-deep: #e6decd;
  --ink: #17261f;
  --ink-2: #31453a;
  --ink-3: #5e6c62;
  --forest: #173d31;
  --forest-deep: #0d2820;
  --moss: #6e7f66;
  --chili: #c3422c;
  --chili-deep: #9f301f;
  --ochre: #b38a55;
  --line: rgba(23, 38, 31, 0.14);
  --line-strong: rgba(23, 38, 31, 0.28);
  --line-light: rgba(250, 247, 239, 0.24);
  --white: #fbf8f1;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-latin: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --max: 1480px;
  --pad: clamp(20px, 4vw, 64px);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 80px rgba(17, 31, 24, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--chili);
  color: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--chili);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.serif {
  font-family: var(--font-display);
}

.mono {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.kicker.chili {
  color: var(--chili);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  background: var(--chili);
  border-radius: 50%;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section {
  padding-block: clamp(72px, 10vw, 148px);
}

.section-tight {
  padding-block: clamp(50px, 7vw, 96px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(30px, 4vw, 58px);
}

.section-head h2 {
  max-width: 800px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 350px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.9;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}

.link-arrow:hover {
  gap: 18px;
  border-color: var(--chili);
}

.link-arrow .arrow {
  font-size: 16px;
  line-height: 1;
}

/* ============ buttons ============ */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-line: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--btn-line);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.btn::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--chili);
  border-radius: 50%;
}

.btn .btn-arrow {
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

.btn-paper {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-line: var(--white);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-line: rgba(251, 248, 241, 0.45);
}

.btn-ghost:hover {
  --btn-bg: rgba(251, 248, 241, 0.08);
  --btn-line: var(--white);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-line: var(--line-strong);
}

.btn-outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-line: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 11px;
}

.btn.is-saved {
  --btn-bg: var(--forest);
  --btn-fg: var(--white);
  --btn-line: var(--forest);
}

.btn.is-saved::before {
  background: var(--paper);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.icon-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ============ header ============ */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  color: var(--white);
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s, transform 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 16, 0.46), transparent);
  pointer-events: none;
  transition: opacity 0.3s;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(243, 238, 226, 0.93);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.site-header.is-solid::before {
  opacity: 0;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  line-height: 1;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 6px;
  height: 6px;
  background: var(--chili);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-cn {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand-en {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.22em;
  opacity: 0.62;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  justify-self: center;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.82;
  transition: opacity 0.2s;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  opacity: 1;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.save-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background 0.25s, color 0.25s;
}

.save-btn .save-count {
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--chili);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0;
}

.save-btn:hover {
  background: var(--chili);
  border-color: var(--chili);
  color: var(--white);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s, top 0.3s;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 22px;
}

.menu-toggle.is-open span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ============ hero ============ */

.hero {
  position: relative;
  min-height: 720px;
  height: 100svh;
  max-height: 1080px;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.3s var(--ease);
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  filter: saturate(0.9) contrast(1.02);
  transition: transform 7s linear;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 19, 14, 0.76) 0%, rgba(7, 19, 14, 0.42) 44%, rgba(7, 19, 14, 0.08) 72%),
    linear-gradient(0deg, rgba(7, 19, 14, 0.78) 0%, rgba(7, 19, 14, 0.08) 52%, rgba(7, 19, 14, 0.48) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.18;
  background-image: linear-gradient(90deg, rgba(243, 238, 226, 0.06) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, var(--max));
  height: 100%;
  margin-inline: auto;
  padding: calc(var(--header-h) + 44px) var(--pad) 44px;
}

.hero-top {
  position: absolute;
  top: calc(var(--header-h) + 26px);
  left: var(--pad);
  right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.62);
}

.hero-top .hero-edition {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-top .hero-edition::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--chili);
  border-radius: 50%;
}

.hero-main {
  max-width: 1160px;
  padding-bottom: clamp(70px, 10vh, 120px);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(251, 248, 241, 0.74);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--chili);
}

.hero h1 {
  max-width: 1000px;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 11.5rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.12);
}

.hero h1 .stop {
  color: var(--chili);
}

.hero-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-top: 34px;
}

.hero-subline {
  max-width: 570px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(251, 248, 241, 0.86);
}

.hero-subline .slogan {
  display: block;
  margin-bottom: 8px;
  color: rgba(251, 248, 241, 0.56);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 248, 241, 0.2);
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: rgba(251, 248, 241, 0.64);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.hero-caption .caption-no {
  color: var(--white);
  font-family: var(--font-latin);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-caption .caption-line {
  width: 28px;
  height: 1px;
  background: rgba(251, 248, 241, 0.35);
}

.hero-slide-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slide-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 66px;
  padding: 8px 0;
  color: rgba(251, 248, 241, 0.48);
  font-size: 9px;
  letter-spacing: 0.08em;
  transition: color 0.25s;
}

.slide-btn::before {
  content: "";
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0.55);
  transition: transform 0.4s var(--ease), background 0.25s;
}

.slide-btn:hover,
.slide-btn.is-active {
  color: var(--white);
}

.slide-btn.is-active::before {
  background: var(--chili);
  transform: scaleX(1);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(251, 248, 241, 0.52);
  font-size: 9px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--white), transparent);
  animation: scrollPulse 2.4s infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

/* ============ home editorial ============ */

.home-intro {
  position: relative;
  padding-block: clamp(80px, 10vw, 150px);
  background: var(--paper);
}

.home-intro-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
}

.home-intro h2 {
  max-width: 1020px;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.2vw, 6.8rem);
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.home-intro h2 em {
  color: var(--chili);
  font-style: normal;
}

.home-intro-side {
  padding-top: 12px;
}

.home-intro-side p {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 2;
}

.manifest-list {
  display: grid;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.manifest-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.manifest-item .no {
  color: var(--chili);
  font-family: var(--font-latin);
  font-size: 20px;
  line-height: 1.2;
}

.manifest-item h3 {
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}

.manifest-item p {
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.75;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(54px, 7vw, 90px);
}

.stat {
  padding: 24px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.stat .stat-num {
  font-family: var(--font-latin);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat .stat-num sup {
  margin-left: 4px;
  color: var(--chili);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  vertical-align: top;
}

.stat .stat-label {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.theme-stack {
  background: var(--paper);
}

.theme-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 620px;
  border-top: 1px solid var(--line);
}

.theme-row:last-child {
  border-bottom: 1px solid var(--line);
}

.theme-row.is-reverse .theme-media {
  order: 2;
}

.theme-media {
  position: relative;
  overflow: hidden;
  background: var(--forest);
}

.theme-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  filter: saturate(0.88);
}

.theme-row:hover .theme-media img {
  transform: scale(1.025);
}

.theme-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 32, 24, 0.36), transparent 45%);
}

.theme-media-tag {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.theme-media-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--chili);
}

.theme-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 96px);
  background: var(--paper-soft);
}

.theme-copy .theme-no {
  margin-bottom: 30px;
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.theme-copy .theme-en {
  margin-bottom: 12px;
  color: var(--chili);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.theme-copy h2 {
  max-width: 520px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 4.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.theme-copy p {
  max-width: 460px;
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.95;
}

.theme-copy .theme-count {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.theme-copy .theme-count strong {
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 500;
}

.theme-copy .link-arrow {
  align-self: flex-start;
  margin-top: 34px;
}

.featured-points {
  background: var(--paper);
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.point-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 1px solid var(--line-strong);
  padding-top: 13px;
  text-align: left;
}

.point-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.point-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.4s;
}

.point-card:hover .point-card-media img {
  transform: scale(1.035);
}

.point-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 31, 23, 0.25), transparent 55%);
}

.point-card-no {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: rgba(243, 238, 226, 0.88);
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 14px;
  backdrop-filter: blur(8px);
}

.point-card-media .status-badge {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
}

.point-card-body {
  display: flex;
  flex-direction: column;
  padding: 17px 0 0;
}

.point-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.point-card-meta .layer-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.layer-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--layer-color, var(--moss));
}

.point-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.point-card p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.8;
}

.point-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 10px;
}

.rating-mini {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.rating-mini strong {
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 19px;
  font-weight: 500;
}

.rating-mini span {
  font-size: 9px;
  letter-spacing: 0.05em;
}

.point-card.is-pending {
  opacity: 0.76;
}

.point-card.is-pending:hover {
  opacity: 1;
}

/* status badge */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 23px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.status-badge .badge-demo {
  padding-left: 4px;
  border-left: 1px solid currentColor;
  opacity: 0.55;
  font-size: 7px;
  letter-spacing: 0.06em;
}

.status-badge[data-tone="verified"] { color: #2f6a50; background: #e8efe6; }
.status-badge[data-tone="official"] { color: #826337; background: #f2eadb; }
.status-badge[data-tone="local"] { color: #8a5538; background: #f2e6dc; }
.status-badge[data-tone="pending"] { color: #6b6a60; background: #eae6dc; }

.status-badge.is-solid {
  background: currentColor;
  border-color: currentColor;
}

.status-badge.is-solid span,
.status-badge.is-solid {
  color: var(--white);
}

/* route feature */

.route-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
  min-height: 560px;
}

.route-feature-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.route-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.85);
}

.route-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 60%, var(--forest-deep) 100%),
    linear-gradient(0deg, rgba(13, 40, 32, 0.4), transparent 50%);
}

.route-feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px);
}

.route-feature-copy .kicker {
  color: rgba(251, 248, 241, 0.48);
}

.route-feature-copy h2 {
  margin-top: 22px;
  max-width: 490px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.route-feature-copy p {
  max-width: 450px;
  margin-top: 18px;
  color: rgba(251, 248, 241, 0.64);
  font-size: 13px;
  line-height: 1.9;
}

.route-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: rgba(251, 248, 241, 0.7);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.route-feature-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.route-feature-copy .btn {
  align-self: flex-start;
  margin-top: 30px;
}

/* journal / updates */

.journal {
  background: var(--paper);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.journal-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 28px 34px 0;
  border-right: 1px solid var(--line);
  text-align: left;
}

.journal-item:not(:first-child) {
  padding-left: 28px;
}

.journal-item:last-child {
  border-right: 0;
}

.journal-date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.journal-date .journal-cat {
  color: var(--chili);
}

.journal-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.journal-item:hover h3 {
  color: var(--chili-deep);
}

.journal-item p {
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.85;
}

.journal-item .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

/* ============ footer ============ */

.site-footer {
  background: var(--forest-deep);
  color: rgba(251, 248, 241, 0.7);
}

.footer-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: clamp(48px, 7vw, 90px) var(--pad) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.footer-brand p {
  max-width: 380px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.9;
}

.footer-brand .footer-edition {
  margin-top: 24px;
  color: rgba(251, 248, 241, 0.4);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.footer-col h3 {
  margin-bottom: 16px;
  color: rgba(251, 248, 241, 0.4);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  font-size: 12px;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-note {
  padding: 18px 20px;
  border: 1px solid var(--line-light);
  font-size: 11px;
  line-height: 1.9;
}

.footer-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: rgba(251, 248, 241, 0.38);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.footer-bottom a {
  border-bottom: 1px solid rgba(251, 248, 241, 0.25);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--white);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(251, 248, 241, 0.5);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.to-top:hover {
  color: var(--white);
}

body[data-page="explore"] .site-footer {
  display: none;
}

/* ============ generic page hero ============ */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(50px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::after {
  content: attr(data-ghost);
  position: absolute;
  right: var(--pad);
  bottom: -0.2em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 38, 31, 0.08);
  font-family: var(--font-latin);
  font-size: clamp(6rem, 18vw, 21rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  pointer-events: none;
  white-space: nowrap;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 50px;
  align-items: end;
}

.page-hero h1 {
  max-width: 980px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.page-hero h1 em {
  color: var(--chili);
  font-style: normal;
}

.page-hero-side {
  max-width: 330px;
  justify-self: end;
  padding-bottom: 10px;
}

.page-hero-side p {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.95;
}

.page-hero-side .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* ============ explore ============ */

.explore-page {
  height: 100svh;
  min-height: 650px;
  padding-top: var(--header-h);
  background: var(--paper);
  overflow: hidden;
}

.explore-shell {
  display: grid;
  grid-template-columns: minmax(330px, 388px) 1fr;
  height: 100%;
}

.map-sidebar {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--paper-soft);
  border-right: 1px solid var(--line);
}

.sidebar-head {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.sidebar-head .map-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sidebar-head h1 {
  max-width: 300px;
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.sidebar-head h1 em {
  color: var(--chili);
  font-style: normal;
}

.sidebar-head .map-lede {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.demo-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid rgba(195, 66, 44, 0.35);
  color: var(--chili-deep);
  background: rgba(195, 66, 44, 0.06);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.demo-flag::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--chili);
  border-radius: 50%;
}

.map-toolbar {
  padding: 13px 24px 12px;
  border-bottom: 1px solid var(--line);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  border-bottom: 1px solid var(--line-strong);
}

.search-box:focus-within {
  border-color: var(--chili);
}

.search-box svg {
  flex: 0 0 auto;
  opacity: 0.6;
}

.search-box input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.search-box input::placeholder {
  color: var(--ink-3);
  opacity: 0.75;
}

.search-box .search-clear {
  display: none;
  padding: 4px;
  color: var(--ink-3);
  font-size: 14px;
}

.search-box.has-value .search-clear {
  display: block;
}

.filter-row {
  display: flex;
  gap: 7px;
  margin-top: 11px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 1px;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-chip .chip-count {
  font-family: var(--font-latin);
  font-size: 11px;
  opacity: 0.6;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.filter-chip.is-active .layer-dot {
  background: var(--white);
}

.toolbar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.status-quick {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 8px;
}

.status-quick .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2f6a50;
}

.point-list-wrap {
  position: relative;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 38, 31, 0.2) transparent;
}

.point-list-head {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(250, 247, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.point-list {
  padding: 3px 0 22px;
}

.point-list-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background 0.2s;
}

.point-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--chili);
  transform: scaleY(0);
  transition: transform 0.25s;
}

.point-list-item:hover,
.point-list-item.is-active {
  background: rgba(23, 38, 31, 0.035);
}

.point-list-item.is-active::before {
  transform: scaleY(1);
}

.point-list-idx {
  padding-top: 1px;
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 16px;
  line-height: 1.35;
}

.point-list-copy {
  min-width: 0;
}

.point-list-copy h3 {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.point-list-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.point-list-copy .list-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.point-list-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding-top: 1px;
}

.point-list-right .rating-mini strong {
  font-size: 17px;
}

.point-list-item.is-pending {
  opacity: 0.68;
}

.point-list-empty {
  padding: 40px 24px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.9;
}

.point-list-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
}

.map-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #ded6c4;
  overflow: hidden;
}

.map-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  outline: none;
}

.map-stage.is-dragging {
  cursor: grabbing;
}

.map-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 1600px;
  height: 1140px;
  transform-origin: 0 0;
  will-change: transform;
}

.map-base {
  width: 1600px;
  height: 1140px;
  user-select: none;
  pointer-events: none;
}

.map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.map-marker {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  white-space: nowrap;
}

.map-marker .marker-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 2px solid var(--paper);
  border-radius: 50% 50% 50% 4px;
  background: var(--marker-color, var(--forest));
  color: var(--white);
  box-shadow: 0 5px 16px rgba(12, 31, 23, 0.3);
  transform: rotate(-45deg);
  transition: transform 0.25s var(--ease), background 0.2s;
}

.map-marker .marker-pin > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
  font-family: var(--font-latin);
  font-size: 11px;
  line-height: 1;
}

.map-marker:hover .marker-pin,
.map-marker.is-active .marker-pin {
  transform: rotate(-45deg) scale(1.2);
  z-index: 4;
}

.map-marker.is-pending .marker-pin {
  border-style: dashed;
  opacity: 0.7;
}

.map-marker .marker-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 0;
  overflow: hidden;
  padding: 5px 8px;
  border: 1px solid rgba(23, 38, 31, 0.12);
  background: rgba(250, 247, 239, 0.94);
  color: var(--ink);
  font-size: 9px;
  line-height: 1.35;
  opacity: 0;
  transform: translateX(-4px);
  transition: max-width 0.35s var(--ease), opacity 0.25s, transform 0.25s;
  box-shadow: 0 6px 18px rgba(12, 31, 23, 0.1);
  backdrop-filter: blur(8px);
}

.map-marker .marker-label strong {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
}

.map-marker .marker-label em {
  color: var(--ink-3);
  font-style: normal;
  font-size: 8px;
}

.map-marker:hover .marker-label,
.map-marker.is-active .marker-label {
  max-width: 200px;
  opacity: 1;
  transform: translateX(0);
}

.map-marker.is-route .marker-pin {
  border-radius: 50%;
  transform: none;
  background: var(--paper);
  color: var(--ink);
  border-color: var(--chili);
}

.map-marker.is-route .marker-pin > span {
  transform: none;
  font-size: 12px;
  font-weight: 600;
}

.map-marker.is-route.is-current .marker-pin {
  background: var(--chili);
  color: var(--white);
  border-color: var(--white);
  transform: scale(1.15);
}

.map-overlay-top {
  position: absolute;
  z-index: 6;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.map-caption {
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 38, 31, 0.16);
  background: rgba(250, 247, 239, 0.9);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 9px;
  line-height: 1.7;
  pointer-events: auto;
}

.map-caption strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.map-caption .map-scale-note {
  display: block;
  margin-top: 6px;
  color: var(--chili-deep);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.map-controls {
  position: absolute;
  z-index: 7;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.map-control {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23, 38, 31, 0.2);
  background: rgba(250, 247, 239, 0.92);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background 0.2s, color 0.2s;
}

.map-control:hover {
  background: var(--ink);
  color: var(--white);
}

.map-control.reset {
  font-size: 11px;
  letter-spacing: 0;
}

.map-control.compass {
  font-family: var(--font-latin);
  font-size: 13px;
  color: var(--chili);
}

.map-legend {
  position: absolute;
  z-index: 6;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  max-width: 520px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 38, 31, 0.12);
  background: rgba(250, 247, 239, 0.88);
  backdrop-filter: blur(12px);
  font-size: 8px;
  color: var(--ink-3);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-line {
  width: 13px;
  height: 1px;
  background: var(--chili);
}

.map-route-cta {
  position: absolute;
  z-index: 6;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 15px;
  border: 1px solid rgba(23, 38, 31, 0.18);
  background: rgba(23, 38, 31, 0.92);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
  transition: background 0.2s;
}

.map-route-cta:hover {
  background: var(--chili);
}

.map-route-cta strong {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 500;
}

.map-help {
  display: none;
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  color: rgba(23, 38, 31, 0.52);
  font-size: 8px;
  letter-spacing: 0.08em;
  pointer-events: none;
  white-space: nowrap;
}

/* route overlay */

.route-overlay {
  position: absolute;
  inset: 0;
  width: 1600px;
  height: 1140px;
  pointer-events: none;
  overflow: visible;
}

.route-overlay path.route-line-shadow {
  fill: none;
  stroke: rgba(243, 238, 226, 0.85);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-overlay path.route-line {
  fill: none;
  stroke: var(--chili);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 9;
  animation: routeDash 18s linear infinite;
}

@keyframes routeDash {
  to { stroke-dashoffset: -210; }
}

/* ============ point detail panel ============ */

.overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: flex;
  background: rgba(8, 20, 16, 0.48);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.overlay.align-right {
  justify-content: flex-end;
}

.overlay.align-center {
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.overlay-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  height: 100%;
  background: var(--paper-soft);
  transform: translateX(60px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s;
}

.overlay.is-open .overlay-panel {
  transform: none;
  opacity: 1;
}

.overlay-close {
  position: absolute;
  z-index: 20;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(251, 248, 241, 0.5);
  border-radius: 50%;
  background: rgba(8, 20, 16, 0.35);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.overlay-close:hover {
  background: var(--chili);
}

.point-panel-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.point-panel-hero {
  position: relative;
  min-height: 285px;
  background: var(--forest);
  overflow: hidden;
}

.point-panel-hero img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}

.point-panel-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 27, 19, 0.7), transparent 55%);
}

.point-panel-hero .point-panel-cat {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(251, 248, 241, 0.76);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.point-panel-hero .point-panel-cat .layer-dot {
  background: var(--white);
}

.point-panel-hero .status-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 26px;
}

.point-panel-body {
  padding: 24px 28px 34px;
}

.point-panel-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.point-panel-body h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.point-panel-body .panel-tagline {
  margin-top: 10px;
  color: var(--chili-deep);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.7;
}

.panel-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.panel-section h3 {
  margin-bottom: 10px;
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.panel-section p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.9;
}

.panel-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.fact {
  min-width: 0;
}

.fact dt {
  margin-bottom: 4px;
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
}

.panel-note {
  padding: 16px 18px;
  border-left: 2px solid var(--chili);
  background: #efe7d9;
}

.panel-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--chili-deep);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.panel-note p {
  font-size: 12px;
  line-height: 1.85;
}

.rating-block {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.rating-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.rating-score {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.rating-score strong {
  font-family: var(--font-latin);
  font-size: 44px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.rating-score span {
  color: var(--ink-3);
  font-size: 9px;
}

.rating-meta {
  text-align: right;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.7;
}

.rating-meta .demo-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 5px;
  border: 1px solid rgba(195, 66, 44, 0.3);
  color: var(--chili-deep);
  font-size: 7px;
}

.rating-bars {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 70px 1fr 28px;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
  font-size: 9px;
}

.rating-bar .bar-track {
  height: 3px;
  background: rgba(23, 38, 31, 0.1);
}

.rating-bar .bar-fill {
  height: 100%;
  background: var(--forest);
  transform-origin: left;
}

.rating-bar .bar-val {
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 13px;
  text-align: right;
}

.rating-empty {
  padding: 16px;
  border: 1px dashed var(--line-strong);
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

.panel-reviews {
  display: grid;
  gap: 10px;
}

.panel-review {
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: rgba(250, 247, 239, 0.6);
}

.panel-review-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--ink-3);
  font-size: 8px;
}

.panel-review-head strong {
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.panel-review p {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.8;
}

.panel-source {
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.8;
}

.panel-source a {
  color: var(--chili-deep);
  border-bottom: 1px solid rgba(195, 66, 44, 0.3);
}

.point-panel-actions {
  position: sticky;
  z-index: 10;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 14px 28px 18px;
  border-top: 1px solid var(--line);
  background: rgba(250, 247, 239, 0.94);
  backdrop-filter: blur(12px);
}

.point-panel-actions .btn {
  flex: 1;
}

/* route drawer / favorites */

.drawer {
  width: min(100%, 480px);
  height: 100%;
  overflow-y: auto;
  background: var(--paper-soft);
  padding: 28px;
  transform: translateX(60px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s;
}

.overlay.is-open .drawer {
  transform: none;
  opacity: 1;
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.drawer-head .overlay-close {
  position: static;
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.drawer-close {
  flex: 0 0 auto;
}

.drawer-list {
  padding: 10px 0 30px;
}

.drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.drawer-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: var(--paper-deep);
}

.drawer-item .drawer-copy {
  min-width: 0;
}

.drawer-item h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.drawer-item p {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.6;
}

.drawer-item .drawer-arrow {
  font-size: 17px;
  color: var(--chili);
}

.drawer-empty {
  padding: 48px 0;
  text-align: center;
}

.drawer-empty .empty-mark {
  font-family: var(--font-latin);
  font-size: 60px;
  color: var(--line-strong);
  line-height: 1;
}

.drawer-empty h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.drawer-empty p {
  max-width: 270px;
  margin: 8px auto 0;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.drawer-remove {
  display: inline-flex;
  margin-top: 7px;
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* toast */

.toast {
  position: fixed;
  z-index: 4000;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 40px);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.03em;
  transform: translate(-50%, 25px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease);
  box-shadow: 0 18px 50px rgba(8, 20, 16, 0.25);
}

.toast::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--chili);
  border-radius: 50%;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============ routes page ============ */

.routes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-tab .tab-count {
  font-family: var(--font-latin);
  font-size: 13px;
  opacity: 0.6;
}

.filter-tab:hover {
  color: var(--ink);
}

.filter-tab.is-active {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--paper-soft);
}

.routes-note {
  max-width: 300px;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.7;
  text-align: right;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 28px;
}

.route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.route-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--forest);
}

.route-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1s var(--ease);
}

.route-card:hover .route-card-cover img {
  transform: scale(1.035);
}

.route-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 28, 20, 0.5), transparent 52%);
}

.route-type {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 5px 9px;
  background: rgba(250, 247, 239, 0.92);
  color: var(--ink);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.route-card-no {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 18px;
  color: rgba(251, 248, 241, 0.8);
  font-family: var(--font-latin);
  font-size: 18px;
}

.route-cover-meta {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(251, 248, 241, 0.8);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.route-cover-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.route-card-body {
  padding: 20px 0 0;
}

.route-card-body .route-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--chili-deep);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.route-card h3 {
  max-width: 600px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.route-card .route-sub {
  max-width: 550px;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.8;
}

.route-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 9px;
}

.route-type-official {
  border-left: 2px solid var(--ochre);
}

.route-type-user {
  border-left: 2px solid var(--chili);
}

.routes-empty {
  padding: clamp(50px, 8vw, 100px) 0;
  text-align: center;
}

.routes-empty .empty-no {
  color: var(--line-strong);
  font-family: var(--font-latin);
  font-size: clamp(6rem, 13vw, 12rem);
  line-height: 0.8;
}

.routes-empty h2 {
  max-width: 620px;
  margin: 20px auto 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.routes-empty p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.9;
}

.routes-empty .btn {
  margin-top: 26px;
}

.route-submit {
  margin-top: 50px;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.route-submit h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.route-submit p {
  max-width: 580px;
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

/* ============ route detail ============ */

.route-cover {
  position: relative;
  min-height: min(74svh, 800px);
  padding-top: var(--header-h);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.route-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.route-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 22, 15, 0.85) 0%, rgba(7, 22, 15, 0.25) 55%, rgba(7, 22, 15, 0.4) 100%),
    linear-gradient(90deg, rgba(7, 22, 15, 0.45), transparent 60%);
}

.route-cover-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 30px var(--pad) clamp(44px, 7vw, 80px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(251, 248, 241, 0.6);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .sep {
  opacity: 0.4;
}

.route-cover .route-type {
  position: static;
  display: inline-block;
  margin-bottom: 20px;
}

.route-cover h1 {
  max-width: 1000px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 6.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.route-cover .route-dek {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(251, 248, 241, 0.74);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.8;
}

.route-cover-meta {
  position: static;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.route-cover-meta .meta-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(251, 248, 241, 0.45);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.route-cover-meta .meta-value {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.route-actions .btn {
  min-width: 150px;
}

.route-body {
  padding: clamp(55px, 7vw, 100px) 0;
}

.route-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 7vw, 110px);
  padding-bottom: clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

.route-intro-grid .lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.7;
  letter-spacing: -0.015em;
}

.route-why {
  padding-left: 24px;
  border-left: 2px solid var(--chili);
}

.route-why h3 {
  color: var(--chili-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.route-why p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.95;
}

.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.section-label h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-label .label-index {
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.route-map-section {
  padding-top: clamp(50px, 6vw, 80px);
}

.route-map-shell {
  position: relative;
  height: clamp(380px, 48vw, 590px);
  border: 1px solid var(--line);
  background: var(--paper-deep);
  overflow: hidden;
}

.route-map-shell .map-help {
  display: none;
}

.route-map-shell .map-caption {
  max-width: 270px;
}

.route-map-shell .map-legend {
  bottom: 18px;
  left: 18px;
}

.journey {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  background: var(--ink);
  color: var(--white);
}

.journey-inactive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: var(--forest);
  color: var(--white);
}

.journey-inactive p {
  max-width: 620px;
  color: rgba(251, 248, 241, 0.62);
  font-size: 11px;
  line-height: 1.8;
}

.journey-inactive h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.journey-main {
  min-width: 0;
}

.journey-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(251, 248, 241, 0.5);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-topline strong {
  color: var(--white);
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 500;
}

.journey h3 {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
}

.journey p {
  margin-top: 5px;
  color: rgba(251, 248, 241, 0.62);
  font-size: 11px;
}

.journey-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.journey-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-light);
  color: var(--white);
  transition: background 0.2s;
}

.journey-controls button:hover {
  background: rgba(251, 248, 241, 0.1);
}

.journey-controls .journey-end {
  width: auto;
  padding: 0 12px;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.journey-progress {
  height: 2px;
  margin-top: 14px;
  background: rgba(251, 248, 241, 0.16);
}

.journey-progress span {
  display: block;
  height: 100%;
  background: var(--chili);
  transition: width 0.4s var(--ease);
}

.route-lower {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 80px);
  padding-top: clamp(50px, 7vw, 90px);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 65px;
  width: 1px;
  background: var(--line-strong);
}

.stop-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 36px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 30px;
}

.stop-time {
  padding-top: 16px;
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 15px;
  line-height: 1.2;
  text-align: right;
}

.stop-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 12px;
  border: 1px solid var(--chili);
  border-radius: 50%;
  background: var(--paper);
  color: var(--chili-deep);
  font-family: var(--font-latin);
  font-size: 12px;
}

.stop-content {
  padding: 12px 16px 16px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  transition: border-color 0.2s, background 0.2s;
}

.stop-card:hover .stop-content {
  border-color: var(--line-strong);
  background: var(--white);
}

.stop-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.stop-content .stop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 7px;
  color: var(--ink-3);
  font-size: 9px;
}

.stop-content p {
  margin-top: 9px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.8;
}

.stop-content .stop-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--chili-deep);
  font-size: 9px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(195, 66, 44, 0.3);
}

.route-aside {
  display: grid;
  gap: 20px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.aside-block {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.aside-block h3 {
  margin-bottom: 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
}

.budget-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.budget-table tr:last-child td {
  border-bottom: 0;
  padding-top: 12px;
  font-weight: 600;
}

.budget-table td:last-child {
  text-align: right;
  color: var(--ink-2);
}

.tip-list {
  display: grid;
  gap: 12px;
}

.tip-list li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.8;
}

.tip-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--chili);
  border-radius: 50%;
}

.warning-block {
  padding: 24px;
  background: #efe2d7;
  border: 1px solid rgba(195, 66, 44, 0.35);
}

.warning-block .warn-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--chili-deep);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.warning-block .warn-label::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid var(--chili);
  border-radius: 50%;
  font-size: 9px;
}

.warning-block p {
  margin-top: 10px;
  color: #61372a;
  font-size: 11px;
  line-height: 1.85;
}

.route-reviews {
  margin-top: clamp(50px, 7vw, 80px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.route-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.route-review {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.route-review p {
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.8;
}

.route-review .review-by {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 8px;
}

.route-review .demo-tag,
.rating-meta .demo-tag {
  padding: 2px 5px;
  border: 1px solid rgba(195, 66, 44, 0.3);
  color: var(--chili-deep);
  font-size: 7px;
  letter-spacing: 0.04em;
}

/* ============ stories ============ */

.stories-page {
  background: var(--paper);
}

.stories-hero {
  padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 0;
}

.stories-hero-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  padding-bottom: clamp(40px, 6vw, 70px);
}

.stories-hero h1 {
  max-width: 1000px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.4vw, 7.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.stories-hero h1 em {
  color: var(--chili);
  font-style: normal;
}

.stories-hero-side {
  max-width: 330px;
  justify-self: end;
  padding-bottom: 8px;
}

.stories-hero-side p {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.9;
}

.feature-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
  background: var(--forest);
  color: var(--white);
}

.feature-story-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.feature-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 1.2s var(--ease);
}

.feature-story:hover .feature-story-media img {
  transform: scale(1.025);
}

.feature-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--forest) 100%);
}

.feature-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 70px);
}

.feature-story-copy .kicker {
  color: rgba(251, 248, 241, 0.45);
}

.feature-story-copy h2 {
  max-width: 500px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.feature-story-copy p {
  max-width: 450px;
  margin-top: 16px;
  color: rgba(251, 248, 241, 0.62);
  font-size: 12px;
  line-height: 1.9;
}

.feature-story-copy .story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: rgba(251, 248, 241, 0.48);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.feature-story-copy .btn {
  align-self: flex-start;
  margin-top: 25px;
}

.stories-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 24px;
}

.story-card {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.story-card-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.story-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86);
  transition: transform 0.95s var(--ease);
}

.story-card:hover .story-card-cover img {
  transform: scale(1.035);
}

.story-card-cover .story-cat {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  background: rgba(250, 247, 239, 0.9);
  color: var(--ink);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.story-card-body {
  padding-top: 16px;
}

.story-card .story-date {
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.story-card h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.story-card:hover h3 {
  color: var(--chili-deep);
}

.story-card p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.story-card .link-arrow {
  align-self: flex-start;
  margin-top: 14px;
}

/* story detail */

.story-article {
  padding-bottom: 90px;
}

.article-cover {
  position: relative;
  padding-top: calc(var(--header-h) + 40px);
  min-height: 68svh;
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
}

.article-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 22, 15, 0.82), rgba(8, 22, 15, 0.28) 62%, rgba(8, 22, 15, 0.45));
}

.article-cover-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 1050px);
  min-height: calc(68svh - var(--header-h) - 40px);
  margin-inline: auto;
  padding: 40px var(--pad) clamp(44px, 6vw, 72px);
}

.article-cover h1 {
  max-width: 900px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 5.8rem);
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: -0.04em;
}

.article-cover .article-dek {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(251, 248, 241, 0.7);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.8;
}

.article-cover .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: rgba(251, 248, 241, 0.52);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.article-main {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.article-main .article-lead {
  padding: clamp(38px, 6vw, 70px) 0 32px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.8;
  letter-spacing: -0.015em;
}

.article-body {
  padding-top: 34px;
}

.article-body p {
  margin-bottom: 1.45em;
  color: #283b31;
  font-family: var(--font-display);
  font-size: clamp(1.03rem, 1.35vw, 1.15rem);
  line-height: 2.05;
  letter-spacing: 0.01em;
}

.article-body h2 {
  margin: 2.4em 0 0.85em;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.article-body blockquote {
  margin: 2.1em 0;
  padding: 12px 0 12px 26px;
  border-left: 2px solid var(--chili);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.75;
}

.article-image {
  margin: 2.2em 0;
}

.article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-image figcaption {
  margin-top: 8px;
  color: var(--ink-3);
  font-family: var(--font-sans);
  font-size: 9px;
  line-height: 1.6;
}

.article-foot {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.article-foot .article-note {
  padding: 18px;
  background: var(--paper-deep);
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.8;
}

.source-list {
  margin-top: 24px;
}

.source-list h3 {
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.source-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.source-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-2);
}

.source-list a:hover {
  color: var(--chili-deep);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.article-related {
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.article-related h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.article-related-card {
  padding: 18px;
  border: 1px solid var(--line);
  transition: background 0.2s;
}

.article-related-card:hover {
  background: var(--paper-soft);
}

.article-related-card .rel-cat {
  color: var(--chili-deep);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.article-related-card h3 {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.article-related-card p {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.8;
}

/* ============ tools ============ */

.tools-page {
  background: var(--paper);
}

.tools-hero {
  padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(50px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}

.tools-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: end;
}

.tools-hero h1 {
  max-width: 950px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.6vw, 7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.tools-hero h1 em {
  color: var(--chili);
  font-style: normal;
}

.tools-hero-side {
  max-width: 340px;
  justify-self: end;
}

.tools-hero-side p {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.95;
}

.live-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.live-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.live-card .live-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.live-card .live-kicker {
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid rgba(195, 66, 44, 0.35);
  color: var(--chili-deep);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.live-status::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--chili);
}

.live-card h3 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.live-card p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.live-card .live-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--chili-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.live-card .live-link:hover {
  color: var(--ink);
}

.live-note {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.7;
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.transport-card {
  padding: 26px;
  border-top: 2px solid var(--forest);
  background: var(--paper-soft);
}

.transport-card .trans-kicker {
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.transport-card h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.transport-card > p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.transport-points {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.transport-points li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.7;
}

.transport-points li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--chili);
  border-radius: 50%;
}

.transport-card .link-arrow {
  margin-top: 18px;
  font-size: 9px;
}

.packing-shell {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.packing-intro {
  padding: clamp(30px, 4vw, 52px);
  border-right: 1px solid var(--line);
  background: var(--forest);
  color: var(--white);
}

.packing-intro .kicker {
  color: rgba(251, 248, 241, 0.44);
}

.packing-intro h2 {
  max-width: 500px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.packing-intro p {
  max-width: 430px;
  margin-top: 14px;
  color: rgba(251, 248, 241, 0.6);
  font-size: 11px;
  line-height: 1.9;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 35px;
}

.progress-ring {
  position: relative;
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring circle {
  fill: none;
  stroke-width: 2;
}

.progress-ring .ring-bg {
  stroke: rgba(251, 248, 241, 0.16);
}

.progress-ring .ring-fill {
  stroke: var(--chili);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s var(--ease);
}

.progress-ring .ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.progress-ring strong {
  font-family: var(--font-latin);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.progress-ring span {
  margin-top: 4px;
  color: rgba(251, 248, 241, 0.5);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.progress-copy {
  color: rgba(251, 248, 241, 0.6);
  font-size: 10px;
  line-height: 1.8;
}

.progress-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
}

.packing-list {
  padding: 26px clamp(24px, 4vw, 44px);
}

.packing-group + .packing-group {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.packing-group h3 {
  margin-bottom: 8px;
  color: var(--ink-3);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.packing-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 12px;
  color: var(--ink-2);
}

.packing-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transition: background 0.2s, border-color 0.2s;
}

.check-box::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(-45deg) translate(1px, -1px) scale(0.6);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.packing-item input:checked + .check-box {
  background: var(--forest);
  border-color: var(--forest);
}

.packing-item input:checked + .check-box::after {
  opacity: 1;
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}

.packing-item input:focus-visible + .check-box {
  outline: 2px solid var(--chili);
  outline-offset: 3px;
}

.packing-item.is-checked .packing-label {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}

.packing-reset {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
}

.intensity-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 50px;
}

.intensity-tabs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.intensity-tab {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: padding 0.25s var(--ease), color 0.2s;
}

.intensity-tab .int-no {
  font-family: var(--font-latin);
  font-size: 14px;
  color: var(--ink-3);
}

.intensity-tab .int-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}

.intensity-tab .int-arrow {
  font-size: 14px;
  color: var(--ink-3);
}

.intensity-tab:hover {
  padding-left: 6px;
}

.intensity-tab.is-active {
  padding-left: 6px;
  color: var(--chili-deep);
}

.intensity-tab.is-active .int-arrow {
  color: var(--chili);
}

.intensity-panel {
  padding: 34px;
  background: var(--forest);
  color: var(--white);
}

.intensity-panel .int-level {
  color: rgba(251, 248, 241, 0.45);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.intensity-panel h3 {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.intensity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.intensity-stat span {
  display: block;
  color: rgba(251, 248, 241, 0.42);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.intensity-stat strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.intensity-panel > p {
  margin-top: 22px;
  color: rgba(251, 248, 241, 0.67);
  font-size: 12px;
  line-height: 1.9;
}

.intensity-note {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  color: rgba(251, 248, 241, 0.52);
  font-size: 9px;
  line-height: 1.8;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.dish-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 18px;
  color: var(--white);
  background: var(--forest);
}

.dish-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.75);
  transition: transform 1s var(--ease);
}

.dish-card:hover img {
  transform: scale(1.04);
}

.dish-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 22, 15, 0.84), transparent 65%);
}

.dish-card .dish-copy {
  position: relative;
  z-index: 2;
}

.dish-card .dish-tag {
  color: rgba(251, 248, 241, 0.55);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.dish-card h3 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.dish-card p {
  margin-top: 7px;
  color: rgba(251, 248, 241, 0.65);
  font-size: 9px;
  line-height: 1.7;
}

.dish-card .dish-img-note {
  margin-top: 8px;
  color: rgba(251, 248, 241, 0.38);
  font-size: 7px;
}

.rain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rain-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  transition: border-color 0.2s, background 0.2s;
}

.rain-card:hover {
  border-color: var(--line-strong);
  background: var(--white);
}

.rain-card .rain-tag {
  color: var(--chili-deep);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.rain-card h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.35;
}

.rain-card p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.rain-card .link-arrow {
  align-self: flex-start;
  margin-top: 24px;
  font-size: 9px;
}

/* ============ about / data ============ */

.about-page {
  padding-bottom: 100px;
}

.about-hero {
  padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(50px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  max-width: 1000px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.4vw, 6.8rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.about-hero h1 em {
  color: var(--chili);
  font-style: normal;
}

.about-hero .about-lede {
  max-width: 700px;
  margin-top: 20px;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(40px, 7vw, 100px);
  padding-top: 60px;
}

.about-aside {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.about-aside h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}

.about-aside p {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.9;
}

.about-section + .about-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.about-section > p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.95;
}

.legend-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.legend-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.legend-card h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.legend-card p {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.8;
}

.credit-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.credit-item {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.45fr;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.credit-item .credit-file {
  color: var(--ink-2);
}

.credit-item .credit-author,
.credit-item .credit-license {
  color: var(--ink-3);
}

.about-callout {
  margin-top: 24px;
  padding: 24px;
  border-left: 2px solid var(--chili);
  background: var(--paper-deep);
}

.about-callout h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.about-callout p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.9;
}

.integration-list {
  counter-reset: int;
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.integration-item {
  counter-increment: int;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.integration-item::before {
  content: "0" counter(int);
  color: var(--chili);
  font-family: var(--font-latin);
  font-size: 18px;
}

.integration-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.integration-item p {
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

/* ============ responsive ============ */

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    gap: 20px;
  }

  .brand-en {
    display: none;
  }

  .theme-row {
    min-height: 540px;
  }

  .dish-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

  .primary-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .save-btn .save-label {
    display: none;
  }

  .save-btn {
    width: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .mobile-menu {
    position: fixed;
    z-index: 990;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px var(--pad) 40px;
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile-nav {
    display: grid;
    gap: 0;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .mobile-nav a span {
    color: var(--ink-3);
    font-family: var(--font-latin);
    font-size: 13px;
  }

  .mobile-menu-foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--ink-3);
    font-size: 9px;
    line-height: 1.8;
  }

  .hero {
    min-height: 660px;
  }

  .hero h1 {
    font-size: clamp(4rem, 15vw, 8.5rem);
  }

  .hero-copy {
    display: block;
  }

  .hero-foot {
    margin-top: 28px;
  }

  .scroll-cue {
    display: none;
  }

  .home-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-intro-side {
    max-width: 500px;
  }

  .theme-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .theme-row.is-reverse .theme-media {
    order: 0;
  }

  .theme-media {
    min-height: 360px;
  }

  .theme-copy {
    padding: 38px var(--pad);
  }

  .point-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-feature {
    grid-template-columns: 1fr;
  }

  .route-feature-media {
    min-height: 340px;
  }

  .route-feature-media::after {
    background: linear-gradient(0deg, var(--forest-deep), transparent 55%);
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-item,
  .journal-item:not(:first-child) {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journal-item p {
    max-width: 600px;
  }

  .page-hero-inner,
  .stories-hero-head,
  .tools-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-hero-side,
  .stories-hero-side,
  .tools-hero-side {
    justify-self: start;
    padding-bottom: 0;
  }

  .explore-shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 42svh) 1fr;
  }

  .explore-page {
    min-height: 0;
  }

  .map-sidebar {
    order: 2;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .map-panel {
    order: 1;
    min-height: 280px;
  }

  .sidebar-head {
    padding: 18px 20px 14px;
  }

  .sidebar-head h1 {
    max-width: none;
    font-size: 25px;
  }

  .map-toolbar {
    padding: 10px 20px;
  }

  .point-list-item {
    padding-inline: 20px;
  }

  .point-list-head {
    padding-inline: 20px;
  }

  .map-overlay-top {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .map-caption {
    max-width: 240px;
    padding: 8px 10px;
    font-size: 8px;
  }

  .map-caption strong {
    font-size: 11px;
  }

  .map-controls {
    top: 12px;
    right: 12px;
  }

  .map-control {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .map-legend {
    left: 12px;
    bottom: 12px;
    padding: 8px 10px;
    gap: 5px 10px;
  }

  .map-route-cta {
    right: 12px;
    bottom: 12px;
    padding: 7px 9px;
    font-size: 8px;
  }

  .map-help {
    display: none;
  }

  .overlay-panel {
    width: min(100%, 520px);
  }

  .route-cover-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-intro-grid,
  .route-lower {
    grid-template-columns: 1fr;
  }

  .route-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .route-aside .warning-block,
  .route-aside .aside-block:first-child {
    grid-column: span 1;
  }

  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-story {
    grid-template-columns: 1fr;
  }

  .feature-story-media {
    min-height: 340px;
  }

  .feature-story-media::after {
    background: linear-gradient(0deg, var(--forest), transparent 55%);
  }

  .live-data-grid,
  .transport-grid {
    grid-template-columns: 1fr;
  }

  .packing-shell,
  .intensity-layout {
    grid-template-columns: 1fr;
  }

  .packing-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intensity-layout {
    gap: 24px;
  }

  .intensity-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .intensity-tab:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 16px;
  }

  .intensity-tab:nth-child(even) {
    padding-left: 16px;
  }

  .dish-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rain-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-aside {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 14px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .hero {
    min-height: 620px;
    height: 100svh;
    max-height: 900px;
  }

  .hero-inner {
    padding-bottom: 28px;
  }

  .hero-top {
    top: calc(var(--header-h) + 18px);
    font-size: 7px;
  }

  .hero-top .hero-coords {
    display: none;
  }

  .hero-main {
    padding-bottom: 52px;
  }

  .hero-eyebrow {
    font-size: 9px;
    margin-bottom: 15px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 6rem);
    line-height: 1;
  }

  .hero-subline {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
    padding-inline: 14px;
    font-size: 10px;
  }

  .hero-foot {
    display: block;
  }

  .hero-caption {
    display: none;
  }

  .hero-slide-nav {
    justify-content: space-between;
    width: 100%;
  }

  .slide-btn {
    width: 23%;
    font-size: 7px;
  }

  .home-intro {
    padding-block: 64px;
  }

  .home-intro h2 {
    font-size: clamp(2.5rem, 10vw, 3.6rem);
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 18px 12px 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(2n) {
    border-right: 0;
    padding-left: 16px;
  }

  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .theme-media {
    min-height: 280px;
  }

  .theme-copy h2 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .point-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .route-feature-media {
    min-height: 260px;
  }

  .route-feature-copy {
    padding: 32px var(--pad) 40px;
  }

  .route-feature-meta {
    gap: 16px;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 46px);
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .explore-page {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding-top: var(--header-h);
  }

  .explore-shell {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .map-panel {
    height: 46svh;
    min-height: 310px;
    flex: 0 0 auto;
  }

  .map-sidebar {
    flex: 1;
    min-height: 0;
  }

  .point-list-wrap {
    overflow: visible;
  }

  .point-list-head {
    position: static;
  }

  .map-caption {
    display: none;
  }

  .map-legend {
    max-width: calc(100% - 80px);
  }

  .overlay.align-right {
    align-items: flex-end;
  }

  .overlay-panel {
    width: 100%;
    height: 92svh;
    border-radius: 8px 8px 0 0;
    transform: translateY(60px);
  }

  .overlay.is-open .overlay-panel {
    transform: none;
  }

  .overlay-close {
    top: 12px;
    right: 12px;
  }

  .point-panel-hero,
  .point-panel-hero img {
    height: 220px;
    min-height: 220px;
  }

  .point-panel-body {
    padding: 22px 20px 30px;
  }

  .point-panel-actions {
    padding: 12px 20px 16px;
  }

  .panel-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .drawer {
    padding: 20px;
  }

  .routes-toolbar,
  .stories-toolbar {
    display: block;
  }

  .routes-note {
    margin-top: 12px;
    text-align: left;
  }

  .route-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .route-card h3 {
    font-size: 26px;
  }

  .route-cover {
    min-height: 660px;
  }

  .route-cover h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .route-cover .route-dek {
    font-size: 14px;
  }

  .route-cover-meta {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .route-actions .btn {
    flex: 1;
    min-width: 0;
    font-size: 10px;
  }

  .route-map-shell {
    height: 360px;
  }

  .journey,
  .journey-inactive {
    display: block;
    padding: 18px;
  }

  .journey-controls {
    margin-top: 16px;
  }

  .journey-inactive .btn {
    margin-top: 16px;
    width: 100%;
  }

  .timeline::before {
    left: 48px;
  }

  .stop-card {
    grid-template-columns: 34px 28px minmax(0, 1fr);
    gap: 9px;
  }

  .stop-time {
    padding-top: 13px;
    font-size: 12px;
  }

  .stop-content {
    padding: 12px;
  }

  .stop-content h3 {
    font-size: 18px;
  }

  .route-aside {
    grid-template-columns: 1fr;
  }

  .route-reviews-grid {
    grid-template-columns: 1fr;
  }

  .stories-hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .stories-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .feature-story-media {
    min-height: 250px;
  }

  .feature-story-copy {
    padding: 30px var(--pad) 38px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .article-cover {
    min-height: 620px;
  }

  .article-cover h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .article-cover .article-dek {
    font-size: 14px;
  }

  .article-main .article-lead {
    font-size: 19px;
  }

  .article-body p {
    font-size: 16px;
    line-height: 1.95;
  }

  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .tools-hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .tools-hero h1 {
    font-size: clamp(2.7rem, 11.5vw, 4rem);
  }

  .progress-wrap {
    gap: 18px;
  }

  .progress-ring {
    width: 88px;
    height: 88px;
  }

  .intensity-tabs {
    grid-template-columns: 1fr;
  }

  .intensity-tab:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .intensity-tab:nth-child(even) {
    padding-left: 0;
  }

  .intensity-panel {
    padding: 24px;
  }

  .intensity-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dish-grid {
    grid-template-columns: 1fr;
  }

  .dish-card {
    min-height: 230px;
  }

  .legend-list {
    grid-template-columns: 1fr;
  }

  .credit-item {
    grid-template-columns: 1fr 1fr;
    gap: 5px 15px;
  }

  .credit-item .credit-license {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-note {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
    line-height: 2;
  }

  .to-top {
    margin-top: 10px;
  }

  .toast {
    bottom: 18px;
    width: calc(100vw - 32px);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide img {
    transform: none !important;
  }
}

/* ===== runtime additions ===== */
.map-canvas {
  transition: transform 0.45s var(--ease);
}

.map-stage.is-dragging .map-canvas,
.map-stage.is-dragging .map-marker {
  transition: none !important;
}

.map-marker {
  width: 27px;
  height: 27px;
  display: block;
  transition: left 0.45s var(--ease), top 0.45s var(--ease);
}

.map-stage.is-dragging .map-marker {
  transition: none !important;
}

.map-marker .marker-label {
  position: absolute;
  left: 36px;
  top: 50%;
  width: max-content;
  max-width: 220px;
  padding: 5px 8px;
  border: 1px solid rgba(23, 38, 31, 0.12);
  background: rgba(250, 247, 239, 0.95);
  color: var(--ink);
  font-size: 9px;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  transform: translate(-5px, -50%);
  transition: opacity 0.22s, transform 0.22s var(--ease), visibility 0.22s;
  box-shadow: 0 6px 18px rgba(12, 31, 23, 0.1);
  backdrop-filter: blur(8px);
}

.map-marker:hover .marker-label,
.map-marker:focus-visible .marker-label,
.map-marker.is-active .marker-label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.map-marker .marker-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
}

.map-marker .marker-label em {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-style: normal;
  font-size: 8px;
}

.map-marker.is-current .marker-pin {
  background: var(--chili);
  color: var(--white);
  border-color: var(--white);
  transform: rotate(-45deg) scale(1.25);
}

.map-stage:focus-visible {
  outline: 2px solid var(--chili);
  outline-offset: -4px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 28%, rgba(243, 238, 226, 0.14), transparent 42%),
    linear-gradient(140deg, var(--layer-color, #356a50), #14251e);
  color: var(--paper);
  text-align: center;
}

.no-photo::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(243, 238, 226, 0.22);
  pointer-events: none;
}

.no-photo::after {
  content: "";
  position: absolute;
  width: 160%;
  height: 1px;
  background: rgba(243, 238, 226, 0.16);
  transform: rotate(-32deg);
}

.no-photo span {
  position: relative;
  z-index: 1;
  max-width: 80%;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 27px);
  line-height: 1.35;
}

.no-photo small {
  position: relative;
  z-index: 1;
  color: rgba(243, 238, 226, 0.55);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.point-panel-hero .no-photo {
  height: 285px;
  min-height: 285px;
}

.hero-caption strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stop-card.is-current .stop-content {
  border-color: var(--chili);
  background: var(--white);
}

.hero-caption > span:last-child {
  display: block;
}

code {
  padding: 1px 4px;
  background: rgba(23, 38, 31, 0.07);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
}

.route-map-shell #route-map {
  position: absolute;
  inset: 0;
}

.route-map-shell .map-controls {
  top: 14px;
  right: 14px;
}

.route-map-shell .map-caption {
  top: 14px;
  left: 14px;
  max-width: 280px;
}

.route-map-shell .map-legend {
  left: 14px;
  bottom: 14px;
}

.route-map-shell .map-route-cta {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 680px) {
  .point-panel-hero .no-photo {
    height: 220px;
    min-height: 220px;
  }
}

.map-clusters {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.map-cluster {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(250, 247, 239, 0.9);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(12, 31, 23, 0.28);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  transition: transform 0.25s var(--ease), background 0.2s;
}

.map-cluster:hover {
  background: var(--chili);
  transform: translate(-50%, -50%) scale(1.08);
}

.map-cluster span {
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.map-cluster small {
  margin-top: 1px;
  font-size: 6px;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.map-marker .marker-pin > span {
  font-size: 9px;
}

.save-btn {
  color: var(--ink);
}

.site-header:not(.is-solid) .save-btn {
  color: var(--white);
}

.stories-hero h1 {
  font-size: clamp(2.8rem, 5.6vw, 6.2rem);
}

.route-cover h1 {
  max-width: 1120px;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.only-mobile {
  display: none;
}

.overlay-panel:focus,
.drawer:focus {
  outline: none;
}

.save-btn {
  position: relative;
}

.save-icon {
  flex: 0 0 auto;
}

.home-intro h2 {
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
}

.routes-empty {
  padding: clamp(38px, 6vw, 64px) 0 clamp(60px, 8vw, 100px);
}

.routes-empty .empty-no {
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.8;
  margin-bottom: 0.18em;
}

.routes-empty h2 {
  margin-top: 0;
}

@media (max-width: 680px) {
  .only-mobile {
    display: inline;
  }

  .save-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }

  .save-btn .save-label {
    display: none;
  }

  .save-btn .save-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    font-size: 7px;
    border: 1px solid var(--paper);
  }

  .route-submit {
    display: block;
    padding: 24px;
  }

  .route-submit .btn {
    width: 100%;
    margin-top: 18px;
  }
}

.routes-empty {
  position: relative;
  overflow: hidden;
}

.routes-empty::before {
  content: "00";
  position: absolute;
  z-index: 0;
  top: -0.18em;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(23, 38, 31, 0.06);
  font-family: var(--font-latin);
  font-size: clamp(9rem, 22vw, 22rem);
  line-height: 0.75;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.routes-empty h2,
.routes-empty p,
.routes-empty .btn {
  position: relative;
  z-index: 1;
}

@media (max-width: 680px) {
  .filter-chip {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 10px;
  }

  .map-control {
    width: 38px;
    height: 38px;
  }

  .map-marker {
    width: 30px;
    height: 30px;
  }

  .map-marker .marker-pin {
    width: 30px;
    height: 30px;
  }

  .point-list-copy .list-meta {
    font-size: 9px;
  }

  .status-badge {
    font-size: 8.5px;
  }

  .status-badge .badge-demo {
    font-size: 7.5px;
  }

  .map-cluster {
    width: 46px;
    height: 46px;
  }
}

.legend-cluster {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-latin);
  font-size: 8px;
  line-height: 1;
}

.hero-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 19px;
}

.hero-secondary a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(251, 248, 241, 0.28);
  color: rgba(251, 248, 241, 0.68);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: color 0.2s, border-color 0.2s;
}

.hero-secondary a:hover {
  color: var(--white);
  border-color: var(--chili);
}

.hero-secondary a span {
  font-size: 11px;
}

@media (max-width: 680px) {
  .hero-secondary {
    gap: 10px 22px;
    margin-top: 16px;
  }

  .hero-secondary a {
    font-size: 8px;
  }
}

.route-cover-credit {
  margin-top: 12px;
  color: rgba(251, 248, 241, 0.38);
  font-size: 8px;
  letter-spacing: 0.04em;
}

/* ===== real map: Leaflet + OpenStreetMap ===== */
#explore-map,
#route-map {
  z-index: 0;
}

.map-panel .leaflet-container,
.route-map-shell .leaflet-container {
  background: #e7dfcf;
  font-family: var(--font-sans);
  outline: none;
}

.leaflet-tile-pane {
  filter: sepia(0.2) saturate(0.58) brightness(1.04) contrast(0.92);
}

.real-marker-wrap {
  background: transparent;
  border: 0;
}

.real-marker {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(250, 247, 239, 0.96);
  border-radius: 50%;
  background: var(--marker-color, #173d31);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(12, 31, 23, 0.32);
  transform-origin: center;
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}

.real-marker span {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.real-marker:hover,
.real-marker.is-active {
  transform: scale(1.16);
  box-shadow: 0 6px 20px rgba(12, 31, 23, 0.42);
  z-index: 2;
}

.real-marker.is-current {
  border-color: var(--chili);
  background: var(--chili);
  transform: scale(1.2);
}

.real-marker.is-pending {
  border-style: dashed;
  opacity: 0.72;
}

.real-cluster-wrap {
  background: transparent;
  border: 0;
}

.real-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(250, 247, 239, 0.94);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(12, 31, 23, 0.32);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.real-cluster:hover {
  background: var(--chili);
  transform: scale(1.06);
}

.real-cluster span {
  font-family: var(--font-latin);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

.real-cluster small {
  margin-top: 2px;
  font-size: 6px;
  letter-spacing: 0.06em;
  opacity: 0.58;
}

.leaflet-tooltip.real-map-tooltip {
  padding: 7px 9px;
  border: 1px solid rgba(23, 38, 31, 0.14);
  border-radius: 0;
  background: rgba(250, 247, 239, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(12, 31, 23, 0.14);
  font-family: var(--font-sans);
  font-size: 9px;
  line-height: 1.4;
  backdrop-filter: blur(10px);
}

.leaflet-tooltip.real-map-tooltip::before {
  border-top-color: rgba(23, 38, 31, 0.14);
}

.leaflet-tooltip.real-map-tooltip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
}

.leaflet-tooltip.real-map-tooltip em {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-style: normal;
  font-size: 8px;
}

.map-tile-error {
  position: absolute;
  z-index: 500;
  left: 50%;
  top: 50%;
  width: min(320px, calc(100% - 40px));
  padding: 14px 16px;
  border: 1px solid rgba(195, 66, 44, 0.3);
  background: rgba(250, 247, 239, 0.96);
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 34px rgba(12, 31, 23, 0.15);
}

.map-tile-error a {
  color: var(--chili-deep);
  border-bottom: 1px solid rgba(195, 66, 44, 0.35);
}

.map-attribution {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0;
  white-space: nowrap;
}

.map-attribution a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-data-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.map-data-state::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--chili);
}

@media (max-width: 680px) {
  .real-marker {
    width: 32px;
    height: 32px;
  }

  .real-cluster {
    width: 48px;
    height: 48px;
  }

  .leaflet-tooltip.real-map-tooltip {
    display: none;
  }
}

/* ===== photo portal hero ===== */
.hero.hero-portal {
  min-height: 760px;
}

.hero-portal::before {
  background:
    radial-gradient(circle at 50% 44%, rgba(7, 19, 14, 0.08) 0%, rgba(7, 19, 14, 0.28) 46%, rgba(7, 19, 14, 0.78) 100%),
    linear-gradient(0deg, rgba(7, 19, 14, 0.82) 0%, rgba(7, 19, 14, 0.06) 46%, rgba(7, 19, 14, 0.48) 100%);
}

.hero-portal::after {
  opacity: 0.12;
  background-size: 25% 100%;
}

.hero-portal .hero-inner {
  justify-content: flex-end;
}

.portal-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(50px, 8vh, 90px) 0 18px;
  text-align: center;
}

.portal-seal {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(251, 248, 241, 0.52);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  background: rgba(9, 27, 19, 0.22);
  backdrop-filter: blur(8px);
}

.portal-eyebrow {
  color: rgba(251, 248, 241, 0.58);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-portal h1 {
  margin-top: 16px;
  font-size: clamp(4.4rem, 10.4vw, 9.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-align: center;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.22);
}

.portal-slogan {
  margin-top: 20px;
  color: rgba(251, 248, 241, 0.88);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  letter-spacing: 0.2em;
}

.portal-subline {
  margin-top: 7px;
  color: rgba(251, 248, 241, 0.56);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.portal-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 940px);
  margin-top: clamp(28px, 5vh, 48px);
}

.portal-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 9px 14px;
  border: 1px solid rgba(251, 248, 241, 0.34);
  border-radius: 999px;
  background: rgba(12, 34, 25, 0.38);
  color: var(--white);
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.35s var(--ease), color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}

.portal-btn::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(251, 248, 241, 0.1);
  border-radius: 999px;
  pointer-events: none;
  transition: border-color 0.3s;
}

.portal-btn:hover {
  background: var(--paper-soft);
  border-color: var(--paper-soft);
  color: var(--ink);
  transform: translateY(-3px);
}

.portal-btn:hover::after {
  border-color: rgba(23, 38, 31, 0.1);
}

.portal-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(251, 248, 241, 0.28);
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s;
}

.portal-icon svg {
  width: 17px;
  height: 17px;
}

.portal-btn:hover .portal-icon {
  border-color: rgba(23, 38, 31, 0.18);
  background: rgba(23, 38, 31, 0.06);
}

.portal-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.portal-label strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.portal-label small {
  font-size: 6px;
  letter-spacing: 0.16em;
  opacity: 0.48;
}

.portal-arrow {
  margin-left: auto;
  font-size: 15px;
  font-weight: 300;
  opacity: 0.58;
  transition: transform 0.3s var(--ease);
}

.portal-btn:hover .portal-arrow {
  transform: translate(2px, -2px);
  opacity: 1;
}

.portal-weather {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  margin-top: 18px;
  padding: 6px 13px;
  border: 1px solid rgba(251, 248, 241, 0.22);
  border-radius: 999px;
  background: rgba(9, 27, 19, 0.28);
  color: rgba(251, 248, 241, 0.72);
  font-size: 9px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.portal-weather:empty {
  display: none;
}

.weather-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(251, 248, 241, 0.52);
  font-size: 9px;
}

.weather-loading::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chili);
  animation: weatherPulse 1.5s infinite;
}

@keyframes weatherPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.weather-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8bce9f;
  box-shadow: 0 0 0 3px rgba(139, 206, 159, 0.12);
}

.weather-live-dot.is-error {
  background: var(--chili);
}

.weather-city {
  color: rgba(251, 248, 241, 0.55);
  letter-spacing: 0.1em;
}

.weather-temp {
  color: var(--white);
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.weather-desc {
  color: rgba(251, 248, 241, 0.82);
}

.weather-extra {
  color: rgba(251, 248, 241, 0.42);
  font-size: 8px;
}

.weather-source {
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid rgba(251, 248, 241, 0.18);
  color: rgba(251, 248, 241, 0.55);
  font-size: 8px;
  border-bottom: 1px solid transparent;
}

.weather-source:hover {
  color: var(--white);
  border-color: rgba(251, 248, 241, 0.5);
}

@media (max-width: 980px) {
  .portal-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }

  .portal-btn {
    justify-content: flex-start;
  }

  .portal-label strong {
    font-size: 11px;
  }
}

@media (max-width: 680px) {
  .hero.hero-portal {
    min-height: 680px;
    height: 100svh;
    max-height: 920px;
  }

  .hero-portal .hero-inner {
    padding-bottom: 20px;
  }

  .portal-center {
    padding-top: 52px;
    padding-bottom: 8px;
  }

  .portal-seal {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    font-size: 21px;
  }

  .portal-eyebrow {
    font-size: 7px;
    letter-spacing: 0.18em;
  }

  .hero-portal h1 {
    margin-top: 13px;
    font-size: clamp(3.5rem, 14vw, 5.3rem);
  }

  .portal-slogan {
    margin-top: 15px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .portal-subline {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .portal-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 25px;
  }

  .portal-btn {
    min-height: 55px;
    padding: 7px 11px;
    gap: 8px;
  }

  .portal-icon {
    width: 31px;
    height: 31px;
  }

  .portal-icon svg {
    width: 15px;
    height: 15px;
  }

  .portal-label strong {
    font-size: 10px;
    letter-spacing: 0;
    white-space: normal;
  }

  .portal-label small {
    font-size: 5px;
  }

  .portal-arrow {
    display: none;
  }

  .portal-weather {
    max-width: 100%;
    margin-top: 15px;
    gap: 6px;
    padding: 5px 10px;
    font-size: 8px;
  }

  .weather-extra {
    font-size: 7px;
  }

  .weather-source {
    display: none;
  }

  .hero-portal .hero-foot {
    padding-top: 15px;
  }

  .hero-portal .hero-slide-nav {
    justify-content: center;
  }

  .hero-portal .slide-btn {
    width: 48px;
  }
}

/* ===== live weather panel (tools) ===== */
.live-data-grid.two {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 16px;
}

.weather-panel {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 84% 18%, rgba(195, 66, 44, 0.2), transparent 35%),
    linear-gradient(130deg, #0f2c22, #173d31 58%, #204b39);
  color: var(--white);
  overflow: hidden;
}

.weather-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(251, 248, 241, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.weather-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.weather-panel-head .kicker {
  color: rgba(251, 248, 241, 0.45);
}

.weather-panel-head h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-latin);
  font-size: clamp(4rem, 7vw, 6.2rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.weather-panel-head h3 sup {
  position: relative;
  top: -0.8em;
  color: rgba(251, 248, 241, 0.5);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.weather-panel-head h3 span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.weather-panel-head p {
  margin-top: 10px;
  color: rgba(251, 248, 241, 0.55);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.weather-panel-head h3.weather-error-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
}

.weather-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(139, 206, 159, 0.35);
  color: #b8e5c4;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.weather-live-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8bce9f;
  box-shadow: 0 0 0 4px rgba(139, 206, 159, 0.1);
}

.weather-live-badge.is-error {
  border-color: rgba(195, 66, 44, 0.45);
  color: #f1b5a9;
}

.weather-live-badge.is-error i {
  background: var(--chili);
  box-shadow: none;
}

.weather-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid rgba(251, 248, 241, 0.16);
  border-bottom: 1px solid rgba(251, 248, 241, 0.16);
}

.weather-metrics > div {
  padding: 16px 18px 16px 0;
  border-right: 1px solid rgba(251, 248, 241, 0.12);
}

.weather-metrics > div:not(:first-child) {
  padding-left: 18px;
}

.weather-metrics > div:last-child {
  border-right: 0;
}

.weather-metrics span {
  display: block;
  color: rgba(251, 248, 241, 0.42);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.weather-metrics strong {
  display: block;
  margin-top: 6px;
  color: rgba(251, 248, 241, 0.9);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.weather-panel-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: rgba(251, 248, 241, 0.4);
  font-size: 8px;
  line-height: 1.7;
}

.weather-panel-foot > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.weather-panel-foot a {
  color: rgba(251, 248, 241, 0.65);
  border-bottom: 1px solid rgba(251, 248, 241, 0.24);
}

.weather-panel-foot a:hover {
  color: var(--white);
}

.weather-panel-foot button {
  color: rgba(251, 248, 241, 0.65);
  font-size: 8px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(251, 248, 241, 0.24);
}

.weather-panel-foot button:hover {
  color: var(--white);
}

.weather-panel .weather-loading {
  color: rgba(251, 248, 241, 0.55);
  font-size: 11px;
}

@media (max-width: 980px) {
  .weather-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .weather-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .weather-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(251, 248, 241, 0.12);
  }

  .live-data-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .weather-panel {
    padding: 22px;
  }

  .weather-panel-head h3 {
    font-size: 64px;
  }

  .weather-panel-head h3 span {
    font-size: 20px;
  }

  .weather-metrics > div {
    padding: 12px 10px 12px 0;
  }

  .weather-metrics > div:not(:first-child) {
    padding-left: 10px;
  }

  .weather-metrics strong {
    font-size: 16px;
  }

  .weather-panel-foot {
    display: block;
  }

  .weather-panel-foot > div {
    margin-top: 10px;
    justify-content: space-between;
  }
}



/* ===== search, trip chooser, route layer, route weather ===== */
.header-search {
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.site-header:not(.is-solid) .header-search {
  border-color: rgba(251, 248, 241, 0.32);
}

.header-search:hover {
  background: var(--chili);
  border-color: var(--chili);
  color: var(--white);
}

.trip-strip {
  padding-block: clamp(42px, 6vw, 74px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trip-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 26px;
}

.trip-strip-head h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.trip-strip-head p {
  max-width: 330px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.9;
}

.trip-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trip-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 130px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  transition: transform 0.3s var(--ease), border-color 0.25s, background 0.25s;
}

.trip-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--white);
}

.trip-card img {
  width: 112px;
  height: 110px;
  object-fit: cover;
}

.trip-time {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 3px 7px;
  background: rgba(9, 27, 19, 0.78);
  color: var(--white);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.trip-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.trip-copy small {
  color: var(--chili-deep);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.trip-copy strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.trip-copy em {
  color: var(--ink-3);
  font-style: normal;
  font-size: 9px;
  line-height: 1.6;
}

.trip-arrow {
  align-self: flex-start;
  color: var(--chili);
  font-size: 17px;
}

.search-drawer {
  width: min(100%, 560px);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  margin-top: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.search-field:focus-within {
  border-color: var(--chili);
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.search-field input::placeholder {
  color: var(--ink-3);
}

.search-results {
  padding-top: 16px;
}

.search-hint p {
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 20px;
}

.search-suggestions button {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}

.search-suggestions button:hover {
  background: var(--ink);
  color: var(--white);
}

.search-small {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 9px;
}

.search-group {
  margin-bottom: 22px;
}

.search-group-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.search-result {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background 0.2s;
}

.search-result:hover {
  background: rgba(23, 38, 31, 0.03);
}

.search-result-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--marker-color, var(--chili));
}

.search-result-copy {
  min-width: 0;
}

.search-result-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.search-result-copy em {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-style: normal;
  font-size: 9px;
}

.search-result-arrow {
  color: var(--chili);
  font-size: 15px;
}

.search-empty {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.search-empty strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.search-empty p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.legend-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 8px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}

.legend-toggle em {
  color: var(--chili-deep);
  font-style: normal;
  font-weight: 700;
}

.legend-toggle.is-on {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.legend-toggle.is-on em {
  color: var(--paper);
}

.route-weather-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 36px;
  padding: 22px 26px;
  background: var(--forest-deep);
  color: var(--white);
}

.route-weather-copy .kicker {
  color: rgba(251, 248, 241, 0.42);
}

.route-weather-copy h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
}

.route-weather-copy p {
  max-width: 560px;
  margin-top: 6px;
  color: rgba(251, 248, 241, 0.54);
  font-size: 10px;
  line-height: 1.8;
}

.route-weather-strip .portal-weather {
  flex: 0 0 auto;
  margin-top: 0;
  border-color: rgba(251, 248, 241, 0.22);
  background: rgba(251, 248, 241, 0.06);
}

@media (max-width: 980px) {
  .trip-cards {
    grid-template-columns: 1fr;
  }

  .trip-card {
    grid-template-columns: 96px minmax(0, 1fr) auto;
  }

  .trip-card img {
    width: 96px;
    height: 92px;
  }

  .trip-strip-head {
    display: block;
  }

  .trip-strip-head p {
    margin-top: 12px;
  }

  .route-weather-strip {
    display: block;
  }

  .route-weather-strip .portal-weather {
    width: fit-content;
    margin-top: 16px;
  }
}

@media (max-width: 680px) {
  .header-search {
    width: 36px;
    height: 36px;
  }

  .trip-strip {
    padding-block: 34px;
  }

  .trip-card {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    min-height: 104px;
    gap: 10px;
    padding: 8px;
  }

  .trip-card img {
    width: 82px;
    height: 88px;
  }

  .trip-copy strong {
    font-size: 15px;
  }

  .trip-copy em {
    display: none;
  }

  .search-drawer {
    padding: 20px;
  }

  .route-weather-strip {
    margin-top: 24px;
    padding: 20px;
  }
}

/* ===== certification dimensions, travel, nearby, custom route ===== */
.toolbar-select {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.toolbar-select select {
  max-width: 86px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 9px;
  outline: none;
  cursor: pointer;
}

.point-dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--line);
}

.point-dimensions > div {
  min-width: 0;
  padding: 10px;
  background: var(--paper);
}

.point-dimensions span {
  display: block;
  color: var(--ink-3);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.point-dimensions strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.point-dimensions em {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-style: normal;
  font-size: 8px;
  line-height: 1.55;
}

.point-dimensions .open-open { color: #2f6a50; }
.point-dimensions .open-reservation { color: #93652f; }
.point-dimensions .open-closed { color: var(--chili-deep); }
.point-dimensions .open-unknown { color: #6b6a60; }

.travel-estimates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.travel-estimates > div {
  min-width: 0;
}

.travel-estimates span {
  display: block;
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.travel-estimates strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.travel-estimates em {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-style: normal;
  font-size: 9px;
}

.travel-estimates small {
  grid-column: 1 / -1;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.6;
}

.nearby-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.nearby-item {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 9px 10px;
  background: var(--paper-soft);
  text-align: left;
  transition: background 0.2s;
}

.nearby-item:hover {
  background: var(--white);
}

.nearby-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--marker-color, var(--forest));
}

.nearby-copy {
  min-width: 0;
}

.nearby-copy strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nearby-copy em {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--ink-3);
  font-style: normal;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nearby-distance {
  color: var(--ink-3);
  font-family: var(--font-latin);
  font-size: 13px;
}

.custom-route-bar {
  position: fixed;
  z-index: 1800;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 8px 10px 8px 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(12, 31, 23, 0.28);
  transform: translateX(-50%);
}

.custom-route-bar[hidden] {
  display: none;
}

.custom-route-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: 4px;
}

.custom-route-copy span {
  color: rgba(251, 248, 241, 0.45);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.custom-route-copy strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.custom-route-bar .btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 10px;
}

.custom-route-clear {
  color: rgba(251, 248, 241, 0.48);
  font-size: 8px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(251, 248, 241, 0.2);
  white-space: nowrap;
}

.custom-route-clear:hover {
  color: var(--white);
}

.custom-route-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.custom-route-summary > div {
  padding: 12px 10px 12px 0;
  border-right: 1px solid var(--line);
}

.custom-route-summary > div:not(:first-child) {
  padding-left: 12px;
}

.custom-route-summary > div:last-child {
  border-right: 0;
}

.custom-route-summary span {
  display: block;
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.custom-route-summary strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.custom-route-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.custom-route-stop {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.custom-route-index {
  color: var(--chili);
  font-family: var(--font-latin);
  font-size: 16px;
}

.custom-route-stop-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.custom-route-stop-copy em {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-style: normal;
  font-size: 8px;
}

.custom-route-leg {
  color: var(--ink-3);
  font-size: 8px;
  white-space: nowrap;
}

.custom-route-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.custom-route-actions .btn {
  flex: 1;
}

@media (max-width: 680px) {
  .toolbar-select span {
    display: none;
  }

  .toolbar-select select {
    max-width: 72px;
    font-size: 8px;
  }

  .point-dimensions {
    grid-template-columns: 1fr;
  }

  .point-dimensions > div {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 4px 10px;
    align-items: baseline;
    padding: 9px 10px;
  }

  .point-dimensions strong,
  .point-dimensions em {
    margin-top: 0;
  }

  .point-dimensions em {
    grid-column: 2;
  }

  .travel-estimates {
    gap: 8px;
  }

  .travel-estimates strong {
    font-size: 16px;
  }

  .point-panel-actions {
    flex-wrap: wrap;
  }

  .point-panel-actions .btn {
    flex: 1 1 40%;
  }

  .point-panel-actions .btn:last-child {
    flex-basis: 100%;
  }

  .custom-route-bar {
    bottom: 12px;
    width: calc(100vw - 24px);
    padding-left: 12px;
    gap: 8px;
  }

  .custom-route-copy strong {
    font-size: 13px;
  }
}

.dimension-explain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.dimension-explain h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.dimension-explain > div > p {
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.7;
}

.dimension-explain ul {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.dimension-explain li {
  display: grid;
  gap: 2px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.dimension-explain li strong {
  font-size: 10px;
  font-weight: 600;
}

.dimension-explain li span {
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .dimension-explain {
    grid-template-columns: 1fr;
  }
}

.route-weather-widgets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.route-weather-widgets .portal-weather {
  margin-top: 0;
}

.route-weather-widget.is-mountain {
  border-color: rgba(179, 138, 85, 0.5);
  background: rgba(179, 138, 85, 0.12);
}

.weather-mountain {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 248, 241, 0.16);
}

.weather-mountain-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.weather-mountain-head span {
  color: rgba(251, 248, 241, 0.42);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.weather-mountain-head strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-latin);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.weather-mountain-head strong sup {
  font-family: var(--font-sans);
  font-size: 10px;
}

.weather-mountain-head p {
  margin-top: 6px;
  color: rgba(251, 248, 241, 0.62);
  font-size: 10px;
}

.weather-mountain-tag {
  padding: 3px 7px;
  border: 1px solid rgba(179, 138, 85, 0.5);
  color: #d8bd94 !important;
  white-space: nowrap;
}

.weather-mountain-note {
  margin-top: 10px;
  color: rgba(251, 248, 241, 0.42);
  font-size: 8px;
  line-height: 1.7;
}

.weather-mountain-note a {
  color: rgba(251, 248, 241, 0.65);
  border-bottom: 1px solid rgba(251, 248, 241, 0.2);
}

@media (max-width: 980px) {
  .route-weather-widgets {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 16px;
  }
}

@media (max-width: 680px) {
  .route-weather-widgets {
    flex-direction: column;
  }

  .weather-mountain-head strong {
    font-size: 26px;
  }
}

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

.taste-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.taste-foot > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.taste-foot strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.taste-foot span {
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .dish-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .dish-grid {
    grid-template-columns: 1fr;
  }

  .taste-foot {
    display: block;
  }

  .taste-foot .btn {
    width: 100%;
    margin-top: 14px;
  }
}

/* ===== Anyuan special topic ===== */
.topic-page {
  background: var(--paper);
}

.topic-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(82svh, 860px);
  padding-top: var(--header-h);
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
}

.topic-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);
}

.topic-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 22, 15, 0.92) 0%, rgba(7, 22, 15, 0.3) 60%, rgba(7, 22, 15, 0.5) 100%),
    linear-gradient(90deg, rgba(7, 22, 15, 0.5), transparent 68%);
}

.topic-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 40px var(--pad) clamp(44px, 7vw, 80px);
}

.topic-hero .kicker {
  margin-top: 24px;
  color: rgba(251, 248, 241, 0.5);
}

.topic-hero h1 {
  max-width: 1000px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 6.3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.topic-dek {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(251, 248, 241, 0.7);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.8;
}

.topic-lead {
  max-width: 700px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: rgba(251, 248, 241, 0.58);
  font-size: 11px;
  line-height: 1.9;
}

.topic-body {
  padding: clamp(44px, 7vw, 88px) 0 clamp(60px, 8vw, 110px);
}

.topic-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.topic-toolbar p {
  max-width: 680px;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.8;
}

.topic-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-year {
  padding: 16px 16px 18px 0;
  border-right: 1px solid var(--line);
}

.topic-year:last-child {
  border-right: 0;
}

.topic-year strong {
  display: block;
  color: var(--chili-deep);
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.topic-year p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.7;
}

.topic-chapters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 52px;
}

.topic-chapter {
  padding: 30px 0 32px;
  border-top: 1px solid var(--line);
}

.topic-chapter-no {
  color: var(--chili);
  font-family: var(--font-latin);
  font-size: 16px;
}

.topic-chapter h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.topic-chapter p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.95;
}

.topic-bottom {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(40px, 7vw, 90px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.topic-related h2,
.topic-sources h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
}

.topic-related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.topic-related h2 {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.topic-sources ul {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.topic-sources li {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.7;
}

.topic-sources a:hover {
  color: var(--chili-deep);
}

.topic-sources > p {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .topic-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .topic-year:nth-child(3n) {
    border-right: 0;
  }

  .topic-year:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .topic-chapters {
    grid-template-columns: 1fr;
  }

  .topic-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topic-hero {
    min-height: 680px;
  }

  .topic-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.3rem);
  }

  .topic-toolbar {
    display: block;
  }

  .topic-toolbar .btn {
    width: 100%;
    margin-top: 16px;
  }

  .topic-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .topic-year:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .topic-year:nth-child(2n) {
    border-right: 0;
  }

  .topic-year:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .topic-related {
    grid-template-columns: 1fr;
  }

  .topic-related h2 {
    grid-column: 1;
  }
}

.topic-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  padding: 24px 26px;
  background: var(--forest);
  color: var(--white);
  transition: background 0.25s;
}

.topic-strip:hover {
  background: var(--forest-deep);
}

.topic-strip .kicker {
  color: rgba(251, 248, 241, 0.42);
}

.topic-strip h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.35;
}

.topic-strip p {
  max-width: 620px;
  margin-top: 6px;
  color: rgba(251, 248, 241, 0.55);
  font-size: 10px;
  line-height: 1.8;
}

.topic-strip-arrow {
  flex: 0 0 auto;
  color: rgba(251, 248, 241, 0.7);
  font-size: 10px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(251, 248, 241, 0.28);
}

@media (max-width: 680px) {
  .topic-strip {
    display: block;
    padding: 20px;
  }

  .topic-strip-arrow {
    display: inline-block;
    margin-top: 14px;
  }
}

.portal-plan-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(251, 248, 241, 0.28);
  color: rgba(251, 248, 241, 0.58);
  font-size: 9px;
  letter-spacing: 0.06em;
  transition: color 0.2s, border-color 0.2s;
}

.portal-plan-hint strong {
  color: var(--white);
  font-weight: 500;
}

.portal-plan-hint span {
  font-size: 12px;
}

.portal-plan-hint:hover {
  color: var(--white);
  border-color: var(--chili);
}

@media (max-width: 680px) {
  .portal-plan-hint {
    margin-top: 12px;
    font-size: 8px;
    gap: 5px;
  }
}

/* ===== visit card, route real legs ===== */
.visit-card {
  margin-top: 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
}

.visit-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--chili-deep);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.visit-head em {
  color: var(--ink-3);
  font-style: normal;
  letter-spacing: 0;
}

.visit-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.visit-card dl > div {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.visit-card dl > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.visit-card dl > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.visit-card dt {
  color: var(--ink-3);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.visit-card dd {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.7;
}

.visit-source {
  display: block;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.5;
}

a.visit-source:hover {
  color: var(--chili-deep);
}

.route-access-note {
  margin-top: 18px;
  padding: 10px 14px;
  border-left: 2px solid var(--chili);
  background: var(--paper-soft);
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.7;
}

.route-access-note strong {
  margin-right: 8px;
  color: var(--chili-deep);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.route-plan-text {
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.8;
}

@media (max-width: 680px) {
  .visit-card dl {
    grid-template-columns: 1fr;
  }

  .visit-card dl > div:nth-child(odd) {
    border-right: 0;
  }

  .visit-card dl > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .visit-card dl > div:last-child {
    border-bottom: 0;
  }
}

.filter-chip.visit-filter {
  border-style: dashed;
}

.filter-chip.visit-filter.is-active {
  border-style: solid;
  background: var(--forest);
  color: var(--white);
}

.visit-photo {
  padding: 0 12px 9px;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.5;
}

.traveler-notes {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.traveler-note {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.traveler-note-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--chili-deep);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.traveler-note-head span:last-child {
  color: var(--ink-3);
}

.traveler-note h4 {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.traveler-note p {
  margin-top: 7px;
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.8;
}

.traveler-note-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 8px;
}

.traveler-note-foot a {
  border-bottom: 1px solid var(--line-strong);
}

.portal-advice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 14px;
  border: 1px solid rgba(251, 248, 241, 0.28);
  color: rgba(251, 248, 241, 0.88);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.portal-advice .weather-live-dot {
  flex: 0 0 auto;
}

.portal-advice .advice-text {
  line-height: 1.6;
}

.mountain-advice {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(179, 138, 85, 0.5);
  background: rgba(179, 138, 85, 0.1);
  color: rgba(251, 248, 241, 0.9);
  font-size: 10px;
  line-height: 1.6;
}

.visit-nav {
  display: block;
  margin-top: 8px;
  padding: 8px 12px;
  border-top: 1px dashed var(--line-strong);
  color: var(--forest);
  font-size: 9px;
}

a.visit-nav:hover {
  color: var(--chili-deep);
}

@media (max-width: 680px) {
  .portal-advice {
    margin-top: 10px;
    font-size: 9px;
  }
}

.advice-text small {
  display: block;
  margin-top: 3px;
  color: rgba(251, 248, 241, 0.55);
  font-size: 8px;
  line-height: 1.5;
}

.route-weather-strip .advice-text small,
.portal-advice .advice-text small {
  color: rgba(251, 248, 241, 0.5);
}
