:root {
  --brand: #8B1E3F;
  --brand-soft: #B86A7C;
  --ink-dark: #211A1D;
  --paper: #F7F4F5;
  --paper-2: #EEE8EA;
  --text: #2C2729;
  --muted: #746B6F;
  --accent: #D94A5D;
  --line: #D9CFD2;
  --white: #FFFFFF;
  --shadow: 0 16px 44px rgba(33, 26, 29, .08);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 36px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text); background: var(--paper); line-height: 1.7; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(33, 26, 29, .96); color: var(--white); backdrop-filter: blur(10px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand strong { display: block; font-size: 1.08rem; letter-spacing: .03em; }
.brand small { display: block; color: #d9cfd2; font-size: .78rem; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a { color: #f8f1f3; text-decoration: none; padding: 9px 13px; border-radius: 999px; font-size: .95rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: #3a2a31; }
.nav-toggle { display: none; border: 1px solid #5d4d53; color: var(--white); background: transparent; border-radius: 10px; padding: 8px 12px; }
.hero { background: var(--ink-dark); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; align-items: stretch; }
.hero-copy { padding: 76px 54px 68px 0; align-self: center; }
.hero-copy h1 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.05; margin: 0 0 22px; letter-spacing: -.04em; }
.hero-copy p { color: #e4dadd; font-size: 1.08rem; max-width: 670px; }
.hero-media { position: relative; min-height: 420px; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-dark), transparent 28%); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { color: var(--brand-soft); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--white); text-decoration: none; font-weight: 700; border: 1px solid var(--accent); }
.button:hover { filter: brightness(.96); }
.button--ghost { background: transparent; color: inherit; border-color: currentColor; }
.section { padding: 72px 0; }
.section--soft { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.15; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }
.lead-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 26px; }
.feature-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-panel img { width: 100%; aspect-ratio: 16/8.8; object-fit: cover; }
.feature-panel__body { padding: 28px; }
.feature-panel h2, .feature-panel h3 { margin-top: 0; }
.story-list { display: grid; gap: 16px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-width: 0; }
.story-card h3 { margin: 10px 0 8px; font-size: 1.15rem; line-height: 1.45; }
.story-card h3 a { text-decoration: none; }
.story-card h3 a:hover { color: var(--brand); }
.story-card p { margin: 0; color: var(--muted); }
.story-card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--brand); font-size: .78rem; font-weight: 700; }
.story-card--compact { padding: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { background: var(--paper-2); color: #654b55; border-radius: 999px; padding: 4px 9px; font-size: .75rem; }
.topic-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic-link { display: block; padding: 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.topic-link strong { display: block; margin-bottom: 5px; }
.topic-link span { color: var(--muted); font-size: .9rem; }
.notice { border-left: 4px solid var(--brand); background: #fffafb; padding: 18px 20px; border-radius: 0 12px 12px 0; }
.breadcrumb { padding: 24px 0 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #b5a8ad; }
.page-hero { padding: 62px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1.08; margin: 8px 0 16px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.index-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
.search-input { width: min(100%, 420px); min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--white); color: var(--text); }
.category-block { margin: 42px 0; }
.category-block h2 { font-size: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; }
.article-main { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.article-main h1 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.15; margin: 8px 0 18px; }
.article-main h2 { margin-top: 2.1em; font-size: 1.45rem; }
.article-main p { font-size: 1.03rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.article-aside { position: sticky; top: 104px; display: grid; gap: 16px; }
.aside-card { background: var(--paper-2); border-radius: 14px; padding: 18px; }
.aside-card h2 { font-size: 1rem; margin-top: 0; }
.aside-card a { display: block; margin: 8px 0; }
.search-form { display: flex; gap: 10px; max-width: 700px; }
.search-form input { flex: 1; min-width: 0; }
.empty-state, .error-page { padding: 90px 0; }
.site-footer { margin-top: 72px; background: var(--ink-dark); color: #efe7e9; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.footer-grid h2 { font-size: 1rem; margin: 0 0 12px; }
.footer-grid p { color: #cfc1c6; max-width: 500px; }
.footer-grid a { display: block; color: #e2d8dc; margin: 7px 0; }
.footer-bottom { border-top: 1px solid #463840; margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; color: #baaab0; font-size: .85rem; }
:focus-visible { outline: 3px solid #f39bad; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 54px 0 32px; }
  .hero-media { min-height: 320px; }
  .lead-grid, .article-layout { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-aside { position: static; }
}
@media (max-width: 720px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 12px; right: 12px; top: 68px; padding: 12px; background: #2c2226; border: 1px solid #59464f; border-radius: 14px; flex-direction: column; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 12px; }
  .brand small { display: none; }
  .section { padding: 52px 0; }
  .section-head, .index-toolbar, .footer-bottom { align-items: stretch; flex-direction: column; }
  .story-grid, .topic-rail, .footer-grid { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .search-form .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
