:root {
  color-scheme: light;
  --brand: #a20d20;
  --brand-dark: #770b18;
  --ink: #202228;
  --muted: #565962;
  --paper: #fff;
  --wash: #f7f5f4;
  --line: #ded8d7;
  --focus: #1952ab;
  --radius: .75rem;
  --shadow: 0 8px 24px #29232912;
  --width: 76rem;
  --gutter: clamp(1rem, 3vw, 2rem);
  --space: clamp(2rem, 5vw, 4.5rem);
  --font: system-ui, "Microsoft YaHei", "PingFang SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.7 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .23em; }
a:hover { color: var(--brand-dark); }
a:active, button:active { opacity: .85; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.17rem; }
p, li { overflow-wrap: anywhere; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--width)); margin-inline: auto; }
.skip { position: absolute; inset: .7rem auto auto .7rem; transform: translateY(-200%); z-index: 1; padding: .65rem 1rem; background: var(--paper); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; font-weight: 750; color: var(--ink); text-decoration: none; }
.brand img { width: auto; max-width: min(11rem, 55vw); max-height: 2.25rem; object-fit: contain; }
nav ul, .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .45rem; margin: 0; padding: 0; list-style: none; }
nav a, .menu-button { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem .65rem; border-radius: .45rem; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover, nav [aria-current="page"] { background: var(--wash); color: var(--brand); }
nav [aria-current="page"] { font-weight: 750; }
.main-nav { flex-basis: 100%; }
.main-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.main-nav a { width: 100%; }
.menu-button { border: 1px solid var(--line); background: var(--paper); font: inherit; color: var(--ink); cursor: pointer; }
.home-hero, .page-hero { background: var(--wash); }
.hero-grid { display: grid; gap: 1.5rem; align-items: center; padding-block: var(--space); }
.hero-copy p, .page-hero p { margin-top: 1rem; max-width: 38rem; color: var(--muted); }
.hero-media { overflow: hidden; border-radius: var(--radius); background: #ede5e3; }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.page-hero { padding-block: 1.5rem var(--space); }
.breadcrumbs { margin-bottom: .8rem; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before { content: "›"; margin-inline: .25rem .55rem; color: var(--muted); }
.breadcrumbs [aria-current="page"] { background: none; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--brand); border-radius: .5rem; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--brand-dark); color: #fff; }
.button.secondary { background: transparent; color: var(--brand); }
.button.secondary:hover { background: #f8e8ea; }
.content { padding-block: var(--space); }
.section + .section { margin-top: var(--space); }
.section > h2 { margin-bottom: 1rem; }
.section > .button { margin-top: 1rem; }
.subnav { margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-copy { padding: 1rem 1.2rem 1.2rem; }
.card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.card p { margin-top: .5rem; color: var(--muted); }
.prose { max-width: 49rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2:not(:first-child) { margin-top: 1.8rem; }
.prose figure img { border-radius: .45rem; }
.notice, .source { margin-bottom: 1.25rem; color: var(--muted); }
.notice { padding: .65rem 1rem; border-inline-start: .25rem solid var(--brand); background: var(--wash); }
details { max-width: 49rem; border-bottom: 1px solid var(--line); }
summary { min-height: 44px; padding: .65rem .25rem; font-weight: 700; cursor: pointer; }
details p { padding: 0 .25rem .8rem; }
.site-footer { padding-block: 1.25rem; background: var(--wash); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.footer-inner p { font-weight: 700; }
@media (min-width: 48rem) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space); }
}
@media (min-width: 64rem) {
  .menu-button { display: none; }
  .main-nav { flex-basis: auto; }
  .main-nav ul { display: flex; }
  .main-nav a { width: auto; }
}
[hidden] { display: none; }
@media (width < 64rem) {
  .menu-button:not([hidden])[aria-expanded="false"] + .main-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; }
}

