:root {
  --ink: #3f342d;
  --muted: #766c62;
  --paper: #f5efe3;
  --paper-deep: #e9dfce;
  --paper-light: #fffaf0;
  --rust: #a95136;
  --rust-dark: #803a29;
  --moss: #596657;
  --moss-dark: #3f4c40;
  --mustard: #c79a50;
  --line: #cfc2ad;
  --warning: #f3e5bc;
  --warning-ink: #6e5222;
  --shadow: 0 12px 28px rgba(72, 54, 38, 0.13);
  --container: 1120px;
  --serif: "Noto Serif TC", "Songti TC", "STSong", "PMingLiU", serif;
  --sans: "PingFang TC", "Microsoft JhengHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(103, 81, 59, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 81, 59, 0.018) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 13px;
  background: var(--ink);
  color: var(--paper-light);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 800px); margin-inline: auto; }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }

.section-tint {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.38; letter-spacing: 0.01em; }
h1 { margin-bottom: 26px; font-size: clamp(2.5rem, 5.7vw, 5rem); }
h2 { margin-bottom: 18px; font-size: clamp(1.85rem, 4vw, 2.9rem); }
h3 { margin-bottom: 10px; font-size: 1.28rem; }

.lead {
  max-width: 670px;
  color: #665d54;
  font-family: var(--serif);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
  line-height: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--rust);
  font-family: Georgia, serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before { width: 30px; height: 1px; background: currentColor; content: ""; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-heading > * { margin-bottom: 0; }
.text-link { color: var(--rust-dark); font-family: var(--serif); font-weight: 700; border-bottom: 1px solid var(--rust); }
.text-link:hover { color: var(--rust); }

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 239, 227, 0.96);
}

.nav-wrap {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--rust);
  color: var(--rust);
  font-family: var(--serif);
  font-size: 1.12rem;
  transform: rotate(-3deg);
}

.nav-menu { display: flex; align-items: center; gap: 30px; }

.nav-menu > a {
  position: relative;
  color: #655b51;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-menu > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--rust);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-menu > a:hover::after,
.nav-menu > a[aria-current="page"]::after { transform: scaleX(1); }

.menu-button {
  display: none;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--rust-dark);
  background: var(--rust-dark);
  color: var(--paper-light);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.4;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover { background: var(--rust); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--ink); color: var(--paper-light); }
.button-small { min-height: 40px; padding: 8px 15px; font-size: 0.86rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 108px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 4%;
  bottom: 0;
  width: 1px;
  background: rgba(126, 96, 67, 0.16);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 0.86fr;
  gap: 86px;
}

.hero h1 { max-width: 720px; font-size: clamp(2.75rem, 5.6vw, 4.7rem); }
.hero h1 span { color: var(--rust); font-weight: 600; }

.hero-visual {
  position: relative;
  min-height: 610px;
}

.hero-visual::before {
  position: absolute;
  right: 3%;
  bottom: 2%;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(169, 81, 54, 0.3);
  border-radius: 50%;
  content: "TRAVEL  NOTES  ·  TRAVEL  NOTES  ·";
  color: rgba(169, 81, 54, 0.42);
  font: 9px/1.4 Georgia, serif;
  letter-spacing: 0.12em;
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(12deg);
}

.journal-photo {
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 10px 10px 37px;
  border: 1px solid #d1c4b0;
  background: var(--paper-light);
  box-shadow: 0 9px 22px rgba(72, 54, 38, 0.16);
}

.journal-photo::before {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 72px;
  height: 23px;
  background: rgba(211, 185, 129, 0.66);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
}

.journal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) sepia(0.12) contrast(0.95);
}

.journal-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  color: #817466;
  font: italic 0.72rem/1.5 Georgia, var(--serif);
  letter-spacing: 0.07em;
}

.journal-photo-main {
  top: 28px;
  left: 0;
  width: 70%;
  height: 440px;
  transform: rotate(-3deg);
}

.journal-photo-top {
  top: 0;
  right: 0;
  width: 45%;
  height: 245px;
  transform: rotate(4.5deg);
}

.journal-photo-bottom {
  right: 3%;
  bottom: 32px;
  width: 49%;
  height: 230px;
  transform: rotate(-1.7deg);
}

.hero-note {
  position: absolute;
  bottom: 30px;
  left: 1%;
  z-index: 3;
  width: 49%;
  padding: 15px 17px;
  border-left: 2px solid var(--rust);
  background: rgba(245, 239, 227, 0.92);
  color: var(--ink);
  font-family: var(--serif);
  transform: rotate(1deg);
}

.hero-note strong, .hero-note span { display: block; }
.hero-note strong { margin-bottom: 3px; font-size: 1rem; }
.hero-note span { color: var(--muted); font-size: 0.82rem; }

.topic-grid, .article-grid, .difference-grid, .value-grid { display: grid; gap: 26px; }
.topic-grid { grid-template-columns: repeat(3, 1fr); }

.topic-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: 5px 7px 0 rgba(95, 73, 53, 0.08);
  transition: transform 180ms ease;
}

.topic-card:nth-child(even) { transform: rotate(0.65deg); }
.topic-card:nth-child(odd) { transform: rotate(-0.45deg); }
.topic-card:hover { transform: translateY(-4px) rotate(0); }
.topic-card img { width: 100%; height: 220px; padding: 10px 10px 0; object-fit: cover; filter: saturate(0.82); }
.topic-card::after { display: none; }
.topic-card-content { position: static; padding: 17px 20px 20px; color: var(--ink); }
.topic-card-content p { margin-bottom: 4px; color: var(--rust); font-size: 0.76rem; letter-spacing: 0.06em; }
.topic-card-content h3 { margin-bottom: 0; font-size: 1.35rem; }

.article-grid { grid-template-columns: repeat(3, 1fr); }
.article-card { overflow: hidden; border-bottom: 1px solid var(--ink); background: transparent; transition: transform 180ms ease; }
.article-card:hover { transform: translateY(-3px); }

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  object-fit: cover;
  filter: saturate(0.82);
}

.article-card-body { padding: 21px 4px 24px; }
.article-card-body p { color: var(--muted); font-family: var(--serif); font-size: 0.92rem; }

.tag {
  display: inline-block;
  margin-bottom: 13px;
  padding: 3px 9px;
  border: 1px solid #c68c77;
  color: var(--rust-dark);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: rotate(-1deg);
}

.placeholder-card {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 34px;
  border: 1px dashed #aa9a83;
  background: rgba(255, 250, 240, 0.42);
  color: var(--muted);
  text-align: center;
}

.philosophy { display: grid; align-items: center; grid-template-columns: 0.85fr 1.15fr; gap: 82px; }

.philosophy-image {
  width: 100%;
  min-height: 450px;
  padding: 12px 12px 54px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  object-fit: cover;
  transform: rotate(-1.3deg);
}

.quote {
  position: relative;
  margin: 32px 0 0;
  padding: 20px 24px 20px 30px;
  border-left: 3px solid var(--rust);
  background: rgba(255, 250, 240, 0.55);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border: 1px solid #354138;
  background: var(--moss-dark);
  color: var(--paper-light);
  box-shadow: 8px 9px 0 rgba(87, 64, 44, 0.15);
}

.cta-band::after {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 50%;
  content: "TRAVEL\A NOTES";
  color: rgba(255, 250, 240, 0.52);
  font: 10px/1.4 Georgia, serif;
  letter-spacing: 0.12em;
  white-space: pre;
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(-12deg);
}

.cta-band > * { position: relative; z-index: 1; }
.cta-band p { max-width: 660px; color: #dfd9cc; font-family: var(--serif); }
.cta-band .button { border-color: var(--paper-light); background: var(--paper-light); color: var(--moss-dark); }
.cta-band .button:hover { background: var(--mustard); }
.cta-band .button-secondary { background: transparent; color: var(--paper-light); }
.cta-band .button-secondary:hover { background: var(--paper-light); color: var(--moss-dark); }

.site-footer { padding: 58px 0 30px; border-top: 1px solid var(--line); background: var(--paper-deep); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 42px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-family: var(--serif); font-size: 0.88rem; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-title { margin-bottom: 10px; font-family: var(--serif); font-weight: 800; }
.footer-bottom { margin-top: 38px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }

.page-hero { padding: 82px 0 58px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.35rem, 5vw, 4.2rem); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: var(--muted); font-size: 0.82rem; }
.breadcrumbs a:hover { color: var(--rust); }

.notice {
  margin: 26px 0 0;
  padding: 18px 20px;
  border: 1px solid #d5bc7b;
  background: var(--warning);
  color: var(--warning-ink);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.article-cover {
  width: 100%;
  max-height: 610px;
  padding: 13px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  object-fit: cover;
  filter: saturate(0.82);
}

.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; color: var(--muted); font-size: 0.84rem; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.quick-card, .difference-card, .value-card {
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.65);
  box-shadow: 4px 5px 0 rgba(95, 73, 53, 0.06);
}

.quick-card span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 0.82rem; }
.quick-card strong { display: block; font-family: var(--serif); font-size: 1.08rem; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--paper-light); -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { background: var(--paper-deep); font-family: var(--serif); font-size: 0.92rem; }
.comparison-table th:first-child, .comparison-table td:first-child { width: 19%; color: var(--rust-dark); font-weight: 800; }
.comparison-table tr:last-child td { border-bottom: 0; }

.pending { display: inline-block; padding: 2px 8px; border: 1px dashed #b39554; background: var(--warning); color: var(--warning-ink); font-size: 0.78rem; font-weight: 700; }
.difference-grid { grid-template-columns: repeat(2, 1fr); }

.difference-card-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--rust);
  border-radius: 50%;
  color: var(--rust);
  font-family: Georgia, serif;
  font-weight: 700;
}

.difference-card p, .value-card p { margin-bottom: 0; color: var(--muted); }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-card ul, .check-list { margin: 14px 0 0; padding-left: 1.2em; }
.value-card li, .check-list li { margin: 7px 0; }

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.inline-cta h2 { margin-bottom: 5px; font-size: 1.55rem; }
.inline-cta p { margin-bottom: 0; color: var(--muted); }
.article-body h2 { margin-top: 64px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.article-body > h2:first-child { margin-top: 0; }
.article-body .table-scroll + p { margin-top: 12px; color: var(--muted); font-size: 0.84rem; }

.topic-hero-grid { display: grid; align-items: center; grid-template-columns: 1fr 0.8fr; gap: 70px; }

.topic-hero-image {
  width: 100%;
  height: 430px;
  padding: 11px 11px 48px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  object-fit: cover;
  filter: saturate(0.82);
  transform: rotate(1.2deg);
}

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip { padding: 6px 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-family: var(--serif); font-size: 0.84rem; }
.filter-chip.is-active { border-color: var(--rust); background: var(--rust); color: var(--paper-light); }
.empty-state { padding: 56px 24px; border: 1px dashed #aa9a83; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .hero-grid, .philosophy, .topic-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 58px; }
  .hero-visual { width: min(100%, 600px); min-height: 590px; margin-inline: auto; }
  .topic-grid, .article-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 70px 0; }
  .section-tight { padding: 52px 0; }
  .nav-wrap { min-height: 76px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 38px; height: 38px; }
  .menu-button { display: grid; place-items: center; }

  .nav-menu {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 13px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 0;
  }

  .nav-menu.is-open { display: flex; }
  .nav-menu > a { padding: 11px 4px; }
  .nav-menu > a::after { display: none; }
  .nav-menu .button { margin-top: 8px; }
  .hero { padding: 60px 0 78px; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.8rem); }
  .hero-visual { min-height: 520px; }
  .journal-photo { padding: 7px 7px 29px; }
  .journal-photo::before { top: -9px; width: 54px; height: 18px; }
  .journal-photo-main { top: 34px; left: 1%; width: 69%; height: 345px; }
  .journal-photo-top { top: 5px; width: 45%; height: 190px; }
  .journal-photo-bottom { right: 2%; bottom: 38px; width: 49%; height: 180px; }
  .journal-photo figcaption { bottom: 5px; font-size: 0.62rem; }
  .hero-note { bottom: 24px; left: 1%; width: 48%; padding: 11px 12px; }
  .hero-note strong { font-size: 0.86rem; }
  .hero-note span { font-size: 0.7rem; line-height: 1.45; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; }
  .topic-grid, .article-grid, .quick-grid, .difference-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; }
  .topic-card:nth-child(n) { transform: none; }
  .topic-card img { height: 235px; }
  .philosophy { gap: 48px; }
  .philosophy-image { min-height: 350px; }
  .cta-band { padding: 40px 27px 110px; }
  .cta-band::after { right: 25px; bottom: 19px; }
  .inline-cta { align-items: stretch; flex-direction: column; }
  .page-hero { padding: 58px 0 42px; }
  .article-cover, .topic-hero-image { height: 320px; }
}

@media (max-width: 430px) {
  .brand small { font-size: 0.48rem; }
  .button-row .button { width: 100%; }
  .hero-visual { min-height: 430px; }
  .journal-photo-main { height: 285px; }
  .journal-photo-top { height: 158px; }
  .journal-photo-bottom { bottom: 26px; height: 148px; }
  .hero-note { bottom: 18px; }
  .hero-note span { display: none; }
}

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