:root {
  --paper: #f3efe6;
  --ink: #111111;
  --accent: #37055c;
  --line: rgba(17, 17, 17, 0.22);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  line-height: 1.9;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

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

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.header {
  padding: 48px 0 24px;
  border-bottom: 2px solid var(--ink);
}

.logo {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.intro {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.intro p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  text-align: justify;
}

.intro ol {
  padding-left: 1.5rem;
}

.intro li {
  margin: 0.55rem 0;
  text-align: justify;
}

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

.thumbnail {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: #ffffff;
  padding: 20px;
}

.thumbnail h4 {
  margin: 0 0 12px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tag {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.text_column {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  text-align: justify;
}

#contact {
  margin-top: 40px;
  padding: 32px 0;
  border-top: 2px solid var(--ink);
  text-align: center;
}

.hero_header {
  margin: 0.25rem 0;
  font-size: 1.05rem;
}

.hero_header b { font-size: 1.2rem; }

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  background: var(--ink);
  color: var(--paper);
}

.copyright {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: rgba(17, 17, 17, 0.7);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.8rem;
  line-height: 2;
  text-align: center;
}

.copyright img {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 4px;
}

@media (max-width: 820px) {
  .container { width: calc(100% - 32px); }
  .header { padding-top: 32px; }
  .gallery { grid-template-columns: 1fr; }
}