/* 粵見廣東 / See Guangdong — typography and language. See /DESIGN.md */
/* i18n-switch:v3 */

:root {
  --jade: #164D44;
  --jade-dark: #0F3832;
  --porcelain: #FAFCFA;
  --lychee: #B73B35;
  --lychee-dark: #8E2C28;
  --oyster: #73847C;
  --oyster-text: #51645C;
  --ink: #20312C;
  --jade-wash: #E7EFED;
  --line: #D5DDDA;
  --scrim: rgba(20, 31, 28, 0.46);
  --porcelain-90: rgba(250, 252, 250, 0.92);
  --porcelain-80: rgba(250, 252, 250, 0.8);
  --ink-deep: rgba(15, 24, 22, 0.72);
  --current-on-jade: #f3c7c4;
  --font-display-hant: "Songti TC", "LiSong Pro", "PMingLiU", "MingLiU", "Noto Serif CJK TC", "Source Han Serif TC", serif;
  --font-display-hans: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-display-en: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  --font-display: var(--font-display-hant);
  --font-body-hant: "PingFang TC", "Hiragino Sans TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Source Han Sans TC", sans-serif;
  --font-body-hans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-body-en: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Georgia, sans-serif;
  --font-body: var(--font-body-hant);
  /* Japanese and Arabic: system / locally installed faces only, no web-font download. */
  --font-display-ja: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Noto Serif CJK JP", "Source Han Serif JP", serif;
  --font-body-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", "Noto Sans CJK JP", "Source Han Sans JP", sans-serif;
  --font-display-ar: "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", "Amiri", "Times New Roman", serif;
  --font-body-ar: "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", "Arabic UI Text", "Noto Naskh Arabic", "Arial", sans-serif;
  --measure: 38rem;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 4.6rem;
  --focus: 2px solid var(--lychee);
  --ease: 160ms ease;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: var(--font-body-hant);
  font-size: 1.0625rem;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
html[lang="zh-Hans"] body { font-family: var(--font-body-hans); }
html[lang="en"] body { font-family: var(--font-body-en); line-height: 1.7; }
html[lang="ja"] body { font-family: var(--font-body-ja); line-height: 1.85; }
html[lang="ar"] body { font-family: var(--font-body-ar); line-height: 1.9; }

/* i18n-switch:v3 — only the active language is visible. Default: Traditional. */
.lang-hans,
.lang-en,
.lang-ja,
.lang-ar,
html[lang="zh-Hans"] .lang-hant,
html[lang="en"] .lang-hant,
html[lang="ja"] .lang-hant,
html[lang="ar"] .lang-hant {
  display: none !important;
}
html[lang="zh-Hant"] .lang-hant,
html:not([lang]) .lang-hant {
  display: inline !important;
}
html[lang="zh-Hans"] .lang-hans { display: inline !important; }
html[lang="en"] .lang-en { display: inline !important; }
html[lang="ja"] .lang-ja { display: inline !important; }
html[lang="ar"] .lang-ar { display: inline !important; }
/* CJK letter-spacing does not suit Arabic joining or Latin; reset it there. */
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ja"] { line-break: strict; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--lychee); }
:focus { outline: none; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }

.skip-link {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--lychee);
  color: var(--porcelain);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--porcelain); }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--porcelain);
  border-bottom: 1px solid var(--line);
}
.site-header.is-over-hero {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.is-over-hero .brand,
.site-header.is-over-hero .site-nav a,
.site-header.is-over-hero .menu-toggle,
.site-header.is-over-hero .lang-switch-select {
  color: var(--porcelain);
  text-shadow: 0 1px 2px rgba(15, 24, 22, 0.5);
}
.site-header.is-over-hero .site-nav a[aria-current="page"] {
  color: var(--porcelain);
  box-shadow: inset 0 -2px 0 var(--lychee);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0 var(--pad);
  gap: 0.75rem 1rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.7rem;
  flex: 0 0 auto;
  margin-inline-start: auto;
}

.brand {
  color: var(--jade);
  text-decoration: none;
  font-family: var(--font-display-hant);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.08em;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}
.brand:hover { color: var(--lychee); }
html[lang="zh-Hans"] .brand { font-family: var(--font-display-hans); }
html[lang="en"] .brand {
  font-family: var(--font-display-en);
  letter-spacing: 0.02em;
  font-size: 1.2rem;
}
html[lang="ja"] .brand { font-family: var(--font-display-ja); letter-spacing: 0.06em; }
html[lang="ar"] .brand { font-family: var(--font-display-ar); font-size: 1.35rem; }

.lang-switch { flex: 0 0 auto; }
.lang-switch-select {
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.2;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  padding: 0.3rem 0.4rem;
  max-width: 8.6rem;
  cursor: pointer;
  -webkit-appearance: auto;
  appearance: auto;
}
.lang-switch-select:focus-visible { outline: var(--focus); outline-offset: 3px; }
.site-header:not(.is-over-hero) .lang-switch-select { color: var(--ink); }
/* Open list uses a light panel; do not inherit the header's light text color. */
.lang-switch-select option {
  color: var(--ink);
  background-color: #fff;
  text-shadow: none;
}

/* Single visible language; fonts follow html[lang]. */
.display,
.hero-title,
.page-hero h1,
.page-title,
.section-title,
.prose h2,
.prose h3,
.dest-row-title,
.culture-block h2,
.culture-block h3,
.itinerary h3,
.site-footer h2,
.footer-brand {
  font-family: var(--font-display-hant);
}
html[lang="zh-Hans"] .hero-title,
html[lang="zh-Hans"] .page-hero h1,
html[lang="zh-Hans"] .page-title,
html[lang="zh-Hans"] .section-title,
html[lang="zh-Hans"] .prose h2,
html[lang="zh-Hans"] .prose h3,
html[lang="zh-Hans"] .dest-row-title,
html[lang="zh-Hans"] .culture-block h2,
html[lang="zh-Hans"] .culture-block h3,
html[lang="zh-Hans"] .itinerary h3,
html[lang="zh-Hans"] .site-footer h2,
html[lang="zh-Hans"] .footer-brand {
  font-family: var(--font-display-hans);
}
html[lang="en"] .hero-title,
html[lang="en"] .page-hero h1,
html[lang="en"] .page-title,
html[lang="en"] .section-title,
html[lang="en"] .prose h2,
html[lang="en"] .prose h3,
html[lang="en"] .dest-row-title,
html[lang="en"] .culture-block h2,
html[lang="en"] .culture-block h3,
html[lang="en"] .itinerary h3,
html[lang="en"] .site-footer h2,
html[lang="en"] .footer-brand {
  font-family: var(--font-display-en);
}
html[lang="ja"] .hero-title,
html[lang="ja"] .page-hero h1,
html[lang="ja"] .page-title,
html[lang="ja"] .section-title,
html[lang="ja"] .prose h2,
html[lang="ja"] .prose h3,
html[lang="ja"] .dest-row-title,
html[lang="ja"] .culture-block h2,
html[lang="ja"] .culture-block h3,
html[lang="ja"] .itinerary h3,
html[lang="ja"] .site-footer h2,
html[lang="ja"] .footer-brand {
  font-family: var(--font-display-ja);
}
html[lang="ar"] .hero-title,
html[lang="ar"] .page-hero h1,
html[lang="ar"] .page-title,
html[lang="ar"] .section-title,
html[lang="ar"] .prose h2,
html[lang="ar"] .prose h3,
html[lang="ar"] .dest-row-title,
html[lang="ar"] .culture-block h2,
html[lang="ar"] .culture-block h3,
html[lang="ar"] .itinerary h3,
html[lang="ar"] .site-footer h2,
html[lang="ar"] .footer-brand {
  font-family: var(--font-display-ar);
}

.menu-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.2rem 0;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--lychee); }
.site-nav a[aria-current="page"] {
  color: var(--lychee);
  box-shadow: inset 0 -2px 0 var(--lychee);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  color: var(--porcelain);
  background: var(--jade-dark);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 24, 22, 0.18) 0%, rgba(15, 24, 22, 0.18) 42%, rgba(15, 24, 22, 0.72) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 2rem) var(--pad) clamp(2rem, 6vw, 4.5rem);
  max-width: 46rem;
}
.hero-title {
  font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: 0.08em;
  margin: 0 0 0.85rem;
  max-width: 100%;
}
html[lang="en"] .hero-title {
  font-size: clamp(2.15rem, 7.2vw + 0.6rem, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.hero-lead {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  line-height: 1.65;
  max-width: 32em;
}
.hero-note {
  margin: 0 0 1.5rem;
  color: var(--porcelain-90);
  font-size: 0.95rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  align-items: center;
}
.hero-credit {
  position: absolute;
  inset-inline-end: var(--pad);
  bottom: 0.85rem;
  z-index: 1;
  color: var(--porcelain-90);
  font-size: 0.8rem;
  max-width: 20rem;
  text-align: end;
  text-decoration: none;
  line-height: 1.5;
}
.hero-credit:hover { color: var(--porcelain); }
.credit-meta { unicode-bidi: isolate; }
html[lang="en"] .credit-prefix,
html[lang="ar"] .credit-prefix { margin-inline-end: 0.35em; }
.nobr { white-space: nowrap; }

/* Inner page masthead */
.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  color: var(--porcelain);
  background: var(--jade-dark);
}
.page-hero .hero-copy { max-width: 44rem; }
.page-kicker {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--porcelain-90);
}
.page-hero h1,
.page-title {
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
  max-width: 100%;
}
html[lang="en"] .page-hero h1,
html[lang="en"] .page-title { letter-spacing: 0.01em; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  background: var(--jade);
  color: var(--porcelain);
  text-decoration: none;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--jade);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1.3;
}
.btn:hover { background: var(--jade-dark); color: var(--porcelain); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.hero .btn-ghost { color: var(--porcelain); }
.btn-ghost:hover { background: rgba(250, 252, 250, 0.1); color: inherit; }
.btn.is-active,
.btn[aria-pressed="true"] {
  background: var(--lychee);
  border-color: var(--lychee);
  color: var(--porcelain);
}
.btn-text {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0.15rem 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 0;
}
.btn-text:hover { color: var(--lychee); }

/* ----- Layout ----- */
.section { padding: clamp(2.5rem, 6vw, 5.5rem) 0; }
.section-tight { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.wrap { padding: 0 var(--pad); }
.wrap-narrow { padding: 0 var(--pad); max-width: calc(var(--measure) + 2 * var(--pad)); }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: 0.06em;
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
html[lang="en"] .section-title { letter-spacing: 0.01em; }
.lede { margin: 0 0 1.5rem; max-width: var(--measure); color: var(--ink); }
.muted, .caption, figcaption {
  color: var(--oyster-text);
  font-size: 0.92rem;
  line-height: 1.65;
}
figcaption { margin-top: 0.55rem; }
.caption a, figcaption a { color: var(--oyster-text); }

.prose { max-width: var(--measure); }
.prose h2, .prose h3 {
  letter-spacing: 0.06em;
  font-weight: 600;
  line-height: 1.3;
}
html[lang="en"] .prose h2,
html[lang="en"] .prose h3 { letter-spacing: 0.01em; }
.prose h2 { font-size: 1.55rem; margin: 2rem 0 0.7rem; }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-inline-start: 1.2rem; }
.prose li { margin: 0 0 0.35rem; }

.disclaimer {
  background: var(--jade-wash);
  color: var(--ink);
  padding: 1rem 1.15rem;
  max-width: var(--measure);
  font-size: 1rem;
}
.disclaimer strong { font-weight: 600; }

/* Asymmetric spreads */
.spread {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.85fr);
  gap: clamp(1.25rem, 3vw, 3.5rem) clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
  padding: 0 var(--pad);
}
.spread.is-reverse {
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.25fr);
}
.spread.is-reverse .spread-media { order: 2; }
.spread.is-bleed-left { padding-inline-start: 0; }
.spread.is-bleed-right { padding-inline-end: 0; }
.spread-body { padding-bottom: 0.4rem; max-width: 36rem; }
.spread-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.spread.is-wide-media .spread-media img { aspect-ratio: 16 / 8; }

/* Intro band */
.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 38rem) minmax(10rem, 1fr);
  gap: 2rem 4rem;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
  align-items: start;
}
.intro-aside {
  color: var(--oyster-text);
  font-size: 0.95rem;
  border-inline-start: 2px solid var(--jade);
  padding-inline-start: 1rem;
  max-width: 18rem;
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.75rem;
}
.filter-bar button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  color: var(--oyster-text);
  cursor: pointer;
  padding: 0.15rem 0.1rem 0.25rem;
}
.filter-bar button:hover { color: var(--ink); }
.filter-bar button[aria-pressed="true"] {
  color: var(--jade);
  border-bottom-color: var(--jade);
}

/* Destination index: editorial list, not a card grid */
.dest-index { display: flex; flex-direction: column; }
.dest-row {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: 1.25rem 2rem;
  align-items: center;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.dest-row:hover .dest-row-title { color: var(--lychee); }
.dest-row img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.dest-row-meta { color: var(--oyster-text); font-size: 0.9rem; margin: 0 0 0.25rem; }
.dest-row-title {
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.3rem;
  font-weight: 600;
}
html[lang="en"] .dest-row-title { letter-spacing: 0.01em; }
.dest-row p { margin: 0; max-width: 36rem; }
.dest-row.is-hidden { display: none; }
.dest-empty { display: none; color: var(--oyster-text); padding: 1rem 0 2rem; }
.dest-empty.is-visible { display: block; }

.culture-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem 2.5rem;
  padding: 0 var(--pad);
  align-items: start;
}
.culture-block h2,
.culture-block h3 {
  letter-spacing: 0.06em;
  margin: 0 0 0.6rem;
}
.culture-block p { margin: 0 0 0.8rem; }

.itinerary-list { display: flex; flex-direction: column; gap: 2.5rem; }
.itinerary {
  border-top: 2px solid var(--jade);
  padding-top: 1.1rem;
  max-width: 44rem;
}
.itinerary.is-hidden { display: none; }
.itinerary h3 {
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
}
.itinerary-days { margin: 0.8rem 0 1rem; padding-inline-start: 1.2rem; }
.itinerary-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.fav-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.fav-row a { text-decoration: none; color: inherit; }
.fav-row a:hover { color: var(--lychee); }
.fav-empty { color: var(--oyster-text); }

/* Footer */
.site-footer {
  background: var(--jade);
  color: var(--porcelain);
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad) 2rem;
  margin-top: 2rem;
}
.site-footer a { color: var(--porcelain); }
.site-footer a:hover { color: var(--porcelain); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h2 {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
  font-weight: 600;
}
html[lang="en"] .site-footer h2 { letter-spacing: 0.02em; }
.footer-brand {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}
html[lang="en"] .footer-brand { letter-spacing: 0.02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.3rem; }
.footer-fine {
  border-top: 1px solid var(--porcelain-80);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--porcelain-90);
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.tag {
  display: inline-block;
  color: var(--oyster-text);
  font-size: 0.9rem;
  margin-inline-end: 0.75rem;
}

/* 360px and phones */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--jade);
    padding: 1.25rem var(--pad) 2rem;
    overflow: auto;
  }
  .site-header.is-over-hero .site-nav { background: var(--jade-dark); }
  body.nav-open .site-nav { display: block; }
  body.nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; gap: 0.4rem; }
  .site-nav a,
  .site-header.is-over-hero .site-nav a,
  .site-header.is-over-hero .site-nav a[aria-current="page"] {
    color: var(--porcelain);
    font-size: 1.35rem;
    font-family: var(--font-display-hant);
    letter-spacing: 0.08em;
    box-shadow: none;
    display: inline-block;
    padding: 0.45rem 0;
  }
  html[lang="zh-Hans"] .site-nav a { font-family: var(--font-display-hans); }
  html[lang="en"] .site-nav a {
    font-family: var(--font-display-en);
    letter-spacing: 0.02em;
  }
  html[lang="ja"] .site-nav a { font-family: var(--font-display-ja); letter-spacing: 0.04em; }
  html[lang="ar"] .site-nav a { font-family: var(--font-display-ar); }
  .site-nav a[aria-current="page"] { color: var(--current-on-jade); }

  .spread,
  .spread.is-reverse {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }
  .spread-body { padding: 0 var(--pad) 0.2rem; }
  .spread.is-reverse .spread-media { order: 0; }
  .intro-band,
  .culture-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .dest-row { grid-template-columns: 1fr; gap: 0.7rem; }
  .hero,
  .page-hero {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .hero { min-height: 86vh; min-height: 86dvh; }
  .page-hero { min-height: 52vh; }
  .hero-copy,
  .page-hero .hero-copy {
    width: 100%;
    max-width: none;
    padding-bottom: 1.15rem;
  }
  /* 首屏英文一行不溢出；繁体四字也不折行。字号随容器收，不加宽字距、不强制过大 nowrap */
  .hero-title {
    font-size: clamp(2.15rem, 8.8vw, 3.1rem);
    letter-spacing: 0;
  }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.1rem); }
  html[lang="en"] .hero-title { font-size: clamp(2.15rem, 8.8vw, 3.1rem); }
  .page-hero h1 {
    white-space: normal;
    font-size: clamp(1.85rem, 7vw, 2.55rem);
    letter-spacing: 0.06em;
    line-break: strict;
    text-wrap: pretty;
  }
  html[lang="en"] .page-hero h1 { letter-spacing: 0.01em; }
  /* 署名单独占满一行，不再与按钮并排挤压 */
  .hero-credit {
    position: relative;
    inset-inline-end: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    text-align: start;
    padding: 0.7rem var(--pad) 1rem;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--porcelain-90);
    background: rgba(15, 24, 22, 0.38);
  }
}

@media (max-width: 400px) {
  body { font-size: 1rem; }
  .header-inner { padding-left: 1rem; padding-right: 1rem; }
  .brand { font-size: 1.25rem; }
  html[lang="en"] .brand { font-size: 1.05rem; }
  .lang-switch-select { font-size: 0.8rem; max-width: 7.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header, .menu-toggle, .hero-actions, .btn, .filter-bar, .site-footer { }
  .site-header { position: static; }
  .hero, .page-hero { min-height: 0; color: var(--ink); background: none; }
  .hero-scrim { display: none; }
  .hero-title, .page-hero h1 { color: var(--ink); }
  .hero-lead, .hero-note { color: var(--ink); }
}
