:root {
  --color-ink: #2e2923;
  --color-muted: #6f665b;
  --color-bg: #f8f5ef;
  --color-surface: #fffdf8;
  --color-stone: #e9e1d3;
  --color-stone-light: #f1ebe2;
  --color-earth: #7b6046;
  --color-earth-dark: #4f3f31;
  --color-gold: #a77a36;
  --shadow-soft: 0 20px 50px rgba(70, 55, 38, 0.12);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: "Noto Serif TC", "Source Han Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 8px 14px;
  color: var(--color-surface);
  background: var(--color-earth-dark);
  border-radius: 4px;
  transform: translateY(-140%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid rgba(123, 96, 70, 0.16);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--color-earth-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-title span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15em;
  font-size: 1.18rem;
  line-height: 1.2;
}

.site-logo {
  width: 154px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
}

.site-nav a,
.home-link-button,
.footer-link {
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.site-nav a {
  padding: 8px 13px;
  color: var(--color-muted);
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--color-earth-dark);
  border-color: var(--color-gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(123, 96, 70, 0.24);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-earth-dark);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 74vh;
  align-items: end;
  overflow: hidden;
  color: #fffdf8;
  background: #3f342a;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: contain;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(40, 33, 26, 0.28), rgba(40, 33, 26, 0.12) 58%, rgba(40, 33, 26, 0.03)),
    linear-gradient(0deg, rgba(40, 33, 26, 0.22), rgba(40, 33, 26, 0.02));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero .eyebrow {
  color: #e8c982;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.3rem);
  font-weight: 700;
  line-height: 1.18;
}

.hero p:last-of-type {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.home-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 26px;
  padding: 9px 18px;
  color: var(--color-earth-dark);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(232, 201, 130, 0.68);
  border-radius: 4px;
  font-weight: 700;
}

.home-link-button:hover,
.home-link-button:focus-visible,
.home-link-button:active {
  color: var(--color-surface);
  background: var(--color-earth-dark);
}

.home-link-button.dark {
  color: var(--color-earth-dark);
}

.home-link-button.dark:hover,
.home-link-button.dark:focus-visible,
.home-link-button.dark:active {
  color: var(--color-surface);
}

.section {
  padding: 88px 0;
}

.intro-section {
  background: var(--color-surface);
}

.section-band {
  background: linear-gradient(180deg, var(--color-bg), #f0e9dd);
}

.article-shell {
  max-width: 900px;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.06rem;
}

.article-content h2,
.section-copy h2,
.closing-copy h2 {
  margin: 0 0 20px;
  color: var(--color-earth-dark);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.35;
}

.article-content p,
.section-copy p,
.closing-copy p {
  margin: 0;
  color: #393229;
}

.article-content p + p,
.section-copy p + p,
.closing-copy p + p {
  margin-top: 1.18em;
}

.intro-lead span {
  float: left;
  margin: 0.08em 0.18em 0 0;
  color: var(--color-earth-dark);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1;
}

.section-layout,
.closing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section-layout.reverse {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}

.section-layout.reverse .section-copy {
  order: 2;
}

.section-copy {
  max-width: 680px;
}

.figure-stack {
  display: grid;
  gap: 22px;
}

.content-figure {
  margin: 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(123, 96, 70, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.content-figure img {
  width: 100%;
  max-height: 580px;
  object-fit: contain;
  background: var(--color-stone-light);
}

.featured-figure img,
.map-figure img {
  max-height: 640px;
}

.main-hall-figure img,
.morning-figure img {
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.content-figure figcaption {
  padding: 12px 16px 14px;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.closing-section {
  color: rgba(255, 253, 248, 0.86);
  background:
    linear-gradient(rgba(48, 42, 34, 0.9), rgba(48, 42, 34, 0.9)),
    linear-gradient(135deg, var(--color-earth-dark), var(--color-earth));
}

.closing-layout {
  align-items: center;
}

.closing-section .closing-layout {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.closing-copy h2 {
  color: var(--color-surface);
}

.closing-copy p {
  color: rgba(255, 253, 248, 0.84);
}

.closing-copy .section-kicker {
  color: #e8c982;
}

.closing-copy .content-figure {
  margin-top: 28px;
}

.site-footer {
  padding: 46px 0;
  color: rgba(255, 253, 248, 0.82);
  background: #30271f;
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-inner p {
  max-width: 880px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-link {
  width: fit-content;
  color: #fffdf8;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 248, 0.32);
  text-underline-offset: 5px;
}

.footer-copyright {
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 980px) {
  .section-layout,
  .section-layout.reverse,
  .closing-layout {
    grid-template-columns: 1fr;
  }

  .section-layout.reverse .section-copy {
    order: 0;
  }

  .section-copy {
    max-width: 860px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 18px;
    background: rgba(248, 245, 239, 0.98);
    border-bottom: 1px solid rgba(123, 96, 70, 0.16);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 0;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-content {
    padding-bottom: 64px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-title {
    gap: 12px;
  }

  .site-title span {
    min-height: 1.9em;
    font-size: 1.05rem;
  }

  .site-logo {
    width: 132px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(40, 33, 26, 0.28), rgba(40, 33, 26, 0.06)),
      linear-gradient(90deg, rgba(40, 33, 26, 0.22), rgba(40, 33, 26, 0.06));
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .content-figure figcaption {
    font-size: 0.88rem;
  }
}
