/* Black Chicken Farm — v13 */
:root {
  --blue: #1A6FB5;
  --blue-deep: #0F4E86;
  --navy: #0E2238;
  --ink: #15161A;
  --bone: #FAFAF8;
  --mist: #EEF2F6;
  --steel: #6B7785;
  --straw: #E8B84A;
  --line: #D9E0E8;
  --text: #1E2730;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --font: 'Prompt', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html[lang^="zh"] { --font: 'Prompt', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 300; color: var(--text); background: var(--bone); line-height: 1.65; font-size: 17px; }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); max-width: 38em; color: #33404C; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
section { padding: clamp(56px, 8vw, 110px) 0; }
section.tight { padding: clamp(36px, 5vw, 64px) 0; }
.dark { background: var(--navy); color: #D5DEE8; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #B9C6D4; }
.ink { background: var(--ink); color: #CFCFD4; }
.ink h2, .ink h3 { color: #fff; }
.mist { background: var(--mist); }
:focus-visible { outline: 3px solid var(--straw); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--straw); color: var(--ink); padding: 8px 12px; z-index: 1000; }
.skip:focus { left: 8px; }

/* header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(250,250,248,0.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 44px; height: 44px; }
.logo span { font-size: 15px; line-height: 1.15; }
.logo small { display: block; font-weight: 300; font-size: 12px; color: var(--steel); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 11px; border-radius: 6px; color: var(--text); font-weight: 400; font-size: 14.5px; white-space: nowrap; }
.nav a:hover { background: var(--mist); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.langsel select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236B7785' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; padding: 7px 30px 7px 14px; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.langsel select:focus-visible { outline: 3px solid var(--straw); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.langlinks a { color: #D7DADF; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
@media (max-width: 1180px) {
  .nav a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 1060px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: calc(72px + env(safe-area-inset-top)) 0 auto 0; background: var(--bone); flex-direction: column; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(14,34,56,.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; margin: 0; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 8px; font-weight: 500; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-line { background: #06C755; color: #fff; }
.btn-line:hover { background: #05a847; }
.btn-fb { background: #1877F2; color: #fff; }
.btn-fb:hover { background: #1462c9; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn svg { width: 20px; height: 20px; }

/* hero */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--navy); padding: 0; }
.hero video, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,34,56,.15) 0%, rgba(14,34,56,.25) 45%, rgba(14,34,56,.88) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 80px); padding-top: 140px; width: 100%; }
.hero h1 { color: #fff; max-width: 14em; text-wrap: balance; }
.hero h1 em { font-style: normal; font-weight: 300; display: block; font-size: 0.62em; margin-top: 0.3em; color: #E3EAF2; }
.hero .lead { color: #E3EAF2; max-width: 34em; }
.hero-actions { display: flex; gap: 10px; flex-wrap: nowrap; margin-top: 24px; }
.hero-actions .btn { flex: 1 1 0; max-width: 210px; justify-content: center; text-align: center; padding: 12px 14px; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.hero-actions .btn svg { flex: none; width: 18px; height: 18px; }
.hero-actions .ls { display: none; }
@media (max-width: 560px) { .hero-actions { gap: 8px; } .hero-actions .btn { max-width: none; padding: 11px 6px; font-size: 14px; gap: 6px; } .hero-actions .btn svg { width: 16px; height: 16px; } .hero-actions .lf { display: none; } .hero-actions .ls { display: inline; } }
.hero-sound { position: absolute; right: var(--gutter); bottom: 24px; z-index: 2; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.page-hero { position: relative; min-height: 420px; display: grid; align-items: end; color: #fff; background: var(--navy); padding: 0; }
.page-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,34,56,.1), rgba(14,34,56,.85)); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 48px; width: 100%; }
.page-hero h1 { color: #fff; max-width: 16em; text-wrap: balance; }
.page-hero .lead { color: #E3EAF2; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 24px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-size: 30px; font-weight: 600; color: var(--blue); line-height: 1.1; }
.facts span { color: var(--steel); font-size: 15px; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* section intro */
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; margin-bottom: clamp(28px, 4vw, 56px); }
.intro h2 { margin: 0; }
.intro p { margin: 0; }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; gap: 16px; } }

/* chain */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.chain article { background: var(--bone); position: relative; }
.chain img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.chain .t { padding: 22px 24px 28px; }
.chain .t h3 { margin-bottom: 6px; }
.chain .t p { margin: 0; color: #46525E; font-size: 16px; }
.chain .k { position: absolute; top: 14px; left: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; }
@media (max-width: 800px) { .chain { grid-template-columns: 1fr; } }

/* black band */
.black-band { padding: 0; }
.black-band .grid { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 560px; }
.black-band img { width: 100%; height: 100%; object-fit: cover; }
.black-band .t { padding: clamp(40px, 6vw, 96px) var(--gutter); display: grid; align-content: center; gap: 12px; }
.black-band h2 { font-size: clamp(32px, 4.2vw, 56px); max-width: 11em; }
.black-band p { max-width: 32em; font-size: 18px; }
.black-band .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 860px) { .black-band .grid { grid-template-columns: 1fr; } .black-band img { aspect-ratio: 4/3; height: auto; } }

/* product cards */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.product img { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; background: #f2f4f6; }
.product .t { padding: 22px 24px 26px; display: grid; gap: 6px; }
.product h3 { margin: 0; }
.product .size { color: var(--blue); font-weight: 500; font-size: 15px; }
.product p { margin: 6px 0 0; color: #46525E; font-size: 16px; }
.product dl { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.product dt { color: var(--steel); }
.product dd { margin: 0; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 8px; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: auto; height: 100%; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font-size: 13px; color: #fff; background: linear-gradient(180deg, transparent, rgba(14,34,56,.8)); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* two-up */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two img { border-radius: 10px; width: 100%; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 24px; } }

/* cert strip (home) */
.certstrip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.certstrip img { width: 100%; aspect-ratio: 3/4; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px; }
@media (max-width: 860px) { .certstrip { grid-template-columns: repeat(3, 1fr); } }

/* cert cards */
.cert-group { margin-bottom: clamp(28px, 4vw, 48px); }
.cert-group h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--blue); display: inline-block; margin-bottom: 20px; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert { border: 1px solid var(--line); background: #fff; border-radius: 10px; overflow: hidden; text-align: left; padding: 0; font: inherit; cursor: pointer; color: inherit; display: flex; flex-direction: column; }
.cert:hover { border-color: var(--blue); }
.cert .im { background: var(--mist); padding: 10px; position: relative; }
.cert .im img { width: 100%; aspect-ratio: 3/4; object-fit: contain; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.cert .pages { position: absolute; top: 16px; left: 16px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.cert .t { padding: 14px 16px 16px; }
.cert .t b { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.cert .t span { font-size: 13px; color: var(--steel); }
@media (max-width: 1000px) { .certs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .certs { grid-template-columns: 1fr 1fr; gap: 10px; } .cert .t { padding: 10px 12px; } }
.protected, .protected img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.protected img { pointer-events: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,25,41,.93); display: none; align-items: center; justify-content: center; padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); }
.lightbox.open { display: flex; }
.lightbox-panel { background: #fff; border-radius: 12px; width: min(960px, 100%); max-height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.lightbox-head b { font-weight: 600; }
.lightbox-close { border: 0; background: var(--mist); font: inherit; font-weight: 500; padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.lightbox-body { position: relative; background: #0f1b2a; display: flex; align-items: center; justify-content: center; min-height: 240px; overflow: hidden; }
.lightbox-scroll { overflow-y: auto; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.lightbox-body img { max-width: 100%; max-height: min(64vh, 860px); width: auto; height: auto; }
.lightbox-info { padding: 14px 18px 16px; border-top: 1px solid var(--line); }
.lightbox-info span { display: block; font-size: 13px; color: var(--steel); }
.lightbox-info h3 { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--blue); margin: 10px 0 4px; }
.lightbox-info p { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0; max-width: 78ch; }
.lightbox-shield { position: absolute; inset: 0; }
.lightbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: 12px; color: var(--steel); border-top: 1px solid var(--line); flex-wrap: wrap; }
.lightbox-pager button { border: 1px solid var(--line); background: #fff; font: inherit; font-size: 12px; padding: 5px 10px; border-radius: 6px; cursor: pointer; margin-right: 6px; }
.lightbox-pager button.active { background: var(--blue); color: #fff; border-color: var(--blue); }
body.lb-open { overflow: hidden; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 2px solid var(--blue); padding-top: 20px; }
.timeline b { display: block; color: var(--blue); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: 16px; color: #46525E; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* value columns */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cols3 h3 { margin-bottom: 6px; }
.cols3 p { margin: 0; color: #46525E; }
.dark .cols3 p { color: #B9C6D4; }
.cols3 .letter { font-size: 56px; font-weight: 600; line-height: 1; color: var(--straw); margin-bottom: 8px; }
@media (max-width: 800px) { .cols3 { grid-template-columns: 1fr; gap: 24px; } }

/* steps (process) */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.step { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.step img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.step .n { color: var(--blue); font-weight: 600; font-size: 14px; }
.step h3 { margin: 2px 0 6px; font-size: 20px; }
.step p { margin: 0; font-size: 15.5px; color: #46525E; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .step { grid-template-columns: 1fr; } }

/* recipes */
.recipe-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.recipe-hero img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.recipe-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.recipe-steps figure { margin: 0; }
.recipe-steps img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.recipe-steps figcaption { font-size: 15px; margin-top: 10px; color: #46525E; }
.recipe-steps .n { color: var(--blue); font-weight: 600; margin-right: 6px; }
.recipes2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.recipe-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.recipe-card a.thumb { position: relative; display: block; }
.recipe-card img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.recipe-card .t { padding: 18px 20px 18px 0; }
.recipe-card h3 { margin-bottom: 6px; }
.recipe-card p { margin: 0 0 10px; font-size: 15.5px; color: #46525E; }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play svg { width: 56px; height: 40px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
@media (max-width: 960px) { .recipe-hero { grid-template-columns: 1fr; } .recipe-steps { grid-template-columns: 1fr 1fr; } .recipes2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .recipe-card { grid-template-columns: 1fr; } .recipe-card .t { padding: 0 18px 18px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list { display: grid; gap: 22px; }
.contact-list h3 { font-size: 15px; color: var(--steel); font-weight: 500; margin-bottom: 4px; }
.contact-list a.big { font-size: 24px; font-weight: 500; color: var(--ink); }
.contact-list p { margin: 4px 0 0; font-size: 15.5px; color: #46525E; }
.map { border: 0; width: 100%; aspect-ratio: 4/3; border-radius: 12px; background: var(--mist); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* cta band */
.cta { background: var(--blue); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #DCEAF8; max-width: 40em; }
.cta .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta .btn-ghost { color: #fff; }
.cta .btn-ink { background: #fff; color: var(--blue); }
.cta .btn-ink:hover { background: #EAF2FA; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* footer */
.footer { background: var(--ink); color: #A9ADB5; padding: 56px 0 28px; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.footer a { color: #D7DADF; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo small { color: #A9ADB5; }
.footer .legal { border-top: 1px solid #2B2D33; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nav { transition: none; } }
@media print { .header, .footer, .cta, .lightbox, .hero video { display: none !important; } .cert .im { display: none; } }
