:root {
  --ink: #1c2420;
  --ink-soft: #3d4a43;
  --mist: #e8efe9;
  --fog: #f4f7f4;
  --leaf: #2f6b4f;
  --leaf-deep: #1a3d2e;
  --wood: #8b6b4a;
  --stone: #6b7570;
  --white: #ffffff;
  --line: rgba(28, 36, 32, 0.1);
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* —— Nav —— */
.topnav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s;
}

.topnav.is-solid {
  background: rgba(244, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.topnav.is-solid .brand { color: var(--leaf-deep); }

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
}

.topnav.is-solid .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--leaf); }

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--white) !important;
}

.topnav.is-solid .nav-cta { background: var(--leaf-deep); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 28, 22, 0.35) 0%, rgba(14, 28, 22, 0.15) 40%, rgba(14, 28, 22, 0.78) 100%),
    linear-gradient(90deg, rgba(14, 28, 22, 0.45) 0%, transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 24px 72px;
  width: min(720px, 100%);
  animation: riseIn 0.9s var(--ease) both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero-line {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 34em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}

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

.btn-solid {
  background: var(--leaf);
  color: var(--white);
}

.btn-solid:hover { background: #3a8460; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.btn-dark {
  background: var(--leaf-deep);
  color: var(--white);
}

/* —— Sections —— */
.section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 40px;
  max-width: 36rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--leaf-deep);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
}

.fact {
  background: var(--white);
  padding: 36px 28px;
  text-align: center;
  transition: background 0.3s;
}

.fact:hover { background: var(--mist); }

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--leaf-deep);
  line-height: 1.2;
  margin-bottom: 6px;
}

.fact span {
  color: var(--stone);
  font-size: 0.95rem;
}

.uses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.use {
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.7s var(--ease) forwards;
}

.use:nth-child(1) { animation-delay: 0.05s; }
.use:nth-child(2) { animation-delay: 0.12s; }
.use:nth-child(3) { animation-delay: 0.19s; }
.use:nth-child(4) { animation-delay: 0.26s; }
.use:nth-child(5) { animation-delay: 0.33s; }
.use:nth-child(6) { animation-delay: 0.4s; }
.use:nth-child(7) { animation-delay: 0.47s; }
.use:nth-child(8) { animation-delay: 0.54s; }

.use h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.use p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.gallery-band {
  background: var(--leaf-deep);
  color: var(--white);
}

.gallery-band .section-head h2 { color: var(--white); }
.gallery-band .section-head p { color: rgba(255, 255, 255, 0.75); }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.gallery figure {
  overflow: hidden;
  margin: 0;
  background: #0e1c16;
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery figure:hover img { transform: scale(1.05); }

.gallery .g1 { grid-column: span 7; grid-row: span 2; min-height: 360px; }
.gallery .g2 { grid-column: span 5; min-height: 175px; }
.gallery .g3 { grid-column: span 5; min-height: 175px; }
.gallery .g4,
.gallery .g5,
.gallery .g6 { grid-column: span 4; min-height: 200px; }
.gallery .g7,
.gallery .g8,
.gallery .g9 { grid-column: span 4; min-height: 180px; }

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--leaf-deep);
  margin-bottom: 12px;
}

.contact-copy p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.wecom-id {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.wecom-id strong {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.copy-btn {
  padding: 6px 12px;
  background: var(--leaf-deep);
  color: var(--white);
  border-radius: 3px;
  font-size: 0.85rem;
}

.qr-panel {
  text-align: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.qr-panel img {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.qr-panel p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--stone);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--leaf-deep);
  margin: 0 8px;
}

.site-footer .copy {
  margin-top: 10px;
}

/* About page */
.about-page {
  padding: 100px 0 60px;
}

.about-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--leaf-deep);
  margin-bottom: 8px;
}

.about-page .lead {
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.about-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.about-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.about-block ul {
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.about-block li { margin-bottom: 6px; }

.float-cta {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--leaf);
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(26, 61, 46, 0.28);
  font-weight: 600;
  font-size: 0.92rem;
  animation: pulseSoft 2.8s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 10px 28px rgba(26, 61, 46, 0.28); }
  50% { box-shadow: 0 12px 36px rgba(47, 107, 79, 0.45); }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(14, 28, 22, 0.55);
}

.modal-panel {
  position: relative;
  background: var(--white);
  padding: 28px 24px;
  width: min(360px, 100%);
  text-align: center;
}

.modal-panel h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
  color: var(--leaf-deep);
}

.modal-panel img {
  width: 220px;
  height: 220px;
  margin: 16px auto;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.5rem;
  color: var(--stone);
  line-height: 1;
}

@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr; }
  .uses { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .gallery .g1 { grid-column: span 12; min-height: 240px; }
  .gallery .g2,
  .gallery .g3 { grid-column: span 6; min-height: 140px; }
  .gallery .g4,
  .gallery .g5,
  .gallery .g6,
  .gallery .g7,
  .gallery .g8,
  .gallery .g9 { grid-column: span 6; min-height: 140px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

@media (max-width: 560px) {
  .uses { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 56px; }
  .section { padding: 64px 0; }
}
