:root {
  color-scheme: light;
  --bg: #f7f1e8;
  --bg-soft: #efe5d8;
  --panel: rgba(255, 252, 247, 0.78);
  --panel-strong: #fff9f1;
  --text: #1f2025;
  --muted: #66635c;
  --line: rgba(48, 42, 34, 0.12);
  --line-strong: rgba(48, 42, 34, 0.22);
  --accent: #a66d45;
  --accent-2: #7b8a5a;
  --accent-3: #c37d5a;
  --shadow: 0 22px 60px rgba(56, 41, 27, 0.12);
  --max: 1260px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(198, 125, 90, 0.11), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(123, 138, 90, 0.12), transparent 24%),
    linear-gradient(180deg, #f9f3ea 0%, #f4eadc 48%, #f8f2e8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31, 32, 37, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 32, 37, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.22;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 250, 243, 0.96);
  transform: translateY(-160%);
}

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

.page-frame {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1rem 1.3rem;
}

.site-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 0.95rem 0 1.15rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.site-mark {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 18px;
  background: linear-gradient(145deg, #f0d2b6, #fff6eb);
  border: 1px solid rgba(166, 109, 69, 0.22);
  color: var(--accent);
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
}

.site-brand strong,
.hero-copy h1,
.story-card h2,
.topic-card h3,
.about-hero-copy h1,
.section-head h2,
.about-side-card h3,
.about-parts h2,
.about-end h2 {
  font-family: Georgia, "Songti SC", "SimSun", serif;
  letter-spacing: 0.01em;
}

.site-brand strong {
  display: block;
  font-size: 1.12rem;
}

.site-brand p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.18rem 0.15rem;
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.home-hero,
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
  padding: 0.4rem 0 1.1rem;
}

.hero-copy,
.hero-visual,
.story-card,
.info-panel,
.topic-card,
.about-hero-copy,
.about-aside,
.about-main-card,
.about-side-card,
.about-part,
.about-end,
.about-note {
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 39, 31, 0.08);
}

.hero-copy,
.about-hero-copy {
  padding: clamp(1.25rem, 2.4vw, 2.2rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.73rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 4.9rem);
  line-height: 0.95;
  max-width: 10ch;
}

.lede,
.about-lede,
.intro-band p,
.story-card p,
.info-panel li,
.info-panel p,
.topic-card p,
.about-main-card p,
.about-side-card li,
.about-side-card p,
.about-part p,
.about-end p {
  color: var(--muted);
  line-height: 1.88;
}

.lede,
.about-lede {
  margin: 1rem 0 0;
  max-width: 58ch;
  font-size: 1.04rem;
}

.hero-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button,
.about-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary,
.about-return {
  background: linear-gradient(145deg, #a76e45, #c88b65);
  color: #fffdf8;
  box-shadow: 0 16px 26px rgba(166, 109, 69, 0.2);
}

.button-secondary {
  background: rgba(255, 252, 247, 0.78);
  border-color: var(--line-strong);
  color: var(--text);
}

.button-primary:hover,
.button-primary:focus-visible,
.about-return:hover,
.about-return:focus-visible {
  color: #fffdf8;
  transform: translateY(-1px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--text);
  background: rgba(166, 109, 69, 0.12);
  border-color: rgba(166, 109, 69, 0.3);
  transform: translateY(-1px);
}

.hero-chips,
.about-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-chips li,
.about-bullets li {
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.88);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  display: grid;
  align-content: start;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-visual figcaption {
  padding: 0.95rem 1.05rem 1.1rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.intro-band {
  margin: 0.2rem 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(166, 109, 69, 0.12), rgba(255, 252, 247, 0.72));
  border: 1px solid rgba(166, 109, 69, 0.14);
}

.intro-band p {
  margin: 0;
  max-width: 78ch;
}

.content-split,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 1rem;
  align-items: start;
  padding: 0.2rem 0 1rem;
}

.story-card,
.info-panel,
.about-main-card,
.about-side-card,
.about-part {
  padding: 1rem;
}

.story-card h2,
.section-head h2,
.about-hero-copy h1,
.about-parts h2,
.about-end h2 {
  margin: 0;
  line-height: 1.06;
}

.story-card h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  max-width: 16ch;
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.info-panel h3,
.about-side-card h3,
.about-part h3,
.about-note strong {
  margin: 0 0 0.7rem;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 1.22rem;
  line-height: 1.18;
}

.info-panel ul,
.about-side-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.info-panel.muted {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.7), rgba(242, 233, 220, 0.78));
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.2rem 0 1.4rem;
}

.topic-card {
  padding: 1rem;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(248, 239, 228, 0.82)),
    var(--panel-strong);
}

.topic-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.18rem;
}

.topic-card p {
  margin: 0;
}

.section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  max-width: 22ch;
}

.about-hero {
  padding-bottom: 1.2rem;
}

.about-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 0.98;
  max-width: 10ch;
}

.about-aside {
  padding: 1rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.about-note {
  padding: 1rem;
  background: linear-gradient(145deg, rgba(166, 109, 69, 0.08), rgba(255, 252, 247, 0.9));
}

.about-note strong {
  display: block;
}

.about-note p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-layout {
  padding-bottom: 1rem;
}

.about-main-card {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 238, 227, 0.9));
}

.about-main-card p {
  margin: 0 0 0.9rem;
}

.about-main-card p:last-child {
  margin-bottom: 0;
}

.about-side-card {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.95), rgba(240, 230, 216, 0.92));
}

.about-parts {
  padding: 0.2rem 0 1rem;
}

.about-parts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-part {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(247, 239, 228, 0.84));
}

.about-part h3 {
  margin: 0 0 0.6rem;
}

.about-part p {
  margin: 0;
}

.about-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(123, 138, 90, 0.12), rgba(255, 252, 247, 0.9));
}

.about-end-copy {
  max-width: 56ch;
}

.about-end-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.about-end-copy p {
  margin: 0.85rem 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1rem;
}

.footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer nav a:hover,
.footer nav a:focus-visible {
  color: var(--text);
}

.about-bullets {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .home-hero,
  .about-hero,
  .content-split,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-parts-grid {
    grid-template-columns: 1fr;
  }

  .about-end {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .page-frame {
    padding-inline: 0.75rem;
  }

  .site-bar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .footer nav {
    justify-content: flex-start;
  }

  .hero-copy h1,
  .about-hero-copy h1 {
    max-width: 100%;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-frame {
    padding-inline: 0.62rem;
  }

  .site-mark {
    width: 3rem;
    height: 3rem;
  }

  .hero-copy,
  .hero-visual,
  .story-card,
  .info-panel,
  .topic-card,
  .about-hero-copy,
  .about-aside,
  .about-main-card,
  .about-side-card,
  .about-part,
  .about-end,
  .about-note {
    border-radius: 20px;
  }

  .hero-copy h1,
  .about-hero-copy h1 {
    font-size: 2.2rem;
  }
}
