:root {
    --ink: #211612;
    --deep: #2d1b14;
    --paper: #f2e2bd;
    --paper-soft: #fbf2da;
    --gold: #b88a36;
    --red: #8e3029;
    --muted: #725d48;
    --line: rgba(71, 43, 28, .22);
    --shadow: 0 20px 50px rgba(33, 22, 18, .16);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
    background:
        radial-gradient(circle at top left, rgba(184, 138, 54, .16), transparent 32rem),
        linear-gradient(180deg, #f7eacd 0%, #ebd2a5 48%, #d5b078 100%);
    line-height: 1.75;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .13;
    background-image: linear-gradient(90deg, rgba(33, 22, 18, .13) 1px, transparent 1px), linear-gradient(rgba(33, 22, 18, .1) 1px, transparent 1px);
    background-size: 34px 34px;
    mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.top-strip { background: var(--deep); color: var(--paper); font-size: .92rem; }
.top-strip-inner { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 226, 189, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--deep); color: var(--paper); border: 3px solid var(--gold); letter-spacing: -1px; }
.brand-text { font-size: 1.12rem; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a { padding: 10px 13px; border-radius: 999px; color: #3c2b22; font-weight: 700; }
.main-nav a:hover, .main-nav .is-active { background: var(--deep); color: var(--paper); }
.menu-toggle { display: none; width: 42px; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-soft); }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--deep); margin: 5px auto; }
.hero { padding: 72px 0 46px; }
.archive-hero { background: linear-gradient(135deg, rgba(45, 27, 20, .12), rgba(142, 48, 41, .08)); }
.hero-grid, .page-hero-grid, .split, .contact-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 48px; }
.hero-copy h1, .page-hero h1 { margin: 0 0 20px; font-size: clamp(2.35rem, 6vw, 5.2rem); line-height: 1.08; letter-spacing: -2px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 4.1rem); }
.hero-copy p, .page-hero p { font-size: 1.08rem; color: #4a3528; }
.eyebrow { display: inline-flex; margin: 0 0 12px; padding: 5px 12px; border: 1px solid var(--gold); color: var(--red); background: rgba(251, 242, 218, .68); border-radius: 999px; font-weight: 800; letter-spacing: .04em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border-radius: 999px; font-weight: 900; border: 1px solid var(--deep); cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn.primary { background: var(--deep); color: var(--paper); box-shadow: 0 10px 24px rgba(45, 27, 20, .2); }
.btn.ghost { background: transparent; color: var(--deep); }
.hero-note { display: inline-block; padding: 10px 14px; border-left: 4px solid var(--red); background: rgba(251, 242, 218, .75); }
.framed-art, .page-hero img, .side-illustration, .feature-card img, .archive-card img, .video-thumb img { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-soft); box-shadow: var(--shadow); }
.section { padding: 70px 0; position: relative; }
.paper-section { background: rgba(251, 242, 218, .44); border-block: 1px solid rgba(71, 43, 28, .15); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head.compact { max-width: 620px; }
h2 { margin: 0 0 14px; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.2; }
h3 { margin: 12px 0 8px; font-size: 1.2rem; }
p { margin: 0 0 12px; }
.timeline-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline-band article, .info-card, .feature-card, .archive-card, .person-card, .video-card, .contact-card, .article-list article { background: rgba(251, 242, 218, .8); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 30px rgba(33, 22, 18, .08); }
.timeline-band article span, .person-card span, .video-thumb span { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--red); color: var(--paper); font-weight: 900; font-size: .9rem; margin-bottom: 12px; }
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.index-layout { display: grid; gap: 10px; }
.archive-card { transition: transform .2s ease, box-shadow .2s ease; }
.archive-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.archive-card h2 { font-size: 1.25rem; }
.split.reverse { grid-template-columns: .98fr 1.02fr; }
.text-link { display: inline-flex; margin-top: 10px; color: var(--red); font-weight: 900; border-bottom: 2px solid var(--gold); }
.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto auto; gap: 22px; }
.feature-card.tall { grid-row: span 2; }
.faq-list { display: grid; gap: 14px; }
details { background: rgba(251, 242, 218, .82); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
summary { cursor: pointer; font-weight: 900; color: var(--deep); }
details p { margin-top: 10px; color: var(--muted); }
.contact-cta { padding-top: 40px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--deep); color: var(--paper); border-radius: 30px; padding: 34px; box-shadow: var(--shadow); }
.cta-box .eyebrow { background: rgba(242, 226, 189, .12); color: var(--paper); }
.page-hero { padding: 62px 0; background: linear-gradient(135deg, rgba(45, 27, 20, .11), rgba(184, 138, 54, .13)); }
.content-narrow { max-width: 850px; }
.filter-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
label { display: grid; gap: 8px; font-weight: 900; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: var(--paper-soft); color: var(--ink); border-radius: 14px; padding: 13px 14px; font: inherit; }
.archive-filter-results .is-hidden { display: none; }
.vertical-timeline { position: relative; display: grid; gap: 22px; max-width: 880px; }
.vertical-timeline::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 3px; background: var(--gold); }
.vertical-timeline article { position: relative; padding-left: 62px; }
.vertical-timeline article::before { content: ""; position: absolute; left: 8px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--deep); border: 4px solid var(--gold); }
.vertical-timeline span { color: var(--red); font-weight: 900; }
.people-table-wrap { overflow-x: auto; background: rgba(251, 242, 218, .7); border: 1px solid var(--line); border-radius: var(--radius); }
.people-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.people-table th, .people-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; }
.people-table th { background: var(--deep); color: var(--paper); }
.article-list { display: grid; gap: 20px; }
.video-thumb { position: relative; margin: -6px -6px 14px; }
.video-thumb span { position: absolute; left: 16px; top: 16px; }
.contact-form { background: rgba(251, 242, 218, .85); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.site-footer { background: var(--deep); color: var(--paper); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 34px; padding: 46px 0; }
.footer-logo { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--deep); font-weight: 900; font-size: 1.2rem; margin-bottom: 12px; }
.site-footer h2 { font-size: 1.05rem; color: var(--gold); }
.site-footer a { display: block; margin: 7px 0; color: var(--paper); }
.footer-bottom { border-top: 1px solid rgba(242, 226, 189, .18); padding: 14px 0; font-size: .92rem; color: rgba(242, 226, 189, .74); }
@media (max-width: 920px) {
    .menu-toggle { display: block; }
    .main-nav { position: absolute; top: 100%; left: 16px; right: 16px; display: none; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
    .main-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); }
    .hero-grid, .page-hero-grid, .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; }
    .timeline-band, .card-grid.three, .card-grid.four, .feature-grid, .filter-panel, .footer-grid { grid-template-columns: 1fr; }
    .feature-card.tall { grid-row: auto; }
    .hero { padding-top: 48px; }
    .section { padding: 52px 0; }
}
@media (max-width: 560px) {
    .top-strip-inner, .cta-box { display: grid; }
    .hero-copy h1, .page-hero h1 { letter-spacing: -1px; }
    .brand-text { display: none; }
    .main-nav.is-open { grid-template-columns: 1fr; }
    .container { width: min(100% - 24px, 1160px); }
}
