@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@600;700&display=swap");

:root {
  --ink: #302423;
  --ink-soft: #71615d;
  --green: #e93425;
  --green-dark: #2d2422;
  --leaf: #ef7541;
  --cream: #fff3ea;
  --paper: #fffaf6;
  --sand: #f0d5c2;
  --gold: #f2a13c;
  --rust: #d62c20;
  --line: rgba(48, 36, 35, 0.14);
  --shadow: 0 24px 70px rgba(73, 38, 31, 0.12);
  --radius: 28px;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 400 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: 1.35rem; }
p { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 16px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.notice-bar { padding: 6px 20px; color: #fff9ec; background: var(--rust); text-align: center; font-size: 12px; letter-spacing: .06em; }
.nav-shell { height: 86px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .94); backdrop-filter: blur(14px); position: relative; z-index: 50; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 176px; height: auto; display: block; }
.brand-logo--light { width: 184px; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 21px/1.25 var(--serif); letter-spacing: .04em; }
.brand small { margin-top: 2px; font-size: 9px; letter-spacing: .17em; color: var(--ink-soft); }
.brand-mark { position: relative; width: 38px; height: 44px; display: inline-block; }
.brand-mark i { position: absolute; width: 13px; height: 29px; border-radius: 100% 0 100% 0; background: var(--green); transform-origin: 50% 100%; bottom: 2px; left: 12px; }
.brand-mark i:nth-child(1) { transform: rotate(-38deg); background: var(--leaf); }
.brand-mark i:nth-child(2) { height: 37px; transform: rotate(0); }
.brand-mark i:nth-child(3) { transform: rotate(38deg); background: var(--gold); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.main-nav > a { position: relative; color: #42584f; font-size: 14px; font-weight: 500; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -11px; height: 2px; background: var(--gold); transition: right .25s ease; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { right: 0; }
.main-nav .nav-cta { padding: 10px 18px; color: white; background: var(--green); border-radius: 99px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; background: transparent; border: 0; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--green); transition: .2s; }

.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(78px, 10vw, 140px) 0; }
.section--cream { background: var(--cream); }
.section--green { color: #fff; background: var(--green-dark); }
.eyebrow { margin-bottom: 18px; color: var(--rust); font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.section--green .eyebrow, .callout .eyebrow { color: #f2b967; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading p { max-width: 660px; font-size: 17px; }
.section-heading--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 36px; }
.section-heading--split > :last-child { flex: 0 0 auto; }
.button { min-height: 50px; padding: 13px 22px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; font-weight: 600; transition: transform .2s, background .2s, color .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--green); }
.button--ghost { border-color: var(--line); background: transparent; }
.button--light { color: var(--green); background: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--green); font-weight: 700; }
.text-link b { transition: transform .2s; }
.text-link:hover b { transform: translateX(5px); }

.hero { min-height: min(760px, calc(100vh - 120px)); display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr); background: var(--cream); overflow: hidden; }
.hero-copy { padding: clamp(70px, 8vw, 128px) 5vw max(70px, 8vw); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { max-width: 780px; margin-bottom: 28px; text-wrap: balance; }
.hero-copy h1 em { color: var(--rust); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin-bottom: 34px; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { min-height: 600px; position: relative; overflow: hidden; background-color: #e7b878; background-size: 100% 100%; background-position: center; background-repeat: no-repeat; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(45,36,34,.42)); }
.hero-visual::after { content: none; }
.hero-card { position: absolute; left: 8%; right: 8%; bottom: 8%; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: white; border: 1px solid rgba(255,255,255,.3); background: rgba(45,36,34,.76); backdrop-filter: blur(12px); border-radius: 20px; }
.hero-card strong { display: block; font: 600 21px var(--serif); }
.hero-card span { color: rgba(255,255,255,.75); font-size: 13px; }
.hero-card b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); }
.placeholder-stamp { position: absolute; top: 26px; right: 24px; z-index: 2; padding: 8px 12px; color: white; border: 1px solid rgba(255,255,255,.65); border-radius: 99px; font-size: 11px; letter-spacing: .08em; }

.trust-strip { padding: 28px max(24px, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-item { padding: 5px 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; margin-bottom: 3px; font: 600 18px var(--serif); }
.trust-item span { color: var(--ink-soft); font-size: 12px; }

.brand-film-section { overflow: hidden; }
.brand-film { display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); gap: clamp(44px, 7vw, 96px); align-items: center; }
.brand-film-copy h2 { margin-bottom: 22px; }
.brand-film-copy > p:not(.eyebrow) { max-width: 520px; font-size: 17px; }
.brand-film-points { margin: 32px 0 0; padding: 0; list-style: none; }
.brand-film-points li { padding: 14px 0; display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.brand-film-points li:last-child { border-bottom: 1px solid var(--line); }
.brand-film-points span { color: var(--rust); font-size: 12px; letter-spacing: .1em; }
.brand-film-frame { padding: 12px; background: #211a19; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
.brand-film-frame video { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; background: #130f0e; border-radius: 20px; }
.brand-film-caption { padding: 14px 8px 3px; display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.68); font-size: 12px; letter-spacing: .04em; }
.brand-film-caption span:first-child { color: #fff; font-weight: 600; }

.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.intro-copy { position: sticky; top: 120px; }
.intro-copy p:not(.eyebrow) { font-size: 17px; }
.capability-list { display: grid; gap: 2px; }
.capability { padding: 31px 4px; display: grid; grid-template-columns: 72px 1fr 28px; gap: 22px; align-items: start; border-bottom: 1px solid var(--line); }
.capability:first-child { border-top: 1px solid var(--line); }
.capability > span { color: var(--rust); font: 600 13px var(--sans); letter-spacing: .08em; }
.capability h3 { margin-bottom: 9px; }
.capability p { margin-bottom: 0; }
.capability b { font-size: 22px; font-weight: 400; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.product-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.product-visual { min-height: 330px; display: block; position: relative; overflow: hidden; }
.product-photo { position: absolute; inset: 0; display: block; background-repeat: no-repeat; background-color: var(--cream); transition: transform .45s ease; }
.product-card:hover .product-photo { transform: scale(1.025); }
.product-copy { padding: 28px 30px 32px; }
.product-copy > p { margin-bottom: 8px; color: var(--rust); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.product-copy h2 { margin-bottom: 12px; font-size: 1.8rem; }
.product-copy > span { min-height: 56px; margin-bottom: 24px; display: block; color: var(--ink-soft); }
.placeholder-label { position: absolute; top: 18px; left: 18px; z-index: 4; padding: 7px 11px; color: #fff; background: rgba(13,57,43,.7); border-radius: 999px; font-size: 11px; backdrop-filter: blur(8px); }
.tone-amber { background: linear-gradient(145deg, #f1d69a, #ca813e); }
.tone-berry { background: linear-gradient(145deg, #e5b6a7, #a94744); }
.tone-olive { background: linear-gradient(145deg, #cad2a5, #687846); }
.tone-red { background: linear-gradient(145deg, #e7b886, #9d492f); }
.food-shape { position: absolute; display: block; border-radius: 48% 52% 46% 54%; background: rgba(255,250,231,.78); box-shadow: inset -18px -18px 30px rgba(115,74,32,.1), 0 25px 30px rgba(60,40,20,.14); transform: rotate(24deg); }
.food-shape--one { width: 36%; aspect-ratio: 1; left: 21%; top: 25%; }
.food-shape--two { width: 29%; aspect-ratio: 1; left: 46%; top: 41%; transform: rotate(-12deg); }
.food-shape--three { width: 24%; aspect-ratio: 1; left: 58%; top: 17%; transform: rotate(56deg); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: steps; }
.process-card { position: relative; padding: 31px 28px 34px; border: 1px solid rgba(255,255,255,.18); border-right: 0; counter-increment: steps; }
.process-card:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.process-card::before { content: "0" counter(steps); margin-bottom: 55px; display: block; color: #f2b967; font-size: 12px; letter-spacing: .1em; }
.process-card h3 { color: #fff; }
.process-card p { color: rgba(255,255,255,.62); font-size: 14px; }

.callout { width: min(1240px, calc(100% - 48px)); margin: 0 auto 80px; padding: clamp(45px, 6vw, 78px); display: flex; align-items: end; justify-content: space-between; gap: 40px; color: #fff; background: var(--green); border-radius: var(--radius); overflow: hidden; position: relative; }
.callout::after { content: ""; position: absolute; right: -80px; bottom: -130px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.03), 0 0 0 90px rgba(255,255,255,.03); }
.callout > * { position: relative; z-index: 1; }
.callout h2 { max-width: 760px; margin-bottom: 0; }
.callout--compact { margin-top: 80px; margin-bottom: 0; }

.page-hero { padding: clamp(80px, 10vw, 140px) 0 70px; background: var(--cream); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 80px; }
.page-hero h1 { max-width: 900px; margin-bottom: 0; font-size: clamp(3rem, 6vw, 5.4rem); }
.page-hero p.lead { margin-bottom: 6px; font-size: 18px; }
.breadcrumb { width: min(1240px, calc(100% - 48px)); margin: 0 auto 42px; padding-top: 30px; display: flex; gap: 10px; color: var(--ink-soft); font-size: 13px; }
.breadcrumb strong { color: var(--ink); }

.story-grid, .quality-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 120px); align-items: center; }
.story-art, .factory-art { min-height: 540px; position: relative; overflow: hidden; background: url("https://qiniu.meizhi365.com/website/factory/shandong-exterior.jpg") center / cover no-repeat; border-radius: var(--radius); }
.story-art::before, .factory-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(45,36,34,.3)); }
.story-art::after { content: none; }
.story-art--aerial { background-image: url("https://qiniu.meizhi365.com/website/factory/factory-aerial.jpg"); }
.story-copy blockquote { margin: 30px 0 0; padding: 24px 0 4px 28px; border-left: 3px solid var(--gold); font: 600 22px/1.55 var(--serif); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.value-card > span { width: 45px; height: 45px; margin-bottom: 34px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline-item { padding: 30px; border-top: 1px solid var(--line); position: relative; }
.timeline-item::before { content: ""; position: absolute; top: -5px; left: 30px; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; }
.timeline-item strong { display: block; color: var(--rust); font-size: 13px; letter-spacing: .08em; }
.timeline-item h3 { margin: 12px 0 8px; }

.filter-bar { margin-bottom: 38px; display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip { padding: 9px 16px; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.filter-chip.is-active { color: white; background: var(--green); border-color: var(--green); }

.product-detail-grid { width: min(1240px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.product-detail-visual { min-height: 570px; position: relative; overflow: hidden; background: var(--cream); border-radius: var(--radius); }
.product-detail-copy h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 5vw, 4.7rem); }
.product-detail-copy .lead { font-size: 18px; }
.tag-row { margin: 30px 0 36px; display: flex; flex-wrap: wrap; gap: 9px; }
.tag-row span { padding: 9px 13px; background: var(--cream); border-radius: 8px; font-size: 13px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-section { width: min(1240px, calc(100% - 48px)); margin: 110px auto 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list > div { padding: 18px 4px; display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--ink-soft); }
.spec-list dd { margin: 0; font-weight: 600; }

.factory-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.factory-card { min-height: 300px; padding: 28px; position: relative; overflow: hidden; color: #fff; background: var(--green); border-radius: 24px; }
.factory-card:nth-child(1) { grid-column: span 7; background: linear-gradient(rgba(45,36,34,.12), rgba(45,36,34,.68)), url("https://qiniu.meizhi365.com/website/factory/production-line.jpg") center / cover; }
.factory-card:nth-child(2) { grid-column: span 5; background: linear-gradient(rgba(45,36,34,.12), rgba(45,36,34,.7)), url("https://qiniu.meizhi365.com/website/factory/packaging.jpg") center / cover; }
.factory-card:nth-child(3) { grid-column: span 5; background: linear-gradient(rgba(45,36,34,.12), rgba(45,36,34,.7)), url("https://qiniu.meizhi365.com/website/factory/laboratory.jpg") center / cover; }
.factory-card:nth-child(4) { grid-column: span 7; background: linear-gradient(rgba(45,36,34,.12), rgba(45,36,34,.68)), url("https://qiniu.meizhi365.com/website/factory/retort.jpg") center / cover; }
.factory-card::after { content: none; }
.factory-card h3 { color: #fff; }
.factory-card p { max-width: 420px; color: rgba(255,255,255,.73); }
.quality-grid { align-items: start; }
.quality-list { display: grid; gap: 16px; }
.quality-item { padding: 26px; display: grid; grid-template-columns: 46px 1fr; gap: 18px; border: 1px solid var(--line); border-radius: 18px; }
.quality-item > span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 700; }
.quality-item h3 { margin-bottom: 4px; }
.quality-item p { margin-bottom: 0; font-size: 14px; }
.certificate-board { min-height: 500px; padding: 36px; background: var(--cream); border-radius: var(--radius); }
.certificate-board h3 { margin-bottom: 26px; }
.certificate-placeholder { min-height: 150px; margin-top: 16px; display: grid; place-items: center; color: var(--ink-soft); border: 1px dashed rgba(24,53,43,.35); border-radius: 16px; text-align: center; }
.certificate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.certificate-grid a { min-height: 190px; padding: 12px; display: grid; align-content: start; gap: 8px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.certificate-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; }
.certificate-grid span { font-size: 12px; font-weight: 600; text-align: center; }

.cooperation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cooperation-card { padding: 36px 32px; border: 1px solid var(--line); border-radius: 22px; }
.cooperation-card > span { margin-bottom: 55px; display: block; color: var(--rust); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.cooperation-card p { margin-bottom: 0; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.flow-step { padding: 24px 22px; color: white; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; }
.flow-step span { color: #f2b967; font-size: 12px; }
.flow-step h3 { margin: 25px 0 8px; color: #fff; font-size: 1.1rem; }
.flow-step p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; }

.contact-grid { align-items: start; }
.contact-list { margin-top: 40px; display: grid; gap: 2px; }
.contact-row { padding: 22px 0; display: grid; grid-template-columns: 100px 1fr; border-bottom: 1px solid var(--line); }
.contact-row:first-child { border-top: 1px solid var(--line); }
.contact-row span { color: var(--ink-soft); font-size: 13px; }
.contact-row strong { font-weight: 600; }
.inquiry-card { padding: clamp(28px, 4vw, 48px); background: var(--cream); border-radius: var(--radius); }
.inquiry-card h2 { margin-bottom: 12px; font-size: 2.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; outline: 0; }
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,76,58,.1); }
.honeypot { position: absolute; left: -9999px; }
.form-consent { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: 12px; }
.form-status { grid-column: 1 / -1; min-height: 26px; margin: 0; padding: 0; font-size: 13px; outline: 0; }
.form-status.is-success { color: #1c6c44; }
.form-status.is-error { color: #a1362a; }
.form-status.is-notice { color: #8a5b18; }
.map-placeholder { min-height: 360px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #839278, #234f3f); border-radius: var(--radius); text-align: center; }

.legal { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 120px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.legal h2 { margin-top: 48px; font-size: 1.6rem; }
.legal .notice { padding: 20px 22px; color: #704719; background: #fff4d9; border-radius: 12px; }
.not-found { min-height: calc(100vh - 120px); padding: 90px 24px; display: grid; place-items: center; text-align: center; background: var(--cream); }
.not-found strong { display: block; color: var(--gold); font: 700 clamp(6rem, 20vw, 13rem)/.9 var(--serif); }
.not-found p { max-width: 540px; margin: 0 auto 28px; }

.footer-main { padding: 74px max(24px, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: 1.5fr .65fr .9fr; gap: 70px; color: white; background: #2d2422; }
.brand--light strong { color: #fff; }
.brand--light small { color: rgba(255,255,255,.55); }
.brand--light .brand-mark i:nth-child(2) { background: #fff; }
.footer-intro p { max-width: 440px; margin: 26px 0 0; color: rgba(255,255,255,.58); }
.footer-main h2 { margin-bottom: 18px; color: #f0bd6e; font: 600 13px var(--sans); letter-spacing: .12em; }
.footer-main > div:not(:first-child) a, .footer-main > div:not(:first-child) span { margin: 9px 0; display: block; color: rgba(255,255,255,.7); font-size: 14px; }
.footer-main a:hover { color: #fff; }
.footer-bottom { padding: 18px max(24px, calc((100vw - 1240px) / 2)); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.54); background: #211a19; font-size: 12px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } [data-reveal] { opacity: 1; transform: none; } }

/* 超宽屏下让首屏文案与全站 1240px 内容区对齐，避免 Hero 被横向拉散。 */
@media (min-width: 1600px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-block: clamp(78px, 6vw, 112px); padding-right: 40px; padding-left: calc((100vw - 1240px) / 2); }
  .hero-copy h1 { max-width: 620px; font-size: clamp(4rem, 3.8vw, 4.4rem); }
  .hero-copy > p:not(.eyebrow) { max-width: 560px; }
  .hero-card { left: clamp(36px, 4vw, 80px); right: auto; width: min(720px, calc(100% - 72px)); }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; inset: 100% 0 auto; min-height: calc(100vh - 86px); min-height: calc(100dvh - 86px); padding: 36px 24px; display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; background: var(--paper); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
  .main-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: 16px 5px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav .nav-cta { margin-top: 20px; text-align: center; border: 0; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 80px 24px; }
  .hero-visual { min-height: 560px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border: 0; }
  .trust-item:nth-child(-n+2) { padding-bottom: 22px; }
  .trust-item:nth-child(n+3) { padding-top: 22px; border-top: 1px solid var(--line); }
  .brand-film, .intro-grid, .story-grid, .quality-grid, .contact-grid, .page-hero-grid, .product-detail-grid, .detail-section { grid-template-columns: 1fr; }
  .intro-copy { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2) { border-right: 1px solid rgba(255,255,255,.18); }
  .process-card:nth-child(n+3) { border-top: 0; }
  .value-grid, .cooperation-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container, .callout, .breadcrumb, .product-detail-grid, .detail-section { width: min(100% - 32px, 1240px); }
  .nav-shell { height: 76px; padding-inline: 16px; }
  .brand strong { font-size: 18px; }
  .brand-logo { width: 148px; }
  .brand-mark { transform: scale(.88); }
  .main-nav { min-height: calc(100vh - 76px); min-height: calc(100dvh - 76px); }
  .hero-copy { padding: 62px 20px 70px; }
  .hero-copy h1 { font-size: 2.72rem; }
  .hero-visual { min-height: 460px; }
  .hero-card { left: 16px; right: 16px; bottom: 16px; }
  .brand-film { gap: 34px; }
  .brand-film-frame { padding: 7px; border-radius: 20px; }
  .brand-film-frame video { border-radius: 14px; }
  .brand-film-caption { padding: 12px 8px 5px; }
  .trust-strip { padding-inline: 16px; }
  .trust-item { padding-inline: 12px; }
  .product-grid, .value-grid, .cooperation-grid { grid-template-columns: 1fr; }
  .product-visual { min-height: 270px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card:nth-child(2), .process-card:last-child { border: 1px solid rgba(255,255,255,.18); border-bottom: 0; }
  .process-card:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
  .callout { margin-bottom: 42px; padding: 38px 26px; display: block; }
  .callout .button { margin-top: 28px; }
  .page-hero { padding-top: 70px; }
  .page-hero h1 { font-size: 3rem; }
  .factory-card:nth-child(n) { grid-column: 1 / -1; }
  .certificate-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .product-detail-visual { min-height: 400px; }
  .spec-list > div { grid-template-columns: 115px 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full, .form-consent, .form-status { grid-column: auto; }
  .footer-main { padding: 60px 24px; grid-template-columns: 1fr; gap: 38px; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { padding: 18px 24px; flex-direction: column; }
}
