:root {
  --bg: #f2eadf;
  --paper: #f7f2ea;
  --ink: #1f1b18;
  --muted: #64594d;
  --line: #d6c7b7;
  --accent: #b35e2f;
  --accent-soft: #dfb49a;
  --card: rgba(247, 242, 234, 0.7);
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 20px 60px rgba(69, 47, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8f2e8 0%, #efe3d5 100%);
  font-family: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(99, 76, 52, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 76, 52, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
  z-index: 0;
}

.bg-orb {
  position: fixed;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, #dfb596, transparent 70%);
}

.orb-2 {
  left: -120px;
  bottom: 12%;
  background: radial-gradient(circle, #c8d7ce, transparent 70%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(247, 242, 234, 0.76);
  border-bottom: 1px solid rgba(126, 102, 78, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(20px, 6vw, 80px);
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  font-family: "ZCOOL XiaoWei", "KaiTi", serif;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.28s ease;
}

nav a:hover {
  color: var(--accent);
}

main {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.section {
  margin-top: clamp(56px, 10vw, 120px);
}

.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}

.hero h1 {
  margin: 16px 0;
  font-size: clamp(2rem, 6vw, 4.3rem);
  line-height: 1.2;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}

.hero-desc {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.9;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.95rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #9f4d21, #c87844);
  box-shadow: 0 10px 24px rgba(159, 77, 33, 0.35);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(74, 51, 31, 0.2);
}

.hero-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid rgba(101, 78, 56, 0.2);
  box-shadow: var(--shadow);
}

.hero-stats h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.hero-stats p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-title-wrap {
  margin-bottom: 24px;
}

.section-subtitle {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 0.84rem;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 4.6vw, 2.8rem);
}

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

.art-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(123, 98, 72, 0.2);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.art-card:hover {
  transform: translateY(-6px) rotateX(1.8deg) rotateY(-1.8deg);
  box-shadow: 0 24px 64px rgba(73, 49, 28, 0.2);
}

.art-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.03);
}

.card-content {
  padding: 18px;
}

.card-content h3 {
  margin: 0;
}

.card-content p {
  margin: 8px 0 2px;
  color: var(--muted);
}

.craft-list {
  display: grid;
  gap: 14px;
}

.craft-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(124, 101, 77, 0.2);
  box-shadow: var(--shadow);
}

.craft-index {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-soft);
  font-family: "ZCOOL XiaoWei", serif;
}

.craft-item h3 {
  margin: 0;
}

.craft-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
  padding: clamp(22px, 5vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(119, 96, 72, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(227, 210, 191, 0.45));
}

.about p {
  margin: 0;
  color: #453a31;
  line-height: 1.9;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  padding: clamp(24px, 6vw, 42px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #f7efe4 0%, #eedfce 100%);
  border: 1px solid rgba(127, 101, 76, 0.22);
  box-shadow: var(--shadow);
}

.contact-note {
  margin: 18px 0 8px;
  color: var(--muted);
}

.phone {
  margin: 0;
  font-size: 1.2rem;
}

.phone a {
  color: var(--accent);
  text-decoration: none;
}

.qr-card {
  justify-self: center;
  background: rgba(255, 255, 255, 0.62);
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(108, 85, 62, 0.2);
  min-width: 220px;
}

.qr-card img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(125, 101, 79, 0.22);
}

.qr-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  text-align: center;
  padding: 26px 18px 34px;
  color: #6e6154;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .art-card img {
    height: 260px;
  }
}
