:root {
  --ink: #242b24;
  --ink-soft: #5c6659;
  --paper: #fbf9f3;
  --paper-deep: #f3ecd9;
  --green: #3f5d45;
  --green-light: #e8eee1;
  --gold: #b98945;
  --gold-light: #f1e4c8;
  --line: #e4dcc9;
  --white: #fffdf8;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #314b37; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-light); }
.btn-small { padding: 8px 18px; font-size: 13px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 243, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green);
  color: #f7e9c8;
  font-size: 20px;
  font-family: "STKaiti", "KaiTi", serif;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.brand-text small { color: var(--ink-soft); font-size: 11px; letter-spacing: .14em; }
.site-nav { display: flex; gap: 34px; margin-left: auto; margin-right: 32px; }
.site-nav a { color: var(--ink-soft); font-size: 14px; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--green); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 10px 8px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

.hero { background: linear-gradient(180deg, var(--paper) 0%, #f5f0e2 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr .92fr; gap: 48px; align-items: center; padding: 72px 0 84px; }
.hero-copy h1 { margin: 0 0 20px; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(48px, 7vw, 86px); font-weight: 600; letter-spacing: .06em; line-height: 1.1; }
.hero-dot { color: var(--gold); }
.hero-lead { margin: 0 0 16px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; line-height: 1.6; color: var(--green); }
.hero-desc { max-width: 480px; margin: 0 0 28px; color: var(--ink-soft); font-size: 15px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; margin: 42px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-size: 14px; font-weight: 600; }
.hero-facts span { color: var(--ink-soft); font-size: 12px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 46px rgba(63, 93, 69, .12); }

.section { padding: 88px 0; }
.section-heading { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-heading.left { margin: 0; text-align: left; }
.section-heading h2 { margin: 0 0 14px; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(28px, 4vw, 42px); font-weight: 600; letter-spacing: .04em; }
.section-heading p:last-child { margin: 0; color: var(--ink-soft); font-size: 15px; }

.about { background: var(--white); }
.story-grid { display: grid; gap: 56px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story-reverse .story-image { order: 2; }
.story-image img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.story-tag { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.story-text h3 { margin: 10px 0 16px; font-size: 24px; font-weight: 600; }
.story-text p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.culture { background: var(--green-light); }
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.culture-card { padding: 30px 24px; background: var(--white); border: 1px solid #d9e2d2; border-radius: var(--radius); transition: transform .2s; }
.culture-card:hover { transform: translateY(-4px); }
.culture-no { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.culture-card h3 { margin: 12px 0 10px; font-size: 19px; font-weight: 600; }
.culture-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.products { background: var(--paper); }
.product-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter { padding: 8px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-soft); font-size: 13px; }
.filter:hover, .filter.active { border-color: var(--green); background: var(--green); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(63, 93, 69, .1); }
.product-card.hidden { display: none; }
.product-image { position: relative; background: var(--paper-deep); aspect-ratio: 4 / 3; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 253, 248, .92); color: var(--green); font-size: 11px; font-weight: 600; }
.product-body { padding: 20px 22px 22px; }
.product-body h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.product-body p { margin: 0 0 20px; min-height: 48px; color: var(--ink-soft); font-size: 13px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.product-note { color: #9a917d; font-size: 11px; }
.buy-btn { padding: 7px 16px; border: 1px solid var(--gold); border-radius: 999px; background: transparent; color: var(--gold); font-size: 12px; font-weight: 500; transition: background .2s, color .2s; }
.buy-btn:hover { background: var(--gold); color: #fff; }
.products-tip { margin: 32px 0 0; text-align: center; color: #9a917d; font-size: 12px; }

.visit { background: var(--paper-deep); }
.visit-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.visit-list { display: grid; gap: 14px; }
.visit-item { padding: 18px 22px; background: var(--white); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; }
.visit-item strong { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 600; }
.visit-item span { color: var(--ink-soft); font-size: 13px; }

.site-footer { padding: 54px 0 36px; background: #2f3d33; color: #e8ecdf; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.brand-footer .brand-mark { background: #d9b56e; color: #2f3d33; }
.brand-footer .brand-text small { color: #b8c2b1; }
.site-footer p { margin: 14px 0 0; color: #b8c2b1; font-size: 13px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 8px; font-size: 13px; }
.footer-links a:hover { color: #e6c98d; }
.copyright { text-align: right; line-height: 1.8; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  padding: 12px 22px;
  border-radius: 999px;
  background: #2f3d33;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; margin: 0; padding: 16px 24px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; gap: 14px; }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-visual { order: -1; }
  .story, .visit-inner { grid-template-columns: 1fr; gap: 26px; }
  .story-reverse .story-image { order: 0; }
  .culture-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
  .copyright { text-align: left; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1140px); }
  .section { padding: 64px 0; }
  .hero-facts { gap: 18px; }
  .hero-facts li { min-width: 130px; }
  .culture-grid, .product-grid { grid-template-columns: 1fr; }
  .product-body p { min-height: 0; }
}
