:root {
  --bg: #f6f0e6;
  --bg-alt: #efe5d7;
  --card: #fffdf8;
  --text: #2f2419;
  --muted: #6f5f4b;
  --line: rgba(73, 49, 24, 0.14);
  --green: #1f3427;
  --green-soft: #314f3a;
  --gold: #b18c4d;
  --gold-light: #dbc28e;
  --shadow: 0 18px 42px rgba(40, 26, 12, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: linear-gradient(180deg, #f8f3ea 0%, #f4ecdf 100%);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-soft);
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 243, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: "Playfair Display", "Noto Serif SC", serif;
}

.brand-mark {
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.brand-year {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.18em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.primary-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-cta {
  border: 1px solid var(--green);
  color: var(--green) !important;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-home {
  background:
    radial-gradient(circle at top right, rgba(177, 140, 77, 0.22), transparent 30%),
    radial-gradient(circle at left center, rgba(49, 79, 58, 0.12), transparent 28%);
}

.hero-grid,
.split,
.intro-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", "Noto Serif SC", serif;
  line-height: 1.2;
  color: #1d2c21;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 2.7vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.button-primary {
  background: var(--green);
  color: #fff8ef;
}

.button-primary:hover {
  color: #fff8ef;
  background: var(--green-soft);
}

.button-secondary {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}

.hero-points,
.plain-list {
  margin: 1.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-card,
.card,
.product-card,
.list-panel,
.contact-card,
.faq-preview-item,
.story-box,
.stat-box,
.breadcrumbs,
.feature-box {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card,
.list-panel,
.contact-card {
  padding: 1.5rem;
}

.card,
.product-card,
.faq-preview-item,
.story-box,
.feature-box {
  padding: 1.4rem;
}

.card-label,
.product-kicker,
.footer-title,
.meta-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tag-cloud a {
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  background: rgba(177, 140, 77, 0.1);
  border: 1px solid rgba(177, 140, 77, 0.22);
  color: var(--green);
  font-size: 0.95rem;
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(239, 229, 215, 0.58), rgba(246, 240, 230, 0));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.3rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-link {
  font-weight: 700;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(243, 235, 223, 0.65);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.footer-brand {
  font-family: "Playfair Display", "Noto Serif SC", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero.compact {
  padding-bottom: 0.75rem;
}

.breadcrumbs {
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  box-shadow: none;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.55rem;
}

.breadcrumbs li:last-child::after {
  display: none;
}

.meta-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.meta-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
}

.story-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.4fr 1fr;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 1rem 1.2rem;
  background: none;
  border: none;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
}

.faq-item .faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.toc {
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.88);
  margin-bottom: 1.5rem;
}

.toc a {
  display: block;
  margin-bottom: 0.4rem;
}

.article-content {
  max-width: 780px;
}

.article-content h2 {
  margin-top: 2.2rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

.callout {
  border-left: 4px solid var(--gold);
  background: rgba(177, 140, 77, 0.09);
  padding: 1rem 1.1rem;
  border-radius: 0 16px 16px 0;
  margin: 1.4rem 0;
}

@media (max-width: 960px) {
  .grid-3,
  .grid-2,
  .hero-grid,
  .split,
  .story-grid,
  .footer-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .hero,
  .section,
  .page-hero {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .button,
  .nav-toggle {
    width: 100%;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
  }
}
