:root {
  --bg: #f6f4f0;
  --surface: #fffdf9;
  --text: #1f1e1a;
  --muted: #6e6a60;
  --line: #e7e2d9;
  --primary: #1e3a5f;
  --primary-soft: #eaf1fb;
  --accent: #c2995d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 30, 26, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #f1ebdf 0%, var(--bg) 45%, #f8f7f3 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: "Cormorant Garamond", "Songti SC", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 1.6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(246, 244, 240, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Cormorant Garamond", "Songti SC", serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  color: var(--text);
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0 0 1rem;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.8);
}

.footer-inner {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
