
:root {
    --ink: #251914;
    --soft-ink: #5a4637;
    --paper: #efe2c2;
    --paper-light: #f8efd8;
    --paper-deep: #d8bf88;
    --gold: #a9792b;
    --red: #8e2d23;
    --line: rgba(70, 48, 28, .22);
    --shadow: 0 18px 40px rgba(37, 25, 20, .18);
    --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 10%, rgba(169, 121, 43, .16), transparent 34%),
        linear-gradient(180deg, #2b1b16 0, #3d251b 220px, var(--paper) 221px, var(--paper-light) 100%);
    line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(239,226,194,.18);
    background: rgba(37, 25, 20, .94);
    backdrop-filter: blur(10px);
}
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper-light); }
.brand-seal {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #f4d48a;
    font-weight: 800;
    letter-spacing: .03em;
    background: radial-gradient(circle, rgba(142,45,35,.58), rgba(37,25,20,.92));
    box-shadow: inset 0 0 0 5px rgba(239,226,194,.08);
}
.brand-text { font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
    color: rgba(248,239,216,.82);
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 15px;
}
.site-nav a:hover, .site-nav a.active {
    color: #fff4c5;
    background: rgba(169,121,43,.28);
}
.nav-toggle {
    display: none;
    border: 1px solid rgba(248,239,216,.35);
    background: transparent;
    color: var(--paper-light);
    border-radius: 999px;
    padding: 8px 14px;
}
.hero {
    padding: 74px 0 46px;
    color: var(--paper-light);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 36px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f1d99a;
    letter-spacing: .16em;
    font-size: 14px;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
}
.hero h1, .page-hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.12;
    letter-spacing: .02em;
}
.hero p { font-size: 18px; color: rgba(248,239,216,.86); max-width: 760px; }
.hero-card {
    background: linear-gradient(160deg, rgba(239,226,194,.95), rgba(216,191,136,.86));
    color: var(--ink);
    border: 1px solid rgba(255,255,255,.42);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}
.hero-card img { border-radius: 14px; background: rgba(37,25,20,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 800;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #fff8dc;
    box-shadow: 0 8px 20px rgba(37,25,20,.18);
}
.btn.secondary { background: transparent; color: #fff1bd; border-color: rgba(255,241,189,.55); }
.btn.paper { background: var(--paper-light); color: var(--ink); }
.section { padding: 58px 0; }
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 24px;
}
.section-title h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); }
.section-title p { margin: 0; max-width: 620px; color: var(--soft-ink); }
.card, .archive-card, .note-card, .faq-item {
    background: rgba(248,239,216,.78);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(37,25,20,.08);
}
.card { padding: 24px; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.kicker { color: var(--red); font-weight: 800; letter-spacing: .08em; }
.year-tile {
    position: relative;
    overflow: hidden;
    padding: 22px;
    min-height: 142px;
}
.year-tile strong { display: block; font-size: 30px; color: var(--red); }
.year-tile span { color: var(--soft-ink); }
.year-tile::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -20px;
    width: 120px;
    height: 120px;
    border: 12px solid rgba(169,121,43,.16);
    border-radius: 50%;
}
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(248,239,216,.88); }
.index-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.index-table th, .index-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.index-table th { background: rgba(169,121,43,.16); color: var(--ink); }
.index-table tr:last-child td { border-bottom: 0; }
.media-card { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: center; }
.media-card img { width: 108px; height: 108px; object-fit: contain; border-radius: 14px; background: rgba(37,25,20,.06); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
    display: inline-flex;
    border: 1px solid rgba(142,45,35,.26);
    background: rgba(142,45,35,.08);
    color: var(--red);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 14px;
}
.page-hero {
    padding: 68px 0 48px;
    color: var(--paper-light);
}
.page-hero p { max-width: 820px; color: rgba(248,239,216,.86); font-size: 18px; }
.breadcrumb { color: #f1d99a; font-size: 14px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.search-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}
.form-field label { display: block; font-weight: 800; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff9e9;
    color: var(--ink);
    padding: 12px 14px;
    font: inherit;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.timeline {
    position: relative;
    padding-left: 26px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--gold), var(--red));
}
.timeline-item {
    position: relative;
    margin-bottom: 18px;
    padding: 18px 20px;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid var(--paper-light);
}
.archive-card { overflow: hidden; }
.archive-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: rgba(37,25,20,.06); }
.archive-card .pad { padding: 20px; }
.note-card { padding: 22px; }
.note-card h3, .card h3, .faq-item h3 { margin-top: 0; }
.faq-item { padding: 20px; }
.callout {
    border-left: 5px solid var(--red);
    background: rgba(142,45,35,.08);
    padding: 18px 20px;
    border-radius: 14px;
}
.domain-box {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37,25,20,.72);
    color: #f8efd8;
    border: 1px solid rgba(248,239,216,.24);
}
.site-footer {
    margin-top: 40px;
    background: #251914;
    color: rgba(248,239,216,.86);
    padding: 42px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 26px;
}
.site-footer a { color: #f4d48a; }
.muted { color: rgba(248,239,216,.62); }
.result-list { margin-top: 18px; display: grid; gap: 12px; }
.result-item { padding: 14px 16px; border-radius: 14px; background: rgba(255,249,233,.74); border: 1px solid var(--line); }
@media (max-width: 900px) {
    .hero-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .search-panel { grid-template-columns: 1fr; }
    .site-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        padding: 14px;
        border-radius: 16px;
        background: rgba(37,25,20,.98);
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); }
    .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
    .container { width: min(100% - 22px, 1160px); }
    .hero, .page-hero { padding-top: 48px; }
    .media-card { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .site-nav.open { grid-template-columns: 1fr; }
    .brand-text { font-size: 15px; }
}
