/* Experience China — shared design system (prototype/classic skin)
   Used by secondary pages; the homepage currently carries its own inline copy. */

:root {
  --bg: #f4f1ea;
  --panel: #ebe7dd;
  --panel-hover: #e4dfd2;
  --card: #f9f7f2;
  --ink: #37342e;
  --ink-2: #85816f;
  --hairline: rgba(60, 55, 40, 0.14);
  --accent: #a8663c;
  --radius: 2px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  height: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 max(22px, 4vw);
  background: rgba(244, 241, 234, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--hairline);
}
.nav .wordmark { font-size: 13px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; }
.nav .links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav .links a {
  font-size: 11px; color: var(--ink-2); letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.nav .links a:hover { color: var(--ink); }
.nav .cta {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: var(--radius);
  padding: 9px 18px 8px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.nav .cta:hover { background: var(--ink); color: var(--bg); }

/* Nav dropdowns — CSS-only (hover + :focus-within), links stay crawlable */
.nav .links .has-menu { position: relative; }
.nav .links .has-menu > a { display: inline-block; padding: 18px 0; }
.nav .menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 220px; padding: 14px 0;
  background: var(--bg, #f4f1ea); border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(30, 26, 18, 0.14);
  list-style: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav .has-menu:hover > .menu, .nav .has-menu:focus-within > .menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav .menu li a {
  display: block; padding: 8px 22px;
  letter-spacing: 0.1em; text-transform: none; font-size: 13px;
}
.nav .menu-regions {
  display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 18px 26px; width: min(760px, calc(100vw - 44px)); padding: 22px 26px 16px;
}
.nav .menu-regions ul { list-style: none; }
.nav .menu-regions .m-region {
  display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 7px; margin-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
}
.nav .menu-regions .m-region span { color: var(--ink-3, var(--ink-2)); font-weight: 400; letter-spacing: 0.04em; }
.nav .menu-regions li a {
  padding: 4px 0; font-size: 12.5px; letter-spacing: 0.04em; text-transform: none;
}
.nav .menu-regions li a em {
  font-style: normal; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3, var(--ink-2)); margin-left: 6px; vertical-align: 1px;
}
.nav .menu-regions .m-all {
  grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--hairline);
  font-size: 11px; letter-spacing: 0.16em;
}
@media (max-width: 1000px) { .nav .menu-regions { grid-template-columns: repeat(2, 1fr); width: min(460px, calc(100vw - 44px)); } }
@media (max-width: 860px) { .nav .links li:nth-child(n+4) { display: none; } .nav .links { gap: 22px; } .nav .menu { display: none; } }
@media (max-width: 700px) { .nav .cta { display: none; } }
@media (max-width: 560px) { .nav .links li:nth-child(n+3) { display: none; } .nav .wordmark { letter-spacing: 0.16em; } }
@media (hover: none) { .nav .menu { display: none; } }

/* ---------- Page scaffold ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 0 max(22px, 4vw); }
section.block { padding-top: 84px; }

.breadcrumb {
  margin: 92px 0 0;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span.sep { margin: 0 10px; color: var(--hairline); }

/* Page header */
.page-head { padding-top: 26px; max-width: 860px; }
.page-head .eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 16px;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 400; line-height: 1.06; letter-spacing: -0.005em;
}
.page-head .han {
  display: block; margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); font-weight: 400;
}
.page-head p.lede {
  margin-top: 24px;
  font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6; color: var(--ink);
  max-width: 680px;
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hairline);
  max-width: 680px;
}
.meta-row div { font-size: 13px; color: var(--ink-2); }
.meta-row b {
  display: block; font-weight: 600; color: var(--ink);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 4px;
}

/* Hero carousel */
.carousel { position: relative; margin-top: 44px; }
.carousel .track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 21/9;
  overflow: hidden;
}
.carousel .c-btn {
  position: absolute; top: 18px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1; color: var(--ink);
  background: rgba(244, 241, 234, 0.88);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.carousel .c-btn:hover { background: var(--bg); border-color: var(--ink); }
.carousel .c-prev { right: 66px; }
.carousel .c-next { right: 18px; }
.carousel .c-bar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  margin-top: 10px;
}
.carousel .c-caption { font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; }
.carousel .c-dots { display: flex; gap: 6px; flex: none; }
.carousel .c-dots button {
  width: 18px; height: 3px; padding: 0;
  background: var(--hairline); border: 0; border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.carousel .c-dots button[aria-current="true"] { background: var(--ink); }
@media (max-width: 700px) { .carousel .slide { aspect-ratio: 16/10; } }

/* Figures */
figure.wide { margin-top: 44px; }
figure.wide .ph { aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden; }
figure figcaption { margin-top: 10px; font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; }
.fig-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.fig-grid figure .ph { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.fig-grid.two { grid-template-columns: repeat(2, 1fr); }
.fig-grid.two figure .ph { aspect-ratio: 3/2; }
@media (max-width: 700px) { .fig-grid, .fig-grid.two { grid-template-columns: 1fr; } figure.wide .ph { aspect-ratio: 16/10; } }

/* Activity cards (adventures): compact photo + body + meta.
   Four-up so photos read smaller than the Highlights tiles. */
.activities-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.activity-card {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--card); overflow: hidden; display: flex; flex-direction: column;
}
.activity-card .aph { aspect-ratio: 3/2; overflow: hidden; background: var(--panel); }
.activity-card .aph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.activity-card:hover .aph img { transform: scale(1.045); }
.activity-card .abody { padding: 16px 17px 18px; }
.activity-card h3 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 8px; line-height: 1.5; }
.activity-card p { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.activity-card .act-meta {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline);
}
.activity-card .act-meta div { font-size: 12px; color: var(--ink); line-height: 1.4; }
.activity-card .act-meta b {
  display: block; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 2px; font-weight: 600;
}
@media (max-width: 1000px) { .activities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .activities-grid { grid-template-columns: 1fr; } }

/* Callout (seasonal warning, etc.) */
.callout {
  max-width: 720px; margin-top: 20px;
  background: var(--panel); border-left: 2px solid var(--accent); border-radius: var(--radius);
  padding: 22px 26px;
}
.callout p { font-size: 15px; line-height: 1.65; color: var(--ink); }
.callout b { font-weight: 600; }

/* Pull quote */
.pullquote { max-width: 720px; margin: 40px 0 8px; padding-left: 24px; border-left: 2px solid var(--accent); }
.pullquote p {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(21px, 2.8vw, 29px); line-height: 1.32; color: var(--ink);
}
.pullquote .zh { font-style: normal; font-size: 0.72em; color: var(--ink-2); display: block; margin-top: 8px; }
.pullquote cite {
  display: block; margin-top: 16px; font-style: normal;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}
.pullquote cite b { color: var(--ink); font-weight: 600; }

/* Section head */
.section-head { margin-bottom: 26px; }
.section-head .eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 400; line-height: 1.15;
}
.prose { max-width: 680px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.prose p + p { margin-top: 16px; }
.prose .note { font-size: 13px; color: var(--ink-2); }
.prose a { border-bottom: 1px solid var(--hairline); transition: border-color 0.2s var(--ease); }
.prose a:hover { border-color: var(--ink); }
.prose ul, .prose ol { margin: 16px 0 16px 20px; }
.prose li { margin-top: 10px; line-height: 1.65; }
.prose blockquote {
  margin-top: 20px;
  background: var(--panel); border-left: 2px solid var(--accent); border-radius: var(--radius);
  padding: 20px 24px;
}
.prose blockquote p { font-size: 15px; line-height: 1.65; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.prose th {
  text-align: left; padding: 0 18px 10px 0;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); border-bottom: 1px solid var(--ink);
}
.prose td { padding: 12px 18px 12px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; line-height: 1.55; }
.prose + .cards { margin-top: 26px; }

/* Facts panel */
.facts {
  background: var(--panel); border-radius: var(--radius);
  padding: 34px 34px 30px;
  display: grid; gap: 22px 34px; grid-template-columns: repeat(3, 1fr);
}
.facts div { font-size: 14px; line-height: 1.5; color: var(--ink); }
.facts b {
  display: block; font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 6px;
}
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Item cards (sites, dishes, trips) */
.cards { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--card);
  padding: 24px 22px 22px;
  transition: background 0.3s var(--ease);
}
a.card:hover { background: #fffdf8; }
.card h3 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.5; margin-bottom: 10px;
}
.card .tag {
  display: inline-block; margin-bottom: 12px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--hairline); border-radius: var(--radius); padding: 4px 8px 3px;
}
.card p { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.card .more {
  display: inline-block; margin-top: 14px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--hairline); padding-bottom: 2px;
}
a.card:hover .more { border-color: var(--ink); }
@media (max-width: 1000px) { .cards, .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards.three, .cards.two { grid-template-columns: 1fr; } }

/* POI tiles: photo shown by default, description revealed on hover (desktop) or
   tap (mobile, via .open class). The description text lives in the DOM at all times
   — it is only visually overlaid — so it stays fully indexable for SEO. */
.poi-grid { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.poi-tile {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: var(--radius); background: var(--panel); cursor: pointer;
}
.poi-tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.poi-tile:hover > img { transform: scale(1.045); }
.poi-tile .t-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  margin: 0; padding: 40px 16px 15px;
  background: linear-gradient(to top, rgba(28,23,14,0.78), rgba(28,23,14,0));
  color: #f6f3ec; font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
  transition: opacity 0.3s var(--ease);
}
.poi-tile .t-desc {
  position: absolute; inset: 0; z-index: 3;
  margin: 0; display: flex; align-items: flex-end;
  padding: 22px 18px; background: rgba(26,22,14,0.84);
  color: #f1eee4; font-size: 13.5px; line-height: 1.55;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.poi-tile .t-hint {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 26px; height: 26px; display: none;
  align-items: center; justify-content: center;
  border: 1px solid rgba(246,243,236,0.7); border-radius: var(--radius);
  color: #f6f3ec; font-size: 15px; line-height: 1;
}
@media (hover: hover) and (pointer: fine) {
  .poi-tile:hover .t-desc, .poi-tile:focus-visible .t-desc { opacity: 1; }
  .poi-tile:hover .t-name { opacity: 0; }
}
@media (hover: none) { .poi-tile .t-hint { display: flex; } }
.poi-tile.open .t-desc { opacity: 1; }
.poi-tile.open .t-name { opacity: 0; }
.poi-tile.open .t-hint { opacity: 0; }
.poi-tile .t-ops {
  display: block; margin-top: 11px; padding-top: 10px;
  border-top: 1px solid rgba(246,243,236,0.22);
  font-size: 11.5px; line-height: 1.55; color: #d7d3c5; letter-spacing: 0.01em;
}
.poi-tile .t-ops b { color: #f6f3ec; font-weight: 600; }
@media (max-width: 1000px) { .poi-grid { grid-template-columns: repeat(2, 1fr); } }

/* Page table-of-contents (header jump links) */
.toc {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hairline);
  max-width: 680px;
}
.toc a {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
  padding: 4px 16px; position: relative;
  transition: color 0.2s var(--ease);
}
.toc a:first-child { padding-left: 0; }
.toc a + a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 11px; background: var(--hairline);
}
.toc a:hover { color: var(--ink); }

/* Climate chart */
.climate-wrap { margin-top: 26px; max-width: 760px; }
.climate-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.unit-toggle { display: inline-flex; border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.unit-toggle .ut-btn {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em;
  padding: 6px 12px 5px; background: transparent; border: 0; cursor: pointer;
  color: var(--ink-2); transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.unit-toggle .ut-btn + .ut-btn { border-left: 1px solid var(--hairline); }
.unit-toggle .ut-btn.is-on { background: var(--ink); color: var(--bg); }
svg.climate .vlab { font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.01em; }
svg.climate .tlab { fill: var(--ink); }
svg.climate .rlab { fill: var(--ink-2); }
.climate-legend {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.climate-legend span { display: inline-flex; align-items: center; gap: 7px; }
.climate-legend i { width: 14px; height: 10px; display: inline-block; border-radius: 1px; }
.climate-legend i.k-temp { height: 0; width: 16px; border-top: 2px solid var(--ink); }
.climate-legend i.k-rain { background: rgba(60,55,40,0.16); }
.climate-legend i.k-best { background: var(--accent); }
svg.climate { width: 100%; height: auto; display: block; }
svg.climate .mlab { font-size: 12px; fill: var(--ink-2); font-family: var(--sans); letter-spacing: 0.04em; }
svg.climate .mlab.best { fill: var(--accent); font-weight: 600; }
.climate-wrap figcaption { margin-top: 12px; font-size: 12px; color: var(--ink-2); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Flavor cards: photo and text both visible. */
.flavors { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.flavor-card {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
}
.flavor-card .fph { aspect-ratio: 4/3; overflow: hidden; }
.flavor-card .fph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.flavor-card:hover .fph img { transform: scale(1.045); }
.flavor-card .fbody { padding: 18px 20px 20px; }
.flavor-card h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 9px; line-height: 1.5; }
.flavor-card p { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 1000px) { .flavors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flavors { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--hairline); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 20px 2px;
  font-size: 15px; font-weight: 600; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink-2);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 2px 22px; max-width: 680px; font-size: 14px; line-height: 1.65; color: #5f5b50; }
.faq .a a { border-bottom: 1px solid var(--hairline); }
.faq .a a:hover { border-color: var(--ink); }

/* Numbered tips */
.tips { background: var(--panel); border-radius: var(--radius); padding: 36px 34px; }
.tips ol { list-style: none; counter-reset: tip; display: grid; gap: 20px 40px; grid-template-columns: repeat(2, 1fr); }
.tips li { counter-increment: tip; display: flex; gap: 16px; font-size: 14px; line-height: 1.6; }
.tips li > span { flex: 1; }
.tips a { border-bottom: 1px solid var(--hairline); }
.tips a:hover { border-color: var(--ink); }
.tips li::before {
  content: counter(tip, decimal-leading-zero);
  font-family: var(--serif); font-size: 20px; color: var(--ink-2); line-height: 1.2;
}
@media (max-width: 760px) { .tips ol { grid-template-columns: 1fr; } }

/* Related strip */
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 10px 16px 9px; color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.related a:hover { border-color: var(--ink); background: var(--card); }

/* Footer */
footer {
  margin-top: 120px; padding: 30px max(22px, 4vw) 44px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; justify-content: space-between;
  font-size: 12px; color: var(--ink-2);
}
footer .brand { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
footer nav { display: flex; gap: 26px; }
footer nav a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
footer a:hover { color: var(--ink); }

/* Utility */
.verify { font-size: 12px; color: var(--ink-2); margin-top: 14px; }

/* Compare cards: hub-page subsection lists rendered as place cards */
.compare-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin: 8px 0 4px; }
.compare-card {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
}
.compare-card .cph { aspect-ratio: 21/9; overflow: hidden; }
.compare-card .cph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.compare-card:hover .cph img { transform: scale(1.045); }
.compare-card .cbody { padding: 18px 20px 20px; }
.compare-card h3 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.5; margin-bottom: 10px;
}
.compare-card h3 a { border-bottom: 1px solid var(--hairline); padding-bottom: 1px; }
.compare-card h3 a:hover { border-color: var(--ink); }
.compare-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

/* ---------- Destinations directory: region maps + clustered cards ---------- */
.dir-map {
  margin: 6px 0 0;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--card); padding: 10px;
}
.dir-map svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.dir-map .mapzh { font-family: var(--serif); fill: var(--ink); opacity: 0.055; letter-spacing: 0.04em; }
.dir-map .mapgrid line { stroke: var(--ink-2); stroke-width: 0.5; opacity: 0.16; stroke-dasharray: 1 4; }
.dir-map .mapgrid-lb text { font-size: 8px; fill: var(--ink-2); opacity: 0.55; letter-spacing: 0.06em; }
.dir-map .mapspokes line { stroke: var(--ink-2); stroke-width: 0.8; stroke-dasharray: 1.5 3.5; opacity: 0.75; }
.dir-map .mk-city { fill: var(--ink); }
.dir-map .mk-unesco { fill: var(--accent); }
.dir-map .mk-place { fill: none; stroke: var(--ink-2); stroke-width: 1.6; }
.dir-map a:hover .mk-city, .dir-map a:hover .mk-unesco { fill: var(--accent); opacity: 0.75; }
.dir-map a:hover .mk-place { stroke: var(--accent); }
.dir-map text { fill: var(--ink-2); }
.dir-map .lb { font-size: 9px; letter-spacing: 0.02em; }
.dir-map .lb-city { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--ink); }
.dir-map a:hover text { fill: var(--accent); }
.dir-map .mapscale line { stroke: var(--ink-2); stroke-width: 1; }
.dir-map .mapscale text, .dir-map .mapcompass text { font-size: 9px; fill: var(--ink-2); letter-spacing: 0.08em; }
.dir-map .mapcompass line { stroke: var(--ink-2); stroke-width: 1; }
.dir-map .mapcompass path { fill: var(--ink-2); }
.dir-legend {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  margin: 10px 2px 0; font-size: 11px; color: var(--ink-2); letter-spacing: 0.06em;
}
.dir-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 7px; vertical-align: -1px; }
.dir-legend .mk-city { background: var(--ink); border-radius: 50%; }
.dir-legend .mk-unesco { background: var(--accent); transform: rotate(45deg) scale(0.9); }
.dir-legend .mk-place { border: 1.6px solid var(--ink-2); border-radius: 50%; }
.dir-legend .lg-line { color: var(--ink-2); opacity: 0.8; }
.dir-cluster {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline);
}
.dir-grid { display: grid; gap: 12px; grid-template-columns: repeat(5, 1fr); }
.dir-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.dir-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.dir-card .d-ph { display: block; aspect-ratio: 4/3; overflow: hidden; }
.dir-card .d-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.dir-card:hover .d-ph img { transform: scale(1.05); }
.dir-card .d-body { display: block; padding: 10px 12px 12px; }
.dir-card .d-body b { display: block; font-weight: 600; font-size: 13px; line-height: 1.35; }
.dir-card .d-badge {
  display: inline-block; margin-top: 6px;
  font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}
.dir-card .d-badge.t-unesco { color: var(--accent); }
.dir-card .d-note { display: block; margin-top: 4px; font-size: 10.5px; color: var(--ink-2); }
.dir-hub { border-color: var(--ink); }
.dir-hub .d-body b { font-size: 14px; }
@media (max-width: 1100px) { .dir-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .dir-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } .dir-map { padding: 4px; } }

/* Map hover tooltip: photo beside the hovered marker, never under the cursor */
.map-tip {
  position: fixed; z-index: 30; width: 190px;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--card); box-shadow: 0 14px 34px rgba(30, 26, 18, 0.16);
  overflow: hidden; pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.map-tip.on { opacity: 1; transform: translateY(0); }
.map-tip img { display: block; width: 100%; height: 127px; object-fit: cover; }
.map-tip span {
  display: block; padding: 8px 10px 9px;
  font-size: 11px; line-height: 1.4; color: var(--ink); letter-spacing: 0.04em;
}

/* Back-to-top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink); background: rgba(244, 241, 234, 0.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font-size: 17px; line-height: 1; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              visibility 0.3s, background 0.3s var(--ease), color 0.3s var(--ease);
}
.to-top.on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ink); color: var(--bg); }
.compare-card p a { color: var(--ink); border-bottom: 1px solid var(--hairline); }
.compare-card p a:hover { border-color: var(--ink); }
@media (max-width: 700px) { .compare-cards { grid-template-columns: 1fr; } }
