/* ============================================================
   春城昆明 · Kunming Travel Guide
   ============================================================ */

@font-face {
  font-family: "KM Serif";
  src: url("../fonts/serif-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "KM Serif";
  src: url("../fonts/serif-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "KM Cond";
  src: url("../fonts/cond-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "KM Cond";
  src: url("../fonts/cond-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f5efe3;
  --paper-2: #eee4d3;
  --paper-3: #e6d9c3;
  --ink: #211e19;
  --ink-soft: #46403a;
  --muted: #7d7466;
  --accent: #b5432a;
  --accent-2: #8d301c;
  --gold: #c0913f;
  --line: rgba(33, 30, 25, 0.14);
  --line-strong: rgba(33, 30, 25, 0.28);
  --paper-line: rgba(245, 239, 227, 0.18);

  --serif: "KM Serif", "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "KM Cond", "Barlow Condensed", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;

  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }

::selection { background: var(--accent); color: var(--paper); }

.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;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; font-size: 14px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ============ progress & header ============ */
.progress {
  position: fixed; inset: 0 0 auto 0;
  height: 2px; z-index: 120;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 110;
  display: flex; align-items: center; gap: 24px;
  height: 78px;
  padding-inline: clamp(18px, 4.4vw, 64px);
  color: var(--paper);
  transition: background 0.5s var(--ease), color 0.4s var(--ease),
              box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--paper-line);
  opacity: 1; transition: opacity 0.4s var(--ease);
}
.site-header.is-solid {
  height: 66px;
  color: var(--ink);
  background: rgba(245, 239, 227, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(33, 30, 25, 0.08);
}
.site-header.is-solid::after { opacity: 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 21px; line-height: 1;
  background: rgba(181, 67, 42, 0.04);
  flex: none;
}
.site-header:not(.is-solid) .brand-seal { color: var(--paper); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--serif); font-weight: 700;
  font-size: 17px; letter-spacing: 0.24em;
}
.brand-text em {
  font-family: var(--sans); font-style: normal;
  font-size: 10px; letter-spacing: 0.34em; opacity: 0.7;
}

.site-nav { margin-left: auto; display: flex; gap: clamp(10px, 2.2vw, 30px); }
.site-nav a {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--serif); font-size: 15px;
  letter-spacing: 0.16em;
  padding-block: 6px;
}
.site-nav a i {
  font-family: var(--sans); font-style: normal;
  font-size: 10px; letter-spacing: 0.1em; opacity: 0.55;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--accent); }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px 4px;
  background: none; border: 0; cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.25em;
  text-indent: 0.25em;
  color: inherit;
  transition: color 0.3s;
}
.nav-toggle[aria-expanded="true"] { color: var(--accent); }

/* ============ hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 16, 13, 0.55) 0%, rgba(18, 16, 13, 0.05) 32%, rgba(18, 16, 13, 0.18) 56%, rgba(18, 16, 13, 0.86) 100%),
    radial-gradient(120% 90% at 15% 20%, rgba(181, 67, 42, 0.28), transparent 60%);
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--pad) clamp(64px, 10vh, 110px);
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.4em;
  color: rgba(245, 239, 227, 0.75);
  margin-bottom: 18px;
}
.hero-title { position: relative; margin-bottom: 10px; }
.hero-cn {
  display: flex; flex-direction: column;
  font-size: clamp(84px, 13.6vw, 178px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.06em;
}
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
}
.is-loaded .reveal-line > span { transform: translateY(0); }
.is-loaded .reveal-line:nth-child(2) > span { transition-delay: 0.12s; }

.hero-en {
  position: absolute;
  left: 0.08em; bottom: -0.24em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(58px, 13vw, 168px);
  letter-spacing: 0.12em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 239, 227, 0.42);
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.2s var(--ease) 0.35s, transform 1.2s var(--ease) 0.35s;
}
.is-loaded .hero-en { opacity: 1; transform: none; }

.hero-sub {
  margin-top: 26px;
  font-size: clamp(19px, 2.1vw, 27px);
  letter-spacing: 0.3em;
  font-weight: 400;
}
.hero-desc {
  margin-top: 16px;
  max-width: 640px;
  font-size: 15px; line-height: 2;
  color: rgba(245, 239, 227, 0.72);
}
.hero-stats {
  margin-top: clamp(28px, 4vh, 44px);
  display: flex; flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--paper-line);
  padding-top: 22px;
  max-width: 760px;
}
.hero-stats > div {
  padding-right: clamp(20px, 4vw, 56px);
  margin-right: clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--paper-line);
}
.hero-stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats b {
  display: block;
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(26px, 3vw, 38px); line-height: 1;
  letter-spacing: 0.02em;
}
.hero-stats span {
  display: block; margin-top: 8px;
  font-size: 12px; letter-spacing: 0.14em;
  color: rgba(245, 239, 227, 0.6);
}

.hero-side {
  position: absolute; right: clamp(8px, 1.6vw, 22px); top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.5em;
  color: rgba(245, 239, 227, 0.5);
}
.hero-side::before {
  content: ""; display: block; width: 1px; height: 64px;
  background: rgba(245, 239, 227, 0.35);
  margin: 0 auto 18px;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.4em;
  color: rgba(245, 239, 227, 0.55);
}
.scroll-cue i {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, rgba(245, 239, 227, 0.7), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ============ generic section ============ */
.section {
  position: relative;
  padding-block: clamp(80px, 12vw, 150px);
}
.section-head {
  position: relative;
  margin-bottom: clamp(44px, 6vw, 78px);
}
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.sec-no {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.34em;
  color: var(--accent);
  margin-bottom: 20px;
}
.sec-no span { opacity: 0.5; margin-left: 6px; }
.sec-title {
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.04em;
}
.sec-en {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.36em;
  color: var(--muted);
}
.sec-en::before {
  content: ""; display: inline-block;
  width: 34px; height: 1px; background: currentColor;
  vertical-align: middle; margin-right: 14px; opacity: 0.5;
}
.head-aside { padding-bottom: 6px; }
.head-aside .sec-note {
  margin-top: 18px;
  font-size: 15px; line-height: 1.95;
  color: var(--ink-soft);
  max-width: 40ch;
}

.lede {
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.85;
  color: var(--ink);
  font-weight: 400;
}
.lede em, .city-copy em, .taste-lead em {
  font-style: normal;
  color: var(--accent);
  border-bottom: 1px solid rgba(181, 67, 42, 0.4);
  padding-bottom: 1px;
}

/* ============ reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ 01 city ============ */
.section-city { background: var(--paper); }
.city-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}
.city-copy p + p { margin-top: 22px; }
.city-copy > p { max-width: 48ch; color: var(--ink-soft); }
.city-copy .lede { color: var(--ink); }
.city-facts {
  margin-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--line-strong);
  padding-top: 8px;
}
.city-facts > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.city-facts dt {
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.24em; color: var(--muted);
}
.city-facts dd { font-size: 16px; }

.city-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, minmax(0, 1fr));
  gap: 12px;
  aspect-ratio: 1 / 1.06;
}
.frame { position: relative; overflow: hidden; }
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.frame:hover img { transform: scale(1.05); }
.frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 14px 10px;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(20, 18, 14, 0.72));
}
.frame-a { grid-column: 1 / 10; grid-row: 1 / 8; }
.frame-b { grid-column: 6 / 13; grid-row: 6 / 11; z-index: 2; }
.frame-c { grid-column: 1 / 8; grid-row: 9 / 13; z-index: 3; }
.frame-b::after, .frame-c::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(245, 239, 227, 0.35);
  pointer-events: none;
}
.city-stamp {
  position: absolute;
  right: 4%; top: 2%;
  width: clamp(58px, 7vw, 84px); aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--accent);
  color: #f7ece0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.1; text-align: center;
  letter-spacing: 0.14em;
  z-index: 4;
  transform: rotate(-5deg);
  box-shadow: 0 10px 26px rgba(140, 47, 28, 0.28);
}

/* ============ 02 spots ============ */
.section-spots { background: var(--paper-2); }
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--serif); font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
.chip b {
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; opacity: 0.55;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.chip.is-active b { opacity: 0.65; }

.spot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.spot-card {
  position: relative;
  display: flex; flex-direction: column;
  text-align: left;
  background: var(--paper);
  border: 1px solid rgba(33, 30, 25, 0.08);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease),
              opacity 0.4s var(--ease);
}
.spot-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px -28px rgba(33, 30, 25, 0.55); }
.spot-card.is-hidden { display: none; }
.spot-card.is-filtered { opacity: 0; transform: scale(0.97); }
.spot-thumb {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: var(--paper-3);
}
.spot-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.spot-card:hover .spot-thumb img { transform: scale(1.06); }
.spot-no {
  position: absolute; top: 0; left: 0;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.2em;
  z-index: 2;
}
.spot-tag {
  position: absolute; right: 10px; bottom: 10px;
  padding: 4px 10px;
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--paper);
  background: rgba(24, 21, 17, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 239, 227, 0.25);
}
.spot-info { padding: 16px 16px 18px; }
.spot-info h3 {
  font-size: 19px; font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.spot-info .spot-en {
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 10.5px; letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}
.spot-info p {
  margin-top: 10px;
  font-size: 13.5px; line-height: 1.8;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spot-more {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--accent);
}
.spot-more::after {
  content: ""; width: 18px; height: 1px; background: currentColor;
  transition: width 0.4s var(--ease);
}
.spot-card:hover .spot-more::after { width: 30px; }
.grid-foot {
  margin-top: 26px;
  font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--muted);
}

/* ============ 03 routes ============ */
.section-routes {
  background: var(--ink);
  color: var(--paper);
  --line: rgba(245, 239, 227, 0.14);
  --line-strong: rgba(245, 239, 227, 0.26);
  --ink-soft: rgba(245, 239, 227, 0.72);
  --muted: rgba(245, 239, 227, 0.5);
}
.section-routes .sec-no { color: var(--gold); }
.section-routes .sec-title { color: var(--paper); }
.section-routes .sec-en { color: rgba(245, 239, 227, 0.5); }

.routes {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.route-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.route-tab {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 22px 18px 22px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  transition: background 0.45s var(--ease), padding 0.45s var(--ease);
}
.route-tab::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.route-tab .rt-day {
  grid-row: span 2;
  font-family: var(--sans); font-size: 30px; line-height: 1;
  color: rgba(245, 239, 227, 0.3);
  transition: color 0.4s var(--ease);
}
.route-tab .rt-name {
  font-size: 17px; letter-spacing: 0.08em;
}
.route-tab .rt-meta {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.14em;
  color: rgba(245, 239, 227, 0.42);
}
.route-tab:hover { padding-left: 12px; }
.route-tab.is-active { background: rgba(245, 239, 227, 0.045); padding-left: 18px; }
.route-tab.is-active::before { transform: scaleY(1); }
.route-tab.is-active .rt-day { color: var(--gold); }

.route-panels { position: relative; min-height: 420px; }
.route-panel {
  display: none;
  animation: panel 0.7s var(--ease);
}
.route-panel.is-active { display: block; }
@keyframes panel {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.route-intro h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700; letter-spacing: 0.06em;
}
.route-intro p {
  margin-top: 12px; max-width: 52ch;
  font-size: 15px; line-height: 1.95;
  color: rgba(245, 239, 227, 0.7);
}
.route-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.route-tags li {
  padding: 4px 12px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.18em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: rgba(245, 239, 227, 0.7);
}
.timeline { margin-top: 34px; }
.timeline li {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  padding: 16px 0 16px 22px;
  border-top: 1px solid var(--line);
  position: relative;
}
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 6px; height: 6px;
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.timeline time {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.14em;
  color: var(--gold);
  padding-top: 4px;
}
.timeline h4 { font-size: 16.5px; letter-spacing: 0.05em; }
.timeline p {
  margin-top: 4px;
  font-size: 13.5px; line-height: 1.8;
  color: rgba(245, 239, 227, 0.6);
}
.tl-tag {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(245, 239, 227, 0.42);
  white-space: nowrap; padding-top: 4px;
}

/* ============ 04 seasons ============ */
.section-seasons { background: var(--paper); }
.seasons {
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(24px, 3vw, 34px);
}
.season-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
}
.month-btn {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 4px 12px;
  border: 1px solid transparent;
  color: var(--muted);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.month-btn b {
  font-family: var(--sans); font-weight: 500;
  font-size: 18px; line-height: 1; letter-spacing: 0.04em;
}
.month-btn span {
  font-size: 13px; letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  height: 52px;
  opacity: 0.55;
  transition: opacity 0.4s;
}
.month-btn:hover { color: var(--accent); }
.month-btn:hover span { opacity: 0.9; }
.month-btn.is-active {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}
.month-btn.is-active span { opacity: 0.9; }

.season-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(26px, 3.4vw, 40px);
  align-items: stretch;
}
.season-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 320px;
  background: var(--paper-3);
}
.season-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: fadein 0.9s var(--ease);
}
@keyframes fadein { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.season-media figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 40px 18px 14px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.2em; color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(20, 18, 14, 0.7));
}
.season-copy { display: flex; flex-direction: column; justify-content: center; padding-block: 6px; }
.season-copy .s-kicker {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.3em; color: var(--accent);
}
.season-copy h3 {
  margin-top: 12px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; line-height: 1.35;
  letter-spacing: 0.05em;
}
.season-copy p {
  margin-top: 16px;
  font-size: 15.5px; line-height: 2;
  color: var(--ink-soft);
  max-width: 46ch;
}
.season-meta {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.season-meta div { display: flex; align-items: baseline; gap: 10px; }
.season-meta dt {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.2em; color: var(--muted);
}
.season-meta dd { font-size: 14.5px; }

/* ============ 05 taste ============ */
.section-taste {
  background: var(--ink);
  color: var(--paper);
  --line: rgba(245, 239, 227, 0.14);
  --line-strong: rgba(245, 239, 227, 0.26);
  --ink-soft: rgba(245, 239, 227, 0.7);
  --muted: rgba(245, 239, 227, 0.48);
}
.section-taste .sec-no { color: var(--gold); }
.section-taste .sec-title { color: var(--paper); }
.section-taste .sec-en { color: rgba(245, 239, 227, 0.5); }
.taste-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.taste-lead .lede { color: var(--paper); }
.taste-lead .lede em,
.taste-lead > p em { color: var(--gold); border-color: rgba(192, 145, 63, 0.5); }
.taste-lead > p + p { margin-top: 20px; }
.taste-lead > p:not(.lede) {
  max-width: 44ch; font-size: 15px; line-height: 2;
  color: rgba(245, 239, 227, 0.66);
}
.taste-quote {
  margin-top: 34px; padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
}
.taste-quote p {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.7; letter-spacing: 0.04em;
}
.taste-quote cite {
  display: block; margin-top: 12px;
  font-family: var(--sans); font-style: normal;
  font-size: 11px; letter-spacing: 0.24em;
  color: rgba(245, 239, 227, 0.42);
}
.taste-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(18px, 3vw, 40px);
  border-top: 1px solid var(--line-strong);
}
.taste-list li {
  position: relative;
  padding: 22px 0 22px 40px;
  border-bottom: 1px solid var(--line);
}
.t-no {
  position: absolute; left: 0; top: 26px;
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.12em; color: var(--gold);
}
.taste-list h3 { font-size: 18px; letter-spacing: 0.08em; }
.taste-list p {
  margin-top: 6px;
  font-size: 13px; line-height: 1.8;
  color: rgba(245, 239, 227, 0.55);
}
.taste-list em {
  display: inline-block; margin-top: 10px;
  font-family: var(--sans); font-style: normal;
  font-size: 10.5px; letter-spacing: 0.22em;
  color: rgba(245, 239, 227, 0.4);
}

/* ============ 06 plan ============ */
.section-plan { background: var(--paper); }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.plan-card {
  background: var(--paper);
  padding: clamp(22px, 3vw, 38px);
}
.plan-card h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 19px; letter-spacing: 0.08em;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.plan-card h3 span {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em; color: var(--accent);
}
.plan-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px; line-height: 1.85;
  color: var(--ink-soft);
}
.plan-card li + li { margin-top: 12px; }
.plan-card li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 4px; height: 4px; background: var(--accent);
  border-radius: 50%;
}
.plan-card b { font-weight: 700; color: var(--ink); }

.plan-tips {
  margin-top: clamp(26px, 3.6vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line-strong);
  padding-top: 26px;
}
.tip b {
  display: block;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.24em; color: var(--accent);
  margin-bottom: 8px;
}
.tip span { font-size: 13px; line-height: 1.8; color: var(--ink-soft); }

/* ============ footer ============ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(50px, 7vw, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 48px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand .brand-seal {
  width: 46px; height: 46px; font-size: 24px;
  color: var(--gold); border-color: rgba(192, 145, 63, 0.55);
}
.footer-brand p {
  font-size: 20px; line-height: 1.5; letter-spacing: 0.1em;
}
.footer-brand em {
  font-family: var(--sans); font-style: normal;
  font-size: 10px; letter-spacing: 0.3em;
  color: rgba(245, 239, 227, 0.45);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.6fr;
  gap: clamp(18px, 3vw, 40px);
}
.footer-cols h4 {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.26em;
  color: rgba(245, 239, 227, 0.45);
  margin-bottom: 14px; font-weight: 500;
}
.footer-cols p {
  font-size: 12.5px; line-height: 1.9;
  color: rgba(245, 239, 227, 0.62);
}
.link-btn {
  margin-top: 12px; padding: 0;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em; color: var(--gold);
  border-bottom: 1px solid rgba(192, 145, 63, 0.4);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.link-btn:hover { color: var(--paper); border-color: var(--paper); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-nav a {
  font-size: 13px; color: rgba(245, 239, 227, 0.62);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-base {
  border-top: 1px solid rgba(245, 239, 227, 0.12);
  padding: 18px var(--pad);
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--sans);
  font-size: 10.5px; letter-spacing: 0.18em;
  color: rgba(245, 239, 227, 0.38);
}

/* ============ dialogs ============ */
dialog {
  padding: 0; border: 0; background: transparent;
  max-width: none; max-height: none;
  color: inherit;
}
dialog::backdrop {
  background: rgba(16, 14, 11, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
dialog[open] { animation: dlg 0.45s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(14px) scale(0.99); } }

.spot-dialog, .credits-dialog {
  width: min(1120px, calc(100vw - 32px));
  margin: auto;
}
.dlg-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-template-rows: minmax(0, 1fr);
  background: var(--paper);
  max-height: min(88vh, 900px);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.7);
}
/* 关闭：细线圆钮 + 描边十字。米色半透明底保证了在照片与纸面两种背景上都清晰，
   十字用两条伪元素线绘制，避免字符 × 居中偏移。 */
.dlg-close {
  position: absolute; top: 18px; right: 18px; z-index: 6;
  width: 40px; height: 40px;
  padding: 0;
  color: var(--ink);
  background: rgba(245, 239, 227, 0.88);
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  backdrop-filter: blur(8px) saturate(1.25);
  border: 1px solid rgba(33, 30, 25, 0.2);
  border-radius: 50%;
  box-shadow: 0 2px 12px -5px rgba(33, 30, 25, 0.4);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              transform 0.35s var(--ease);
}
.dlg-close::before,
.dlg-close::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 1px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.45s var(--ease);
}
.dlg-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dlg-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  box-shadow: 0 4px 12px -6px rgba(181, 67, 42, 0.55);
  transform: translateY(-1px);
}
.dlg-close:hover::before { transform: translate(-50%, -50%) rotate(135deg); }
.dlg-close:hover::after { transform: translate(-50%, -50%) rotate(45deg); }
.dlg-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.dlg-media {
  position: relative;
  min-height: 0;
  background: #1a1713;
  overflow: hidden;
}
.dlg-media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.35s var(--ease);
}
.dlg-media.is-swapping > img { opacity: 0; }
.dlg-index {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(245, 239, 227, 0.85);
  padding: 3px 9px;
  border: 1px solid rgba(245, 239, 227, 0.3);
  background: rgba(20, 18, 14, 0.35);
}
.dlg-thumbs {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; gap: 8px;
}
.dlg-thumbs button {
  width: 58px; aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 227, 0.35);
  opacity: 0.65;
  transition: opacity 0.3s, border-color 0.3s;
}
.dlg-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.dlg-thumbs button:hover { opacity: 1; }
.dlg-thumbs button.is-active { opacity: 1; border-color: var(--paper); }

.dlg-body {
  min-height: 0;
  padding: clamp(26px, 3.4vw, 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.dlg-cat {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.28em; color: var(--accent);
  margin-bottom: 10px;
}
.dlg-body h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: 0.06em; line-height: 1.3;
}
.dlg-en {
  margin-top: 4px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.26em; color: var(--muted);
  text-transform: uppercase;
}
.dlg-intro {
  margin-top: 18px; font-size: 15px; line-height: 1.95;
  color: var(--ink-soft);
}
.dlg-body h3 {
  margin-top: 26px; margin-bottom: 10px;
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: 0.28em;
  color: var(--accent);
}
.dlg-highlights li {
  position: relative; padding-left: 16px;
  font-size: 14px; line-height: 1.85;
}
.dlg-highlights li + li { margin-top: 8px; }
.dlg-highlights li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 5px; height: 1px; background: var(--accent);
}
.dlg-info {
  margin-top: 24px;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.dlg-info > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px;
  align-items: baseline;
}
.dlg-info dt {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em; color: var(--muted);
}
.dlg-info dd { font-size: 13.5px; text-align: right; }
.dlg-tips p {
  font-size: 13.5px; line-height: 1.9;
  color: var(--ink-soft);
  padding: 12px 14px;
  background: rgba(181, 67, 42, 0.06);
  border-left: 2px solid var(--accent);
}
.dlg-nav {
  margin-top: 26px; padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
}
.dlg-nav button {
  padding: 8px 12px;
  color: var(--ink-soft);
  transition: color 0.3s, background 0.3s;
}
.dlg-nav button:hover { color: var(--accent); }
.dlg-nav span { color: var(--muted); }

/* credits */
.credits-shell {
  position: relative;
  background: var(--paper);
  max-height: min(86vh, 880px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 52px);
}
.credits-shell h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.06em; }
.credits-note {
  margin-top: 12px; max-width: 68ch;
  font-size: 13.5px; line-height: 1.9; color: var(--ink-soft);
}
.credits-note a { color: var(--accent); border-bottom: 1px solid rgba(181, 67, 42, 0.4); }
.credits-list {
  margin-top: 26px;
  border-top: 1px solid var(--line-strong);
}
.credits-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.credits-list img {
  width: 72px; aspect-ratio: 4/3; object-fit: cover;
}
.credits-list .c-name {
  font-size: 14px; letter-spacing: 0.03em;
  display: block;
}
.credits-list .c-meta {
  display: block; margin-top: 2px;
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: 0.1em; color: var(--muted);
}
.credits-list .c-lic {
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  white-space: nowrap;
}
.credits-list a.c-name:hover { color: var(--accent); }

/* ============ responsive ============ */
@media (max-width: 1100px) {
  .spot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dlg-shell { grid-template-columns: 1fr; grid-template-rows: 38vh 1fr; max-height: 92vh; }
  .dlg-media { min-height: 0; }
  .dlg-body { padding: 22px 22px 30px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .js .site-nav {
    position: fixed; inset: 0 0 auto 0;
    flex-direction: column; gap: 0;
    padding: 96px var(--pad) 32px;
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-102%);
    transition: transform 0.55s var(--ease);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.4);
    margin: 0;
  }
  .js .site-nav.is-open { transform: none; }
  .js .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
  }
  .js .site-nav a i { font-size: 11px; }
  .site-header:not(.is-solid) .nav-toggle { color: var(--paper); }
  .js .site-header:not(.is-solid) .site-nav { color: var(--paper); background: var(--ink); }
  .js .site-header:not(.is-solid) .site-nav a { border-color: rgba(245,239,227,.14); }
  .js .nav-toggle { display: block; }
  .js .site-nav a:hover, .js .site-nav a:focus-visible { color: var(--gold); }

  .hero { min-height: 92svh; }
  .hero-content { padding-bottom: 88px; }
  .hero-side { display: none; }
  .hero-stats > div { padding-right: 20px; margin-right: 20px; }
  .hero-stats > div:nth-child(3) { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero-en { bottom: -0.18em; }

  .section-head.split { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .city-grid { grid-template-columns: 1fr; }
  .city-visual { aspect-ratio: 1 / 0.92; margin-top: 12px; }
  .spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routes { grid-template-columns: 1fr; }
  .route-tabs {
    flex-direction: row; overflow-x: auto;
    border-top: 0; border-bottom: 1px solid var(--line-strong);
    gap: 4px; padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .route-tab {
    flex: 0 0 auto; min-width: 190px;
    padding: 14px 16px;
    border: 1px solid var(--line);
  }
  .route-tab:hover { padding-left: 16px; }
  .route-tab.is-active { padding-left: 16px; }
  .season-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .season-detail { grid-template-columns: 1fr; }
  .season-media { min-height: 0; aspect-ratio: 16 / 10; }
  .taste-layout { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 76px 1fr; }
  .tl-tag { grid-column: 2; padding-top: 4px; }
  .dlg-close { top: 14px; right: 14px; width: 44px; height: 44px; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .brand-text strong { font-size: 15px; letter-spacing: 0.18em; }
  .hero-cn { font-size: clamp(72px, 22vw, 110px); }
  .hero-en { font-size: clamp(44px, 15vw, 80px); letter-spacing: 0.06em; }
  .hero-sub { letter-spacing: 0.18em; font-size: 17px; }
  .hero-desc { font-size: 13.5px; }
  .hero-desc .br-pc { display: none; }
  .hero-stats { gap: 14px 0; }
  .hero-stats > div { border-right: 0; margin-right: 0; padding-right: 0; width: 50%; }
  .scroll-cue { display: none; }
  .spot-grid { grid-template-columns: 1fr; }
  .spot-thumb { aspect-ratio: 4 / 3.4; }
  .filters { gap: 8px; }
  .chip { padding: 7px 13px; font-size: 13px; }
  .season-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .taste-list { grid-template-columns: 1fr; }
  .taste-list li { padding-left: 34px; }
  .plan-tips { grid-template-columns: 1fr; }
  .dlg-thumbs button { width: 46px; }
  .dlg-info { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-base { flex-direction: column; gap: 6px; }
  .credits-list li { grid-template-columns: 52px minmax(0,1fr); }
  .credits-list img { width: 52px; }
  .credits-list .c-lic { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
  .hero-en { opacity: 1; transform: none; }
}
