:root {
  --green: #0f7a5a;
  --green-deep: #0c4f3c;
  --ink: #1c2b26;
  --muted: #5d6d66;
  --line: #e6e1d6;
  --sand: #f6f1e7;
  --cream: #fbf8f3;
  --white: #ffffff;
  --clay: #c46a45;
  --danger: #9d2c2c;
  --shadow: 0 16px 40px rgba(28, 43, 38, 0.08);
  --max: 1120px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); }
button, input, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--green);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar { background: var(--green-deep); color: #e7f4ee; font-size: 13px; }
.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.topbar p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(10px);
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(28, 43, 38, 0.06); }
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 22px; letter-spacing: 0.12em; }
.brand-text small { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
}
.nav a[aria-current="page"] { background: #e7f3ee; color: var(--green-deep); }
.nav a:hover { color: var(--green); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-deep); }

.hero { padding: 28px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 42px; align-items: center; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  letter-spacing: 0.14em;
  font-size: 13px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.lede { margin: 0 0 26px; font-size: 18px; color: #3d4f48; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; border-color: #c9d5ce; color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }
.hero-figure { margin: 0; position: relative; }
.hero-figure img { width: 100%; height: 520px; object-fit: cover; border-radius: 28px; }
.hero-figure figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  padding: 12px 16px;
  max-width: 260px;
  font-size: 14px;
  box-shadow: var(--shadow);
}

.scene-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 30px;
}
.scene-row span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--muted);
  font-size: 14px;
}

.section { padding: 72px 0; }
.section-white { background: #fff; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2, .page-hero h1, .prose h2, .product-card h3, .band-copy h2, .form-card h2, .info-card h2 {
  font-weight: 600;
  letter-spacing: 0.01em;
}
.section-head h2 { margin: 0; font-size: 34px; }
.section-head p { margin: 10px 0 0; color: var(--muted); }

.product-grid, .news-grid, .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card, .news-card, .info-card {
  background: var(--cream);
  border-radius: 22px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}
.section-white .product-card, .section-white .news-card { background: var(--sand); }
.product-card img, .news-card img { width: 100%; height: 240px; object-fit: cover; }
.product-card div, .news-card div, .info-card { padding: 18px 18px 22px; }
.info-card { background: #fff; border: 1px solid var(--line); padding: 22px; }
.product-card h3, .news-card h3, .info-card h3 { margin: 6px 0 8px; font-size: 22px; }
.product-card p, .news-card p, .info-card p { margin: 0; color: var(--muted); }
.product-card:hover, .news-card:hover { transform: translateY(-2px); }
.kicker { margin: 0; color: var(--clay); font-size: 12px; letter-spacing: 0.12em; }
.news-card time { color: var(--muted); font-size: 13px; }

.band { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 380px; background: #fff; }
.band + .band { margin-top: 18px; }
.band img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.band-copy { padding: 42px 40px; display: flex; flex-direction: column; justify-content: center; }
.band-copy h2 { margin: 0 0 10px; font-size: 32px; }
.band-copy p { margin: 0 0 12px; color: #3e5149; }
.band.reverse img { order: 2; }
.text-link { color: var(--green); font-weight: 600; }

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.story img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; }
.story h2 { margin: 0 0 12px; font-size: 34px; }

.page-hero { position: relative; color: #fff; background: var(--green-deep); overflow: hidden; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.35;
}
.page-hero .wrap { position: relative; padding: 62px 0 48px; }
.crumb { margin: 0 0 10px; color: #d7eee4; font-size: 14px; }
.crumb a { color: #fff; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 46px); }
.page-hero .wrap > p:last-child { margin: 0; max-width: 640px; color: #e7f6ef; }

.panel {
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--line);
}
.panel + .panel { margin-top: 16px; }
.panel h2 { margin: 0 0 8px; font-size: 28px; }
.stack { display: grid; gap: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact-table { width: 100%; border-collapse: collapse; }
.fact-table th, .fact-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fact-table th { width: 168px; color: var(--muted); font-weight: 500; }
.check-list { margin: 8px 0 0; padding-left: 18px; }
.check-list li { margin: 6px 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 1.4em 0 0.4em; }
.prose p { margin: 0 0 1em; }
.related { display: flex; flex-wrap: wrap; gap: 10px 16px; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 18px; }
.info-side, .form-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--line);
}
.info-side { background: var(--green-deep); color: #e9f7f1; border: 0; }
.info-side h2, .form-card h2 { margin: 0 0 10px; font-size: 28px; }
.info-side a { color: #f3d7b0; }
.info-side p { margin: 0 0 12px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; margin: 6px 0 0; }
.form-success { background: #f3faf6; border: 1px solid #d3eadc; border-radius: 18px; padding: 22px; }
.form-success h2 { margin-top: 0; }
.hint { color: var(--muted); font-size: 13px; }
.notice {
  background: #fff;
  border-left: 4px solid var(--clay);
  padding: 14px 16px;
  border-radius: 12px;
  color: #3e5149;
}

.site-footer { background: #12382d; color: #d5e7df; padding: 46px 0 20px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.site-footer a { color: #f3d7b0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer p { margin: 0 0 8px; }
.footer-base {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #b7cfc4;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
}
.empty { padding: 100px 0 80px; text-align: center; }
.empty h1 { font-size: 42px; margin-bottom: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 14px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .hero-grid, .product-grid, .news-grid, .info-grid, .band, .story, .two-col, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .band.reverse img { order: 0; }
  .hero-figure img, .story img { height: 280px; }
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .section { padding: 52px 0; }
  .band-copy { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card:hover, .news-card:hover { transform: none; }
}
