:root {
  --paper: #fffaf2;
  --ink: #2b2a27;
  --muted: #706a61;
  --rose: #b85b72;
  --rose-dark: #8f314b;
  --sage: #63795f;
  --line: rgba(74, 60, 48, .18);
  --shadow: 0 18px 50px rgba(55, 39, 25, .14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(184, 91, 114, .13), transparent 26rem),
    radial-gradient(circle at 90% 18%, rgba(99, 121, 95, .16), transparent 24rem),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 42%, #f8fbf5 100%);
  font-family: "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

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

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 72px;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 34px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-copy { padding: 42px 0; }

.kicker {
  color: var(--rose-dark);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "SimSun", serif;
  font-size: clamp(44px, 8vw, 96px);
  line-height: .95;
  letter-spacing: 0;
}

.subtitle {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  margin: 24px 0 0;
}

.hero-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--shadow);
}

.hero-frame::before,
.hero-frame::after,
.detail-card::before,
.detail-card::after {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  border-color: rgba(184, 91, 114, .55);
  pointer-events: none;
}

.hero-frame::before,
.detail-card::before {
  left: 10px;
  top: 10px;
  border-left: 2px solid;
  border-top: 2px solid;
  border-radius: 12px 0 0 0;
}

.hero-frame::after,
.detail-card::after {
  right: 10px;
  bottom: 10px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-radius: 0 0 12px 0;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stat {
  min-width: 116px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

.stat strong {
  display: block;
  font-size: 22px;
  color: var(--rose-dark);
}

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

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "SimSun", serif;
  font-size: 34px;
}

.year-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.year-nav a {
  border: 1px solid var(--line);
  color: var(--sage);
  padding: 7px 10px;
  background: rgba(255,255,255,.52);
}

.year-block {
  padding: 28px 0 8px;
}

.year-title {
  margin: 0 0 16px;
  color: var(--rose-dark);
  font-family: Georgia, "Times New Roman", "SimSun", serif;
  font-size: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(72, 54, 37, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(72, 54, 37, .14);
}

.thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.82), rgba(239,231,219,.92) 68%),
    #efe7db;
}

.card-text {
  padding: 12px 13px 15px;
}

.card-title {
  margin: 0 0 7px;
  font-weight: 800;
  font-size: 15px;
}

.card-caption {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  background: rgba(255,255,255,.68);
  color: var(--rose-dark);
  font-weight: 700;
}

.detail-card {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow);
}

.detail-card img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
  background: #efe7db;
}

.caption-panel {
  max-width: 820px;
  margin: 26px auto 0;
  padding: 0 4px;
}

.caption-panel h1 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
}

.caption {
  margin-top: 18px;
  color: #3c3934;
  font-size: 18px;
}

.caption p { margin: 0 0 16px; }

.footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy { padding-bottom: 0; }
  .section-head { display: block; }
  .year-nav { margin-top: 14px; }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(100% - 28px, var(--max));
    padding: 30px 0 44px;
  }

  .hero {
    gap: 22px;
  }

  .kicker {
    font-size: 14px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 46px;
    line-height: 1;
  }

  .subtitle {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.7;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 22px;
  }

  .stat {
    min-width: 0;
    padding: 10px 8px;
  }

  .stat strong {
    font-size: 20px;
  }

  .stat span {
    font-size: 13px;
  }

  .hero-frame {
    padding: 8px;
  }

  .hero-frame::before,
  .hero-frame::after,
  .detail-card::before,
  .detail-card::after {
    width: 48px;
    height: 48px;
  }

  .hero-frame img {
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background:
      radial-gradient(circle at 50% 35%, rgba(255,255,255,.82), rgba(239,231,219,.92) 68%),
      #efe7db;
  }

  .section-head {
    margin: 34px 0 12px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .year-nav {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .year-nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 14px;
  }

  .year-block {
    padding: 22px 0 4px;
  }

  .year-title {
    font-size: 30px;
    margin-bottom: 12px;
  }

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

  .card {
    box-shadow: 0 6px 16px rgba(72, 54, 37, .08);
  }

  .card:hover {
    transform: none;
  }

  .thumb {
    aspect-ratio: 1 / 1;
  }

  .card-text {
    padding: 9px 9px 10px;
  }

  .card-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .card-caption {
    display: none;
  }

  .detail-nav {
    margin-bottom: 12px;
  }

  .button {
    min-height: 44px;
    padding: 9px 13px;
    font-size: 16px;
  }

  .detail-card {
    padding: 8px;
  }

  .detail-card img {
    max-height: 68vh;
  }

  .caption-panel {
    margin-top: 24px;
    padding: 0 2px;
  }

  .caption-panel h1 {
    font-size: 32px;
    line-height: 1.18;
  }

  .caption {
    font-size: 20px;
    line-height: 1.85;
  }

  .caption p {
    margin-bottom: 18px;
  }
}
