:root {
  --bg: #f3f7f4;
  --ink: #14261f;
  --muted: #4d6459;
  --pine: #1f4a3a;
  --leaf: #6f9b84;
  --line: rgba(20, 38, 31, 0.12);
  --sand: #e7efe9;
  --petal: #f2ebe3;
}

/* 隐藏 WordPress 管理栏及其布局干扰（含缓存页已输出的 admin bar） */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }
body.admin-bar { margin-top: 0 !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%236f9b84' stroke-width='0.7'%3E%3Cpath d='M60 60c-14-22-34-22-36-2-1.6 16 15 28 36 32'/%3E%3Cpath d='M60 60c14-22 34-22 36-2 1.6 16-15 28-36 32'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(1200px 600px at 10% -10%, #d9ebe1 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 0%, #cfe0d6 0%, transparent 55%),
    linear-gradient(180deg, #eef5f0 0%, var(--bg) 40%, #eaf1ec 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4vw;
  background: transparent;
  border-bottom: none;
  color: #f7fbf8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.site-header .nav-desktop a:hover { color: #fff; }

.brand, .brand-foot, .brand-mark {
  font-family: "Playfair Display", "Segoe UI", "Microsoft YaHei", Georgia, serif;
  letter-spacing: 0.12em;
  font-weight: 650;
}

.brand { font-size: 1.55rem; letter-spacing: 0.16em; }
.nav-desktop { display: flex; gap: 1.7rem; font-size: 1.2rem; font-weight: 500; letter-spacing: 0.02em; }
.nav-desktop a {
  position: relative;
  padding: 0.25rem 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #f7fbf8;
  transition: width 0.3s ease;
}
.nav-desktop a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  border: 1px solid rgba(247, 251, 248, 0.45);
  background: rgba(10, 24, 18, 0.35);
  color: #f7fbf8;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font: inherit;
}
.nav-drawer {
  position: fixed;
  inset: 3.5rem 1rem auto;
  z-index: 39;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 20px 50px rgba(20, 38, 31, 0.12);
  color: var(--ink);
  text-shadow: none;
}
.nav-drawer[hidden] { display: none !important; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14vh 0 6vh;
  background: linear-gradient(180deg, transparent 0%, transparent 52%, rgba(10, 24, 18, 0.42) 100%);
  color: #f7fbf8;
  animation: rise 1.1s ease both;
}
.hero-inner {
  position: relative;
  max-width: 1320px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 1.75rem;
  transform: translate(0, -11vh);
}
.hero-copy {
  max-width: 560px;
  flex: 1 1 auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.brand-mark { opacity: 0.9; margin: 0 0 0.5rem; font-size: clamp(0.95rem, 2vw, 1.3rem); }
.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 3.3vw, 2.3rem);
  line-height: 1.12;
  max-width: 15ch;
  margin: 0 0 0.6rem;
}
.hero-sub { opacity: 0.85; margin: 0 1.2rem 0 0; font-size: 0.85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.hero-product {
  flex: 0 0 auto;
  width: min(13vw, 130px);
  margin: 0;
}
.hero-product img {
  width: 100%;
  object-fit: contain;
}

.cta {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: #f7fbf8;
  color: var(--pine);
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta-dark { background: var(--pine); color: #f7fbf8; }
.sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(247, 251, 248, 0.7);
  background: rgba(10, 24, 18, 0.4);
  color: #f7fbf8;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, color 0.25s ease;
}
.sound-btn .ico { font-size: 1.05rem; line-height: 1; }
.sound-btn:hover { background: rgba(247, 251, 248, 0.18); }
.sound-btn[aria-pressed="true"] {
  background: #f7fbf8;
  color: var(--pine);
  border-color: transparent;
}

.section {
  padding: 2.5rem 5vw;
  max-width: 1320px;
  margin: 0 auto;
  color: var(--ink);
}
.section h1, .section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  max-width: 26ch;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.section h2::before {
  content: "";
  display: block;
  width: 66px;
  height: 20px;
  margin: 0 0 0.85rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 20'%3E%3Cg fill='none' stroke='%236f9b84' stroke-width='1.2'%3E%3Cpath d='M2 10H20'/%3E%3Cpath d='M24 10c5-8 12-8 17 0-5 8-12 8-17 0'/%3E%3Cpath d='M26 10c3-5 8-5 11 0'/%3E%3Cpath d='M46 10H64'/%3E%3C/g%3E%3C/svg%3E") no-repeat left center / auto 100%;
}
.lead { color: var(--muted); max-width: 74ch; margin: 0 0 1.75rem; font-size: 1.06rem; }

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.grid-5 article {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line);
  animation: fade 0.8s ease both;
}
.grid-5 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.grid-5 h3, .grid-5 p { padding: 0 1.1rem; }
.grid-5 h3 { font-size: 1.12rem; margin: 1rem 0 0.5rem; color: var(--ink); }
.grid-5 p { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.98rem; }

.guide { padding-left: 1.4rem; color: var(--muted); font-size: 1.05rem; }
.guide li { margin-bottom: 0.85rem; }

.b2b-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.b2b-visual {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 38, 31, 0.08);
}
.b2b-visual img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}

.why {
  background:
    radial-gradient(600px 280px at 80% 20%, rgba(111, 155, 132, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(231, 239, 233, 0.65), transparent);
  border-radius: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
}
.tops-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(20, 38, 31, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(20, 38, 31, 0.18);
}
.product-card.mood-floral { background: linear-gradient(180deg, #f7f1f4, #efe6ea); }
.product-card.mood-floral-fresh { background: linear-gradient(180deg, #eef6f1, #ddeae2); }
.product-card.mood-floral-oriental { background: linear-gradient(180deg, #f6efe8, #ece1d6); }
.product-card.mood-oriental { background: linear-gradient(180deg, #f3ebe4, #e9ddd2); }
.product-card.mood-floral-woody { background: linear-gradient(180deg, #eef2eb, #dfe6dc); }
.pc-media {
  position: absolute;
  inset: 0;
}
.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,24,18,0) 42%, rgba(10,24,18,0.52) 72%, rgba(10,24,18,0.88) 100%);
}
.pc-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem 1.25rem 1.15rem;
  color: #f7fbf8;
}
.product-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}
.pc-en {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: rgba(247, 251, 248, 0.92);
}
.notes-list li { margin: 0.3rem 0; }
.notes-list span {
  display: inline-block;
  min-width: 3.2rem;
  color: #f7fbf8;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  opacity: 0.72;
}

.partner {
  text-align: center;
  background: linear-gradient(135deg, #8ecae6 0%, #5aa9d9 55%, #3f87b5 100%);
  color: #f7fbf8;
  border-radius: 30px;
  max-width: 1320px;
  margin: 0.5rem auto 2rem;
  padding: 2.75rem 4vw;
  position: relative;
  overflow: hidden;
}
.partner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 260px at 85% -10%, rgba(255, 255, 255, 0.35), transparent 70%),
    radial-gradient(400px 240px at 8% 110%, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.partner h2 {
  max-width: 30ch;
  margin: 0 auto;
  color: #f7fbf8;
  position: relative;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 5vw;
  border-top: 1px solid var(--line);
  background: #13241c;
  color: #e8f1ec;
  display: grid;
  gap: 1.5rem;
}
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }
.copy { opacity: 0.7; margin: 0; font-size: 0.85rem; }

.nv-cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
}
.nv-cat-bar a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  color: var(--pine);
}
.nv-cat-bar a.is-active,
.nv-cat-bar a:hover {
  background: var(--pine);
  color: #f7fbf8;
  border-color: transparent;
}

/* About page */
.page-about .prose { max-width: 70ch; color: var(--muted); }
.page-about .prose p { margin: 0 0 1.1rem; }
.page-about .prose p:first-child { font-size: 1.05rem; color: var(--ink); }

/* Craft / Manufacturing page */
.page-craft .flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.flow-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  animation: fade 0.8s ease both;
}
.flow-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.flow-card h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.05rem; margin: 0.9rem 1rem 0.4rem; }
.flow-card p { margin: 0 1rem 1rem; color: var(--muted); font-size: 0.9rem; }
.stats-bar {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stats-bar > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(231,239,233,0.6), rgba(255,255,255,0.6));
  padding: 1.2rem 1.3rem;
  text-align: center;
}
.stats-bar strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--pine);
  margin-bottom: 0.3rem;
}
.stats-bar span { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 980px) {
  .page-craft .flow-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .b2b-grid { grid-template-columns: 1fr; }
  .hero-overlay { padding-left: 0; padding-right: 0; }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; transform: translate(0, -1vh); }
  .hero-product { width: min(40%, 220px); }
}
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 560px) {
  .grid-5 { grid-template-columns: 1fr; }
  .hero-overlay { padding-top: 24vh; padding-bottom: 6vh; }
  .hero-inner { transform: none; }
  .hero-product { width: min(46%, 180px); }
}
