:root {
  --ink: #21152e;
  --cloud: #f8f9f8;
  --paper: #fff;
  --mist: #e6eeee;
  --gold: #b89247;
  --muted: #615b68;
  --line: #d8d6db;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; background: var(--cloud); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.85; letter-spacing: 0; }
button { font: inherit; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible { outline: 3px solid #886323; outline-offset: 5px; }
.hero a:focus-visible { outline-color: #e7cb96; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 14px; z-index: 50; padding: 10px 16px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.hero { background: var(--ink); color: var(--cloud); }
.brand-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; border-bottom: 1px solid #ffffff29; }
.brand-word { font-size: 18px; font-weight: 700; }
.official-note { font-size: 13px; color: #d4cedb; }
.hero-copy { padding-block: 62px 72px; }
.eyebrow { margin: 0 0 18px; color: #775622; font-size: 14px; font-weight: 700; }
.hero .eyebrow { color: #d4b67c; }
.hero-title { margin-bottom: 26px; font-size: 120px; font-weight: 800; line-height: 1.18; }
h1 { margin: 0 0 14px; font-size: 30px; line-height: 1.5; font-weight: 700; }
.tagline { margin: 0 0 16px; font-size: 23px; font-weight: 500; }
.hero-description { max-width: 730px; margin: 0; color: #dbd5e2; font-size: 17px; }
.hero-actions { display: flex; gap: 22px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border: 1px solid #d9d2e0; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--cloud); transition: background .18s ease; }
.button:hover { background: #dfe9e8; }
.button:active { box-shadow: inset 0 0 0 2px #b89247; }
.button-dark { background: var(--ink); color: var(--cloud); border-color: var(--ink); }
.button-dark:hover { background: #45374f; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.nav-shell { position: sticky; top: 0; z-index: 20; background: var(--cloud); border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 60px; }
.site-nav { display: flex; gap: 10px; align-items: center; min-height: 60px; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 17px; border-bottom: 3px solid transparent; font-size: 15px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { background: var(--mist); }
.site-nav a.is-current { border-bottom-color: var(--gold); font-weight: 800; }
.menu-toggle { display: none; min-height: 44px; min-width: 76px; padding: 6px 16px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.site-nav[hidden] { display: none; }
section { scroll-margin-top: 14px; }
#hdmg-home { scroll-margin-top: 0; }
.section { padding-block: 84px; border-bottom: 1px solid var(--line); }
h2 { margin: 0 0 26px; font-size: 42px; font-weight: 750; line-height: 1.4; }
h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.6; }
p { overflow-wrap: anywhere; }
.lead { font-size: 20px; color: var(--muted); margin-bottom: 24px; }
.editorial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 92px; align-items: center; }
.editorial-layout > div > p:not(.eyebrow) { max-width: 680px; }
.reading-points { margin-top: 30px; }
.reading-points article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.reading-points p { margin: 0; color: var(--muted); }
.gold-number { color: #775622; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 5px; }
.content-figure { margin: 0; min-width: 0; }
.content-figure img { display: block; width: 100%; height: auto; object-fit: contain; background: #e0e5e5; }
.portrait-figure img { aspect-ratio: 2 / 3; }
.landscape-figure img { aspect-ratio: 3 / 2; }
figcaption { padding-top: 12px; font-size: 12px; line-height: 1.75; color: var(--muted); }
.mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); gap: 64px; align-items: end; margin-bottom: 42px; }
.section-head h2 { margin: 0; }
.section-head > p { margin: 0; color: var(--muted); }
.genre-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.genre-item { padding: 30px 28px; border: 1px solid #d8dce0; border-radius: 8px; background: #f7f1f4; }
.genre-item:nth-child(2) { background: #f0f1f8; }
.genre-item:nth-child(3) { background: #f5f7f2; }
.genre-item h3 { margin-top: 14px; font-size: 26px; }
.genre-subtitle { font-weight: 700; }
.genre-item p:last-child { color: #4e5a60; margin-bottom: 0; }
.access-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.address-line { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; color: var(--muted); font-size: 14px; }
.address-line span { display: block; color: var(--ink); font-size: 17px; font-variant-numeric: tabular-nums; }
.faq-layout, .about-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 72px; }
.faq-list article { padding-block: 20px; border-top: 1px solid var(--line); }
.faq-list article:first-child { padding-top: 0; border-top: 0; }
.faq-list p { margin: 0; color: var(--muted); }
.about-copy > p:first-child { margin-top: 0; }
.source-note { font-size: 13px; color: var(--muted); }
.site-footer { background: var(--ink); color: var(--cloud); padding-block: 42px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.site-footer strong { font-size: 20px; }
.site-footer p { margin: 8px 0 0; color: #d4cedb; font-size: 14px; }
.footer-domain { color: #d4b67c; font-size: 14px; overflow-wrap: anywhere; }
.hero-copy { padding-block: 72px 80px; }
.hero-title { margin-bottom: 30px; }
.hero-actions .button { background: #e9eeee; }
.nav-inner { display: flex; justify-content: center; }
.site-nav { gap: 22px; }
.feature-band { background: #30243d; color: #f8f9f8; }
.feature-band .eyebrow, .feature-band .gold-number { color: #d4b67c; }
.feature-band .lead, .feature-band .reading-points p, .feature-band figcaption { color: #dbd5e2; }
.feature-band .reading-points article { border-color: #ffffff26; }
.feature-band .editorial-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 100px; }
.feature-band .portrait-figure { padding-top: 12px; }
.feature-band .content-figure img { border-radius: 8px; }
.feature-band h2 { font-size: 44px; }
.reading-points h3 { font-size: 18px; }
.mist { padding-block: 96px; }
.access-layout { gap: 64px; }
.access-layout h2 { font-size: 40px; }
.landscape-figure { align-self: center; }
.landscape-figure img { border-radius: 8px; }
.faq-band { background: #eef1f3; }
.faq-list { border-top: 1px solid #cbd0d6; }
.faq-list article, .faq-list article:first-child { padding: 24px 0; border-top: 0; border-bottom: 1px solid #cbd0d6; }
.faq-list h3 { font-size: 18px; }
.about-copy { border-left: 3px solid #b89247; padding-left: 28px; }
.work-entry { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 36px; border-top: 1px solid var(--line); }
.work-poster { margin: 0; }
.work-poster a { display: block; border-radius: 4px; outline-offset: 5px; transition: box-shadow .18s ease; }
.work-poster a:hover { box-shadow: 0 0 0 3px #a49aaf; }
.work-poster a:active { box-shadow: 0 0 0 3px #775622; }
.work-poster img { display: block; width: 100%; height: auto; aspect-ratio: 450 / 644; object-fit: contain; }
.work-copy h3 { font-size: 30px; }
.work-facts { margin-block: 28px; }
.work-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); padding-block: 12px; border-top: 1px solid var(--line); }
.work-facts dt, .work-boundary { color: var(--muted); }
.work-facts dd { margin: 0; }
.work-boundary { font-size: 14px; }
@media (max-width: 1100px) {
  .hero-title { font-size: 96px; }
  .editorial-layout { gap: 48px; grid-template-columns: minmax(0, 1fr) 280px; }
  .access-layout, .faq-layout, .about-layout { gap: 40px; }
  .feature-band .editorial-layout { gap: 48px; grid-template-columns: minmax(0, 1fr) 260px; }
  .site-nav { gap: 8px; }
  .genre-item { padding: 26px 22px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .hero-title { font-size: 64px; }
  h1 { font-size: 25px; }
  .nav-shell { position: static; }
  .nav-shell.is-enhanced { position: sticky; }
  .nav-inner { padding-block: 8px; }
  .nav-inner { display: block; }
  .work-entry { grid-template-columns: 1fr; gap: 28px; }
  .work-poster { width: min(100%, 300px); }
  .work-copy h3 { font-size: 26px; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { justify-content: flex-start; white-space: normal; }
  .nav-shell.is-enhanced .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-shell.is-enhanced .site-nav { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .section { padding-block: 58px; }
  h2 { font-size: 34px; }
  .editorial-layout, .access-layout, .faq-layout, .about-layout, .section-head { grid-template-columns: 1fr; gap: 32px; }
  .feature-band .editorial-layout { grid-template-columns: 1fr; gap: 32px; }
  .feature-band h2, .access-layout h2 { font-size: 34px; }
  .portrait-figure { width: min(100%, 300px); justify-self: center; }
  .genre-grid { grid-template-columns: 1fr; gap: 20px; }
  .genre-item h3 { font-size: 23px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .brand-bar { min-height: 66px; }
  .official-note { font-size: 12px; }
  .hero-copy { padding-block: 42px 48px; }
  .hero-title { font-size: 44px; margin-bottom: 22px; }
  h1 { font-size: 23px; }
  .tagline { font-size: 20px; }
  .hero-description { font-size: 16px; }
  h2 { font-size: 30px; }
  .feature-band h2, .access-layout h2 { font-size: 30px; }
  .lead { font-size: 18px; }
  .genre-grid { grid-template-columns: 1fr; gap: 12px; }
  .genre-item { padding: 24px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
