:root {
  --ink: #0B0C0E;
  --ink-2: #131417;
  --forest: #0E2A26;
  --wine: #4A1220;
  --indigo: #1B1638;
  --amber: #C8912F;
  --champagne-a: #F2D9A0;
  --champagne-b: #C9A45B;
  --paper: #F5EFE3;
  --paper-2: #EDE3D1;
  --graphite: #33302B;
  --jade: #2F6E5E;
  --text-dark: #1E1C19;
  --muted-dark: #6A6358;
  --muted-light: #B9AC96;
  --line: rgba(200, 145, 47, 0.38);
  --line-soft: rgba(200, 145, 47, 0.18);
  --shadow-card: 6px 6px 0 rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 14px;
  --radius-tag: 2px;
  --container: 1240px;
  --frame-pad: 28px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-mono: "DIN Alternate", "Inter", "Arial Narrow", sans-serif;
  --step-0: 16px;
  --step-1: 21px;
  --step-2: 28px;
  --step-3: 38px;
  --step-4: 51px;
  --step-5: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 18% 0%, rgba(200, 145, 47, 0.12), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(47, 110, 94, 0.10), transparent 30rem);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 12px;
  z-index: 90;
  border: 1px solid rgba(200, 145, 47, 0.14);
  border-radius: 2px;
  pointer-events: none;
}

main {
  display: block;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 2px;
  background: var(--champagne-a);
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - (var(--frame-pad) * 2)), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
  scroll-margin-top: 120px;
}

.section--forest {
  background: linear-gradient(160deg, var(--forest), #081A17 78%);
  color: var(--paper);
}

.section--wine {
  background: linear-gradient(150deg, var(--wine), #260A11 76%);
  color: var(--paper);
}

.section--indigo {
  background: linear-gradient(145deg, var(--indigo), #0C0A1D 76%);
  color: var(--paper);
}

.section--paper {
  background: var(--paper);
  color: var(--text-dark);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.stack {
  display: grid;
  gap: 24px;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.eyebrow {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.text-lead {
  color: var(--muted-light);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.section--paper .text-lead {
  color: var(--muted-dark);
}

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.85;
}

.prose > * + * {
  margin-top: 24px;
}

.prose h2,
.prose h3 {
  margin-top: 40px;
}

.prose a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose strong {
  color: inherit;
  font-weight: 700;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 8px;
}

.prose blockquote {
  padding: 16px 24px;
  border-left: 3px solid var(--amber);
  background: rgba(200, 145, 47, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid {
  border-color: var(--champagne-b);
  background: linear-gradient(135deg, var(--champagne-a), var(--champagne-b));
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(200, 145, 47, 0.22);
}

.button--solid:hover {
  box-shadow: 6px 6px 0 rgba(200, 145, 47, 0.26);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(245, 239, 227, 0.03);
  color: var(--paper);
}

.button--ghost:hover {
  background: rgba(200, 145, 47, 0.12);
  color: var(--champagne-a);
}

.button--quiet {
  padding-inline: 8px;
  border-color: transparent;
  background: transparent;
  color: var(--amber);
}

.button--quiet:hover {
  color: var(--champagne-a);
}

.section--paper .button--ghost {
  border-color: rgba(51, 48, 43, 0.22);
  background: rgba(51, 48, 43, 0.03);
  color: var(--text-dark);
}

.section--paper .button--ghost:hover {
  background: rgba(200, 145, 47, 0.12);
  color: #7A571A;
}

.section--paper .button--quiet {
  color: #7A571A;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 12, 14, 0.94);
  color: var(--paper);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 217, 160, 0.6), transparent);
  pointer-events: none;
}

.header-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(calc(100% - (var(--frame-pad) * 2)), 1400px);
  margin-inline: auto;
  padding: 14px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--amber);
  border-radius: 2px;
  background: linear-gradient(135deg, var(--champagne-a), var(--champagne-b));
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 3px 3px 0 rgba(200, 145, 47, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-sub {
  color: var(--amber);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-tagline {
  max-width: 220px;
  padding-left: 14px;
  border-left: 1px solid var(--line-soft);
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.site-nav {
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 239, 227, 0.04), rgba(245, 239, 227, 0.015));
  box-shadow: inset 0 1px 0 rgba(245, 239, 227, 0.06);
}

.nav-list li {
  min-width: 0;
}

.nav-link {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  color: #DED3C0;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.nav-index {
  display: inline-block;
  margin-right: 6px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.72;
  transform: translateY(-1px);
}

.nav-link:hover {
  background: rgba(200, 145, 47, 0.12);
  color: var(--champagne-a);
}

.nav-link[aria-current="page"] {
  background: linear-gradient(135deg, var(--champagne-a), var(--champagne-b));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(11, 12, 14, 0.16);
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--ink);
  opacity: 0.65;
}

.nav-link[aria-current="page"]:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-actions .button {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.header-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(200, 145, 47, 0.1);
}

.header-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--champagne-a), var(--amber));
  transform-origin: left center;
  transition: width 0.08s linear;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 239, 227, 0.02);
  color: var(--paper);
}

.nav-toggle-box {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition:
    top 0.2s var(--ease),
    transform 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.nav-toggle-box span:first-child {
  top: 0;
}

.nav-toggle-box span:last-child {
  top: 10px;
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header[data-open] .nav-toggle {
  border-color: var(--amber);
  background: rgba(200, 145, 47, 0.14);
  color: var(--champagne-a);
}

.site-header[data-open] .nav-toggle-box span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.site-header[data-open] .nav-toggle-box span:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0B0C0E 0%, #07110F 62%, #0B0C0E 100%);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(200, 145, 47, 0.08), transparent 32%, rgba(47, 110, 94, 0.10) 72%, transparent);
  pointer-events: none;
}

.footer-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 64px);
  width: min(calc(100% - (var(--frame-pad) * 2)), var(--container));
  margin-inline: auto;
  padding: clamp(42px, 6vw, 72px) 0 22px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.brand--footer {
  align-items: flex-start;
}

.brand--footer .brand-name {
  font-size: 20px;
}

.brand--footer .brand-mark {
  box-shadow: 4px 4px 0 rgba(200, 145, 47, 0.14);
}

.footer-note {
  max-width: 360px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.85;
}

.footer-stamp {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(220px, 1.25fr);
  gap: 28px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--amber);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  border-bottom: 1px solid transparent;
  color: #D8CEBC;
  font-size: 14px;
  line-height: 1.5;
  transition:
    color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.footer-links a:hover {
  border-color: var(--amber);
  color: var(--champagne-a);
}

.footer-contact {
  font-style: normal;
}

.contact-line {
  display: block;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  color: #D8CEBC;
  font-size: 14px;
  line-height: 1.7;
}

.contact-label {
  display: block;
  margin-bottom: 2px;
  color: var(--amber);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: min(calc(100% - (var(--frame-pad) * 2)), var(--container));
  margin-inline: auto;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line-soft);
  color: #8F8678;
  font-size: 12px;
  line-height: 1.6;
}

.footer-legal p {
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}

.legal-links a {
  border-bottom: 1px solid transparent;
  color: #B9AC96;
}

.legal-links a:hover {
  border-color: var(--amber);
  color: var(--champagne-a);
}

.breadcrumb {
  margin: 0 0 24px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted-light);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--amber);
}

.breadcrumb-list a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--champagne-a);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--paper);
}

.section--paper .breadcrumb-list {
  color: var(--muted-dark);
}

.section--paper .breadcrumb-list [aria-current="page"] {
  color: var(--text-dark);
}

.chapter-head {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.chapter-number {
  min-width: 0.8em;
  color: transparent;
  background: linear-gradient(135deg, var(--champagne-a), var(--amber));
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--font-mono);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.05em;
}

.chapter-kicker {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chapter-title {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.chapter-count {
  align-self: start;
  justify-self: end;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.section--paper .chapter-head {
  border-bottom-color: rgba(51, 48, 43, 0.18);
}

.section--paper .chapter-title {
  color: var(--text-dark);
}

.section--paper .chapter-kicker {
  color: #8A641D;
}

.section--paper .chapter-count {
  border-color: rgba(51, 48, 43, 0.22);
  color: #8A641D;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-tag);
  background: rgba(200, 145, 47, 0.06);
  color: var(--amber);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--paper .tag {
  border-color: rgba(122, 87, 26, 0.3);
  background: rgba(200, 145, 47, 0.08);
  color: #7A571A;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(47, 110, 94, 0.14);
  color: #9AD0C2;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.status--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 3px rgba(47, 110, 94, 0.18);
}

.section--paper .status {
  color: #215E50;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.exhibit-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(245, 239, 227, 0.055), rgba(245, 239, 227, 0.018));
  box-shadow: var(--shadow-card);
}

.exhibit-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, transparent 50%, rgba(200, 145, 47, 0.10) 50%);
  pointer-events: none;
}

.exhibit-card > * + * {
  margin-top: 14px;
}

.exhibit-card h3 {
  font-size: 22px;
  line-height: 1.3;
}

.exhibit-card p {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.75;
}

.section--paper .exhibit-card {
  border-color: rgba(51, 48, 43, 0.16);
  background: #FBF7EF;
  box-shadow: 6px 6px 0 rgba(51, 48, 43, 0.08);
}

.section--paper .exhibit-card p {
  color: var(--muted-dark);
}

.card-grid--stagger .exhibit-card:nth-child(3n + 2) {
  margin-top: 32px;
}

.card-grid--stagger .exhibit-card:nth-child(3n + 3) {
  margin-top: 64px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat {
  padding: 20px 18px;
  border-left: 2px solid var(--amber);
  background: rgba(245, 239, 227, 0.035);
}

.stat-number {
  display: block;
  color: var(--champagne-a);
  font-family: var(--font-mono);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.section--paper .stat {
  border-left-color: #8A641D;
  background: rgba(51, 48, 43, 0.035);
}

.section--paper .stat-number {
  color: #8A641D;
}

.section--paper .stat-label {
  color: var(--muted-dark);
}

.stat-bar {
  height: 6px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(245, 239, 227, 0.12);
}

.stat-bar-fill {
  display: block;
  width: var(--bar, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--champagne-a), var(--amber));
  transform-origin: left;
  animation: barGrow 0.7s var(--ease) both;
}

.section--paper .stat-bar {
  background: rgba(51, 48, 43, 0.10);
}

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(245, 239, 227, 0.025);
}

.filter-button {
  appearance: none;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 0.18s,
    background 0.18s,
    border-color 0.18s;
}

.filter-button:hover {
  border-color: var(--line);
  color: var(--champagne-a);
}

.filter-button.is-active {
  border-color: var(--amber);
  background: rgba(200, 145, 47, 0.14);
  color: var(--champagne-a);
}

.section--paper .filter-button {
  color: var(--muted-dark);
}

.section--paper .filter-button.is-active {
  background: rgba(200, 145, 47, 0.12);
  color: #7A571A;
}

.filter-item {
  transition:
    opacity 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.filter-item.is-filtered-out {
  display: none;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(245, 239, 227, 0.02);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.compare-table caption {
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-light);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(200, 145, 47, 0.14);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: rgba(200, 145, 47, 0.08);
  color: var(--amber);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-table tbody tr {
  transition: background 0.18s;
}

.compare-table tbody tr:hover {
  background: rgba(200, 145, 47, 0.07);
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(47, 110, 94, 0.05);
}

.compare-table tbody tr:nth-child(even):hover {
  background: rgba(200, 145, 47, 0.10);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.section--paper .table-wrap {
  border-color: rgba(51, 48, 43, 0.15);
  background: #FBF7EF;
}

.section--paper .compare-table th,
.section--paper .compare-table td {
  border-bottom-color: rgba(51, 48, 43, 0.12);
}

.section--paper .compare-table thead th {
  background: rgba(200, 145, 47, 0.10);
  color: #7A571A;
}

.section--paper .compare-table tbody tr:hover {
  background: rgba(200, 145, 47, 0.09);
}

.table-note {
  margin-top: 10px;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.7;
}

.section--paper .table-note {
  color: var(--muted-dark);
}

.notice {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--amber);
  background: rgba(200, 145, 47, 0.07);
  color: var(--paper);
  font-size: 14px;
  line-height: 1.75;
}

.section--paper .notice {
  border-color: rgba(122, 87, 26, 0.22);
  border-left-color: #8A641D;
  background: rgba(200, 145, 47, 0.09);
  color: var(--text-dark);
}

.figure-frame {
  position: relative;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(245, 239, 227, 0.03);
  box-shadow: var(--shadow-card);
}

.figure-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(200, 145, 47, 0.12);
  pointer-events: none;
}

.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(200, 145, 47, 0.20), rgba(47, 110, 94, 0.15) 48%, rgba(27, 22, 56, 0.4));
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame--wide {
  aspect-ratio: 21 / 9;
}

.image-frame--tall {
  aspect-ratio: 4 / 5;
}

.image-caption {
  margin: 10px 4px 0;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.6;
}

.section--paper .figure-frame {
  border-color: rgba(51, 48, 43, 0.18);
  background: #FBF7EF;
  box-shadow: 6px 6px 0 rgba(51, 48, 43, 0.08);
}

.section--paper .image-caption {
  color: var(--muted-dark);
}

.anchor-toc {
  position: sticky;
  top: 98px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(245, 239, 227, 0.025);
}

.anchor-toc ol,
.anchor-toc ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.toc-link {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 1px solid rgba(200, 145, 47, 0.25);
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.5;
  transition:
    color 0.18s,
    border-color 0.18s,
    padding 0.18s;
}

.toc-link:hover,
.toc-link[aria-current="location"] {
  padding-left: 16px;
  border-color: var(--amber);
  color: var(--champagne-a);
}

.reveal.is-reveal-ready {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.32s var(--ease),
    transform 0.32s var(--ease);
}

@media (max-width: 1180px) {
  .brand-tagline {
    display: none;
  }

  .header-frame {
    grid-template-columns: auto 1fr auto;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (max-width: 1080px) {
  .header-frame {
    grid-template-columns: 1fr auto;
    padding: 12px 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    max-height: calc(100vh - 130px);
    overflow: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(160deg, #121316, #0B0C0E 70%);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.18s var(--ease),
      transform 0.18s var(--ease),
      visibility 0.18s;
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .nav-link {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(200, 145, 47, 0.10);
    border-radius: 8px;
    font-size: 15px;
  }

  .nav-list li:last-child .nav-link {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .button--ghost {
    display: none;
  }
}

@media (max-width: 980px) {
  .span-4,
  .span-5,
  .span-7,
  .span-8 {
    grid-column: 1 / -1;
  }

  .exhibit-card {
    grid-column: span 6;
  }

  .card-grid--stagger .exhibit-card:nth-child(n) {
    margin-top: 0;
  }

  .footer-frame {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .anchor-toc {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --frame-pad: 16px;
  }

  body::after {
    inset: 8px;
  }

  .header-frame {
    gap: 10px;
    padding: 10px 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .header-actions .button--solid {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .chapter-head {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .chapter-number {
    grid-column: 1 / -1;
    font-size: 56px;
  }

  .exhibit-card {
    grid-column: span 12;
  }

  .filter-bar {
    gap: 6px;
    padding: 6px;
  }

  .filter-button {
    padding: 7px 9px;
    font-size: 11px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid > .footer-col:last-child {
    grid-column: auto;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal.is-reveal-ready {
    opacity: 1;
    transform: none;
  }

  .stat-bar-fill {
    animation: none;
  }
}
