:root {
  color-scheme: light;
  --ink: #1f160d;
  --muted: #726149;
  --paper: #ead8ad;
  --paper-light: #f8edcf;
  --line: rgba(91, 61, 25, 0.24);
  --gold: #bd842e;
  --red: #8d2630;
  --blue: #244d70;
  --green: #2f6d58;
  --shadow: 0 28px 80px rgba(16, 8, 2, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 8%, rgba(189, 132, 46, 0.3), transparent 28%),
    radial-gradient(circle at 86% 2%, rgba(36, 77, 112, 0.24), transparent 26%),
    linear-gradient(145deg, #080503 0%, #1e1208 46%, #35200f 74%, #090604 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 32%, rgba(0, 0, 0, 0.58) 100%),
    repeating-linear-gradient(90deg, rgba(255, 230, 170, 0.035) 0 1px, transparent 1px 42px);
}

a {
  color: inherit;
}

.archive-shell {
  position: relative;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 40px 0 60px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 28px;
  align-items: stretch;
  min-height: 560px;
  padding: 28px;
  border: 10px solid #1f1208;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 244, 204, 0.96), rgba(226, 198, 142, 0.92)),
    var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 38px,
    rgba(255, 248, 224, 0.66);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-family: Cinzel, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
}

.dek {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.source-strip span,
.source-strip a {
  display: inline-flex;
  border: 1px solid rgba(92, 55, 17, 0.24);
  border-radius: 999px;
  padding: 9px 12px;
  color: #513617;
  background: rgba(239, 218, 173, 0.76);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.hero-image {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #24170d;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.15) contrast(1.06);
}

.hero-image figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 11px;
  color: #fff2c9;
  background: rgba(20, 10, 3, 0.68);
  font-size: 12px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.intro-grid article,
.artifact-map,
.closing-note {
  border: 1px solid rgba(244, 197, 104, 0.2);
  border-radius: 10px;
  background: rgba(248, 237, 207, 0.92);
  box-shadow: 0 16px 44px rgba(20, 10, 2, 0.18);
}

.intro-grid article {
  padding: 20px;
}

.label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-grid h2 {
  font-size: 24px;
  line-height: 1.22;
}

.intro-grid p:not(.label) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.artifact-map {
  padding: 26px;
  margin-bottom: 22px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
}

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

.map-cluster {
  min-height: 154px;
  padding: 16px;
  border: 1px solid rgba(91, 61, 25, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(189, 132, 46, 0.16), transparent 36%),
    rgba(255, 249, 228, 0.72);
}

.map-cluster span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-family: Cinzel, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-cluster strong {
  color: #342310;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  line-height: 1.55;
}

.artifact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.artifact-card {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(244, 197, 104, 0.2);
  border-radius: 10px;
  background: rgba(248, 237, 207, 0.94);
  box-shadow: 0 18px 50px rgba(18, 9, 2, 0.2);
}

.artifact-card.feature {
  grid-column: span 2;
}

.artifact-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #2b1b0d;
  filter: sepia(0.12) saturate(0.92) contrast(1.04);
}

.artifact-card.image-missing::before {
  content: "图片暂时无法加载";
  display: grid;
  place-items: center;
  height: 230px;
  border-bottom: 1px dashed rgba(141, 38, 48, 0.34);
  color: var(--red);
  background: rgba(255, 244, 204, 0.54);
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
}

.artifact-card.image-missing img {
  display: none;
}

.artifact-card div {
  padding: 18px;
}

.number {
  margin: 0 0 8px;
  color: var(--red);
  font-family: Cinzel, serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.artifact-card h3 {
  font-size: 25px;
  line-height: 1.18;
}

.artifact-card p:not(.number) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.closing-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
}

.closing-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.closing-note a {
  flex: none;
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff4cf;
  background: var(--red);
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 960px) {
  .hero,
  .intro-grid,
  .map-grid,
  .artifact-list {
    grid-template-columns: 1fr;
  }

  .artifact-card.feature {
    grid-column: span 1;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .archive-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 18px;
  }

  .hero {
    padding: 14px;
    border-width: 7px;
  }

  .closing-note {
    align-items: flex-start;
    flex-direction: column;
  }
}
