:root {
  color-scheme: light;
  --paper: #f3f2ed;
  --surface: #fbfaf6;
  --ink: #272724;
  --muted: #6d6d66;
  --line: #d8d6cd;
  --accent: #c8752a;
  --accent-soft: #efb65c;
  --shadow: rgba(95, 77, 48, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 12px 28px; border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(18px); }
.brand { font-weight: 700; letter-spacing: .08em; }
.brand small { margin-left: 8px; color: var(--muted); font-size: 9px; letter-spacing: .22em; }
.site-header nav { display: flex; gap: 30px; white-space: nowrap; font-size: 14px; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }
.buy { justify-self: end; border-radius: 999px; padding: 9px 19px; background: var(--ink); color: var(--surface); font-size: 13px; }
.buy:active, .button:active { transform: translateY(1px); }
.page-hero { padding: clamp(90px, 13vw, 180px) 0 clamp(70px, 9vw, 120px); }
.page-hero .wrap { max-width: 880px; margin-left: max(24px, calc((100vw - 1180px) / 2)); }
.kicker { margin: 0 0 22px; color: #9c561d; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
h1, h2 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-weight: 500; letter-spacing: -.04em; line-height: 1.16; }
.page-hero h1 { max-width: 11em; margin: 0; font-size: clamp(48px, 7.8vw, 102px); }
.page-hero p:last-child { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: 18px; }
.collection { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; padding-bottom: 130px; }
.collection-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 24px 80px var(--shadow); }
.collection-card:nth-child(4n + 3), .collection-card:nth-child(4n + 4) { grid-column: span 1; }
.collection-card a { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(260px, 1.1fr); min-height: 370px; }
.collection-card:nth-child(even) a { grid-template-columns: 1fr; }
.collection-card figure { min-height: 320px; margin: 0; background: #ebe7dc; overflow: hidden; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
.collection-card a:hover img { transform: scale(1.025); }
.collection-card div { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 58px); }
.collection-card h2 { margin: 0; font-size: clamp(28px, 3.2vw, 46px); }
.collection-card p { color: var(--muted); }
.collection-card span { margin-top: 22px; color: var(--accent); font-size: 14px; }
.detail { padding-block: 56px 130px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 70px; color: var(--muted); font-size: 13px; }
.product-lead { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; min-height: 660px; }
.product-copy h1, .article-head h1 { margin: 0; font-size: clamp(48px, 6.2vw, 86px); }
.lead { max-width: 640px; margin: 28px 0; color: var(--muted); font-size: 19px; }
.button { display: inline-block; margin-top: 12px; padding: 12px 24px; border-radius: 999px; background: var(--ink); color: var(--surface); white-space: nowrap; }
.product-image { margin: 0; min-height: 620px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 55% 35%, #ffe1aa, var(--accent-soft)); }
.product-image img { max-height: 610px; filter: drop-shadow(0 28px 24px var(--shadow)); }
.spec-grid, .recipe-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 50px 0 90px; }
.spec, .recipe-facts div { padding: 28px; border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 86%, transparent); }
.spec span, .recipe-facts span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.spec strong, .recipe-facts strong { font-size: 20px; }
.article-head { max-width: 900px; margin: 55px auto 80px; text-align: left; }
.article-cover { max-width: 960px; aspect-ratio: 16 / 10; margin: 0 auto 90px; border-radius: var(--radius); overflow: hidden; background: #e9e5da; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.byline { color: var(--muted); font-size: 13px; }
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; }
.prose.standalone { padding-bottom: 140px; }
.prose h2 { margin: 65px 0 20px; font-size: 36px; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 78%, var(--muted)); }
.prose a, .text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.imported-prose > :first-child { margin-top: 0; }
.imported-prose img { width: auto; max-width: 100%; height: auto; margin: 34px auto; border-radius: 14px; }
.imported-prose figure { margin: 42px 0; }
.imported-prose blockquote { margin: 36px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); color: var(--muted); }
.story-source { border-top: 3px solid var(--accent); }
.recipe-facts { max-width: 760px; grid-template-columns: repeat(3, 1fr); margin-inline: auto; }
.recipe-grid { max-width: 960px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; margin: 0 auto 80px; }
.recipe-grid h2, .sources h2 { font-size: 36px; }
.ingredients, .steps { padding-left: 22px; }
.ingredients li, .steps li { margin-bottom: 15px; }
.steps li { padding-left: 10px; }
.sources { max-width: 760px; margin: 80px auto 0; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.sources p { color: var(--muted); font-size: 14px; }
.faq-list { max-width: 900px; padding-bottom: 140px; }
.faq-list details { margin-bottom: 12px; border-radius: var(--radius); background: var(--surface); }
.faq-list summary { cursor: pointer; padding: 24px 28px; font-size: 18px; font-weight: 600; }
.faq-list details p { margin: 0; padding: 0 28px 28px; color: var(--muted); }
.empty { grid-column: 1 / -1; padding: 70px; border-radius: var(--radius); background: var(--surface); text-align: center; color: var(--muted); }
.site-footer { display: block; padding: 46px 28px 26px; border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 7px; }
.footer-main nav { display: flex; gap: 20px; }
.site-footer span, .site-footer a, .site-footer p { color: var(--muted); font-size: 12px; }
.footer-legal { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-icp { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.footer-icp img { width: 16px; height: 15px; }
.footer-copyright { grid-column: 3; justify-self: end; margin: 0; text-align: right; white-space: nowrap; }

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --paper: #20211f; --surface: #292a27; --ink: #f0efe9; --muted: #b9b8b1; --line: #3f403b; --shadow: rgba(0, 0, 0, .26); }
  .product-image { background: radial-gradient(circle at 55% 35%, #725123, #9c641f); }
  .collection-card figure, .article-cover { background: #34352f; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .collection { grid-template-columns: 1fr; }
  .collection-card a, .collection-card:nth-child(even) a { grid-template-columns: 1fr; }
  .product-lead, .recipe-grid { grid-template-columns: 1fr; gap: 42px; }
  .product-image { min-height: 460px; }
  .product-image img { max-height: 450px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 64px; padding-inline: 18px; }
  .site-header nav { grid-column: 1 / -1; display: flex; width: calc(100vw - 36px); gap: 22px; overflow-x: auto; padding: 4px 0 7px; scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .brand small { display: none; }
  .page-hero { padding-block: 80px 64px; }
  .page-hero .wrap { margin-inline: 16px; }
  .page-hero h1, .product-copy h1, .article-head h1 { font-size: 44px; }
  .collection { padding-bottom: 80px; }
  .collection-card a { min-height: 0; }
  .collection-card figure { min-height: 280px; }
  .detail { padding-block: 30px 90px; }
  .breadcrumb { margin-bottom: 42px; }
  .product-lead { min-height: 0; }
  .spec-grid, .recipe-facts { grid-template-columns: 1fr; }
  .article-cover { margin-bottom: 55px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-legal { grid-template-columns: auto auto; justify-items: center; justify-content: center; gap: 8px; text-align: center; font-size: clamp(8px, 2.3vw, 9px); }
  .footer-legal-spacer { display: none; }
  .footer-icp, .footer-copyright { justify-self: center; text-align: center; white-space: nowrap; }
  .footer-icp { grid-column: 1; }
  .footer-copyright { grid-column: 2; }
  .footer-icp img { width: 14px; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
