/* curtainraiser — 卷帘人
   Palette: warm paper, ink gray, muted gold. Minimal. */
:root {
  --paper: #FAF7F1;
  --ink: #2A2A28;
  --ink-soft: #6B6560;
  --gold: #A8894F;
  --line: #E7DECD;
  --card: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.9;
  font-size: 17px;
}
.en { font-family: "Inter", sans-serif; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-head { padding: 56px 0 8px; text-align: center; }
.brand-cn { font-size: 15px; letter-spacing: 12px; color: var(--ink-soft); text-indent: 12px; }
.brand-en { font-family: "Inter", sans-serif; font-size: 44px;
            letter-spacing: 3px; margin: 10px 0 4px; color: var(--ink); }
.brand-tag { font-size: 14px; color: var(--ink-soft); letter-spacing: 2px; }
.gold-rule { width: 56px; border: none; border-top: 2px solid var(--gold);
             margin: 28px auto; }

/* nav */
/* header — Hermès-style two-tier: brand bar + sticky nav strip */
body { padding-top: 0; }
.hermes-head { background: var(--paper); }
.brand-bar { position: relative; text-align: center; padding: 20px 0 16px; }
.wordmark { display: inline-block; text-decoration: none; color: var(--ink);
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: 22px; letter-spacing: 12px; text-indent: 12px; }
.wordmark span { display: block; font-family: "Inter", sans-serif; font-weight: 500;
  font-size: 11px; letter-spacing: 5px; text-indent: 5px; color: var(--ink-soft); margin-top: 8px; }
.nav-strip { position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: var(--paper); border-bottom: 1px solid rgba(42,42,40,.14); }
.nav-links { max-width: 760px; margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; justify-content: center; gap: 36px; }
.nav-links > a, .has-menu > a { display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav-links > a > b, .has-menu > a > b { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2px; }
.nav-links > a > span, .has-menu > a > span { font-size: 10px; font-weight: 400; letter-spacing: 3px; color: var(--ink-soft); }
.nav-links > a:hover, .has-menu > a:hover { border-bottom-color: var(--ink); }
.nav-links > a.active > b, .has-menu > a.active > b { color: var(--gold); }
.nav-links > a.active, .has-menu > a.active { border-bottom-color: var(--gold); }
.nav-toggle { display: none; }
.tagline { text-align: center; font-size: 14px; letter-spacing: 4px; text-indent: 4px;
  color: var(--ink-soft); padding: 36px 24px 4px; }
@media (max-width: 640px) {
  .nav-toggle { display: block; position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%); background: none; border: 0; cursor: pointer; padding: 10px; }
  .nav-toggle span { display: block; width: 20px; height: 1px; background: var(--ink); margin: 6px 0; }
  .nav-strip { display: none; }
  .nav-strip.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 0; }
  .nav-links a { padding: 15px 24px; font-size: 13px; border-bottom: 1px solid rgba(42,42,40,.07); }
  .nav-links a.active { border-bottom-color: rgba(42,42,40,.07); border-left: 3px solid var(--gold); padding-left: 21px; }
}
/* hero */
.hero { text-align: center; padding: 40px 0 20px; }
.hero h1 { font-size: 27px; font-weight: 600; letter-spacing: 4px; margin-bottom: 18px; }
.hero p { color: var(--ink-soft); font-size: 16px; max-width: 560px; margin: 0 auto 12px; }
.hero .en-line { font-family: "Inter", sans-serif; font-style: italic;
                 color: var(--ink-soft); font-size: 16px; }

/* sections */
.section { padding: 34px 0; }
.section h2 { font-size: 19px; letter-spacing: 6px; text-indent: 6px;
              text-align: center; margin-bottom: 6px; }
.section .sub { text-align: center; color: var(--ink-soft); font-size: 13px;
                letter-spacing: 2px; margin-bottom: 26px; }

/* log entries */
.entry { background: var(--card); border: 1px solid var(--line); border-radius: 10px;
         padding: 26px 30px; margin-bottom: 20px; }
.entry .date { font-family: "Inter", sans-serif; font-size: 14px;
               color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.entry h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: 1px; }
.entry h3 a { color: var(--ink); text-decoration: none; }
.entry h3 a:hover { color: var(--gold); }
.entry p { font-size: 15px; color: var(--ink-soft); }
.entry .more { display: inline-block; margin-top: 10px; font-size: 14px;
               color: var(--gold); text-decoration: none; letter-spacing: 1px; }

/* article body */
.article { padding: 20px 0 40px; }
.article .date { font-family: "Inter", sans-serif; color: var(--gold);
                 letter-spacing: 2px; font-size: 14px; margin-bottom: 10px; }
.article h1 { font-size: 26px; letter-spacing: 2px; margin-bottom: 26px; }
.article p { margin-bottom: 18px; }
.article h3 { font-size: 18px; margin: 30px 0 12px; color: var(--ink); }
.article ul { margin: 0 0 18px 22px; }
.article li { margin-bottom: 8px; }
.back { display: inline-block; margin: 10px 0 30px; color: var(--gold);
        text-decoration: none; font-size: 14px; letter-spacing: 1px; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 28px 0 46px;
         text-align: center; color: var(--ink-soft); font-size: 13px; letter-spacing: 1px; }
footer .en { font-style: italic; }

/* mega menu — Hermès-style hover dropdown, only where sub-content exists */
.has-menu { position: relative; padding-bottom: 16px; margin-bottom: -16px; }
.mega { display: none; position: absolute; top: calc(100% - 16px); left: 50%; transform: translateX(-50%);
  background: var(--paper); border: 1px solid rgba(42,42,40,.12);
  min-width: 230px; padding: 10px 0; z-index: 101; }
.has-menu:hover .mega { display: block; }
.mega a { display: flex !important; align-items: baseline; gap: 14px;
  padding: 11px 26px !important; border-bottom: none !important; white-space: nowrap;
  color: var(--ink); text-decoration: none; }
.mega a b { font-size: 11px; letter-spacing: 2px; color: var(--gold); font-weight: 600; }
.mega a span { font-size: 13px; letter-spacing: 1px; color: var(--ink); }
.mega a:hover { background: rgba(42,42,40,.045); }
.mega a:hover span { color: var(--ink); }
@media (max-width: 640px) { .mega { display: none !important; } }
