:root {
  color-scheme: light;
  --bg: #f5efe6;
  --bg-accent: #eadfce;
  --panel: rgba(255, 250, 244, 0.78);
  --panel-strong: rgba(255, 248, 240, 0.92);
  --line: rgba(77, 51, 30, 0.12);
  --text: #2d2118;
  --muted: #76604d;
  --accent: #b85c38;
  --accent-soft: rgba(184, 92, 56, 0.14);
  --shadow: 0 22px 60px rgba(87, 54, 30, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(206, 137, 90, 0.22), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #f8f3eb 45%, #efe3d1 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(8px);
}

body::before {
  top: 7rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  background: rgba(222, 165, 114, 0.15);
}

body::after {
  left: -6rem;
  bottom: 15rem;
  width: 18rem;
  height: 18rem;
  background: rgba(133, 94, 66, 0.12);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.hero-stats {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy::after,
.hero-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 52%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
}

.hero-stats {
  display: grid;
  gap: 18px;
  align-content: center;
}

.stat-card {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid rgba(77, 51, 30, 0.08);
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  font-weight: 700;
}

.gallery-section {
  padding: 18px 0 0;
}

.gallery {
  column-width: 280px;
  column-gap: 18px;
}

.card {
  --delay: calc(var(--stagger-index, 0) * 24ms);
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 249, 243, 0.98);
  border: 1px solid rgba(77, 51, 30, 0.08);
  box-shadow: 0 16px 36px rgba(91, 57, 31, 0.1);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 420ms ease var(--delay),
    transform 420ms ease var(--delay),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card:hover {
  border-color: rgba(184, 92, 56, 0.26);
  box-shadow: 0 20px 44px rgba(91, 57, 31, 0.15);
}

.card-media {
  position: relative;
  min-height: 160px;
  background:
    linear-gradient(135deg, rgba(234, 223, 206, 0.8), rgba(255, 255, 255, 0.95)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
}

.card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.card-caption {
  padding: 12px 14px 14px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  word-break: break-all;
}

.status {
  margin: 20px 0 10px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.82);
  color: var(--muted);
  text-align: center;
  backdrop-filter: blur(12px);
}

.sentinel {
  width: 100%;
  height: 1px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-stats {
    padding: 22px;
    border-radius: 24px;
  }
}

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

  .gallery {
    column-width: 220px;
    column-gap: 14px;
  }

  .card {
    margin-bottom: 14px;
    border-radius: 18px;
  }

  .status {
    border-radius: 22px;
  }
}