:root {
  --site-bg: #f6f1ea;
  --site-surface: #fbf8f3;
  --site-card: #fdfbf8;
  --site-ink: #22201d;
  --site-muted: #6f6962;
  --site-border: rgba(34, 32, 29, 0.12);
  --site-accent: #7f6d61;
  --site-accent-soft: #d8c8bb;
  --site-shadow: 0 18px 45px rgba(34, 32, 29, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
}

.navbar {
  background: rgba(246, 241, 234, 0.96);
}

.site-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-link {
  color: var(--site-muted);
  font-size: 0.97rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--site-ink);
}

.navbar-toggler {
  border: 1px solid var(--site-border);
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  display: block;
  width: 1.25rem;
  height: 0.8rem;
  background-image:
    linear-gradient(var(--site-ink), var(--site-ink)),
    linear-gradient(var(--site-ink), var(--site-ink)),
    linear-gradient(var(--site-ink), var(--site-ink));
  background-size: 100% 1px, 100% 1px, 100% 1px;
  background-position: 0 0, 0 50%, 0 100%;
  background-repeat: no-repeat;
}

.editorial-hero,
.page-shell {
  background:
    radial-gradient(circle at top right, rgba(216, 200, 187, 0.32), transparent 34%),
    linear-gradient(180deg, rgba(251, 248, 243, 0.9), rgba(246, 241, 234, 0.58));
}

.hero-title,
.page-title,
.section-title {
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero-title {
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  max-width: 12ch;
}

.hero-deck,
.lead-copy {
  max-width: 42rem;
  color: var(--site-muted);
  font-size: 1.08rem;
}

.lead-copy {
  line-height: 1.85;
}

.hero-visual,
.feature-visual {
  margin: 0;
  background: var(--site-card);
  border: 1px solid var(--site-border);
  box-shadow: var(--site-shadow);
  overflow: hidden;
}

.hero-image,
.feature-image {
  min-height: 29rem;
  background:
    linear-gradient(160deg, rgba(243, 236, 227, 0.15), rgba(90, 116, 90, 0.08)),
    radial-gradient(circle at 15% 30%, rgba(255, 244, 225, 0.72), transparent 28%),
    radial-gradient(circle at 72% 35%, rgba(177, 197, 169, 0.56), transparent 26%),
    linear-gradient(180deg, rgba(190, 167, 146, 0.22), rgba(93, 117, 92, 0.38)),
    linear-gradient(140deg, #d8c6b6, #9da98f 58%, #7c8371);
}

.feature-image {
  min-height: 18rem;
}

.visual-caption {
  padding: 1rem 1.25rem 1.25rem;
  color: var(--site-muted);
  font-size: 0.92rem;
}

.surface-soft {
  background: rgba(251, 248, 243, 0.88);
}

.eyebrow,
.story-meta,
.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--site-accent);
}

.story-meta {
  margin-bottom: 0.9rem;
}

.section-note,
.text-body-secondary,
.page-meta,
.toc-card,
.faq-panel,
.muted-copy {
  color: var(--site-muted) !important;
}

.editorial-card,
.theme-entry,
.curation-card,
.pull-quote,
.info-card,
.faq-item,
.toc-card,
.resource-link,
.trust-panel {
  background: var(--site-card);
  border: 1px solid var(--site-border);
  border-radius: 1.5rem;
}

.editorial-card,
.theme-entry,
.info-card,
.trust-panel {
  padding: 1.75rem;
}

.editorial-card {
  min-height: 100%;
}

.editorial-card h3 a,
.story-link {
  text-decoration: none;
}

.editorial-card h3 a:hover,
.story-link:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.theme-stack {
  display: grid;
  gap: 1.25rem;
}

.curation-card {
  padding: 2rem;
  box-shadow: var(--site-shadow);
}

.resource-list {
  display: grid;
  gap: 0.85rem;
}

.resource-link {
  display: block;
  padding: 1rem 1.15rem;
  text-decoration: none;
}

.subtle-links .resource-link {
  background: rgba(253, 251, 248, 0.88);
}

.large-copy {
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--site-muted);
}

.trust-links,
.meta-list {
  display: grid;
  gap: 0.65rem;
}

.trust-links a,
.meta-list a,
.toc-card a {
  text-decoration: none;
}

.page-shell {
  padding: 4rem 0 2rem;
}

.page-title {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  max-width: 14ch;
}

.page-meta {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.content-section {
  padding: 3rem 0;
}

.content-section h2 {
  margin-bottom: 1rem;
}

.content-section h3 {
  font-size: 1.15rem;
}

.split-layout {
  display: grid;
  gap: 1.5rem;
}

.split-layout.split-layout-2 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.bullet-list {
  padding-left: 1.15rem;
}

.bullet-list li + li {
  margin-top: 0.55rem;
}

.pull-quote {
  padding: 1.5rem 1.75rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--site-muted);
}

.toc-card {
  position: sticky;
  top: 1.5rem;
  padding: 1.25rem 1.35rem;
}

.toc-card a {
  display: block;
  padding: 0.3rem 0;
}

.faq-item {
  width: 100%;
  padding: 1.05rem 1.2rem;
  text-align: left;
}

.faq-item[aria-expanded="true"] {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

.faq-panel {
  display: none;
  padding: 0.4rem 1.2rem 1.1rem;
}

.faq-panel.is-open {
  display: block;
}

.disclosure-note {
  font-size: 0.95rem;
  color: var(--site-muted);
}

.site-footer {
  background: rgba(251, 248, 243, 0.72);
}

.py-lg-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

@media (max-width: 991.98px) {
  .hero-image {
    min-height: 22rem;
  }

  .toc-card {
    position: static;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 0.98rem;
  }

  .hero-title {
    max-width: none;
  }

  .page-shell {
    padding-top: 3rem;
  }

  .feature-image {
    min-height: 14rem;
  }
}
