:root {
  --ink: #13383f;
  --ink-2: #0b2b32;
  --teal: #008e83;
  --aqua: #54d0c1;
  --blue: #3f81cf;
  --orange: #ec6640;
  --mist: #eff6f5;
  --paper: #fbfcfc;
  --line: #d6e3e1;
  --muted: #5d757a;
  --content: min(1180px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Noto Sans SC", Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 30; height: 86px; display: grid; grid-template-columns: 290px 1fr auto auto; align-items: center; gap: 24px; padding: 0 max(32px, calc((100vw - 1360px) / 2)); background: rgba(251, 252, 252, .96); border-bottom: 1px solid rgba(19, 56, 63, .1); backdrop-filter: blur(14px);
}
.brand img { display: block; width: 275px; height: 66px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; justify-self: end; align-self: stretch; gap: 29px; }
.primary-nav a { position: relative; display: grid; place-items: center; font-size: 13px; font-weight: 650; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--teal); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover, .primary-nav .is-active { color: var(--teal); }
.primary-nav a:hover::after, .primary-nav .is-active::after { transform: scaleX(1); }
.header-action, .button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 46px; padding: 0 19px; font-size: 12px; font-weight: 750; }
.header-action { color: #fff; background: var(--ink); }
.header-action span, .button span { font-size: 19px; line-height: 1; }
.language-toggle { width: 42px; height: 42px; padding: 0; color: var(--teal); border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.language-toggle:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s ease; }

.hero { position: relative; min-height: 672px; height: calc(100vh - 86px); max-height: 820px; overflow: hidden; background: #edf7f5; }
.hero-grid { position: absolute; z-index: 0; inset: 0; opacity: .66; background-image: linear-gradient(rgba(19, 56, 63, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 56, 63, .055) 1px, transparent 100%); background-size: 52px 52px; mask-image: linear-gradient(90deg, #000 0 60%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0 0 0 48%; background: rgba(189, 222, 223, .34); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.hero-content { position: relative; z-index: 5; width: var(--content); padding-top: clamp(130px, 17vh, 174px); margin: auto; }
.eyebrow { margin: 0 0 17px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.hero h1, h2, h3, p { text-wrap: balance; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(49px, 5.3vw, 76px); line-height: 1.12; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-keywords { margin: 19px 0 0; color: var(--teal); font-size: 17px; font-weight: 750; line-height: 1.5; }
.hero-lead { max-width: 546px; margin: 20px 0 34px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.button-primary { color: #fff; background: var(--teal); }
.text-link { display: inline-flex; align-items: center; gap: 15px; color: var(--teal); font-size: 12px; font-weight: 750; }
.text-link span { font-size: 18px; }

.hero-visual { position: absolute; z-index: 2; top: 0; right: max(0px, calc((100vw - 1360px) / 2)); width: min(62vw, 900px); height: calc(100% - 73px); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(237, 247, 245, .92), rgba(237, 247, 245, .08) 42%, transparent 66%); pointer-events: none; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .6s ease; }
.hero:hover .hero-visual img { transform: scale(1.018); }
.hero-visual-label { position: absolute; right: 32px; bottom: 36px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 14px 17px; color: var(--ink); background: rgba(251, 252, 252, .82); border-left: 3px solid var(--orange); }
.hero-visual-label span { grid-row: 1 / 3; color: var(--orange); font-size: 17px; font-weight: 800; }
.hero-visual-label b { font-size: 10px; letter-spacing: 1.2px; }
.hero-visual-label small { color: var(--muted); font-size: 9px; }
.hero-foot { position: absolute; z-index: 5; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; width: var(--content); height: 74px; margin: auto; border-top: 1px solid rgba(19, 56, 63, .15); align-items: center; }
.hero-foot > span { color: #729092; font-size: 9px; font-weight: 750; letter-spacing: 1.8px; }
.hero-foot a { display: inline-flex; gap: 20px; font-size: 12px; font-weight: 750; }
.hero-foot a span { color: var(--teal); font-size: 18px; }

.section { width: var(--content); margin: auto; padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(300px, 430px); gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .applications h2, .about h2, .contact h2 { margin: 0; font-size: clamp(34px, 4vw, 51px); line-height: 1.18; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 390px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; overflow: hidden; padding: 27px; color: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); transition: background .2s ease; }
.method-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(4, 25, 34, .38), rgba(4, 25, 34, .91)); pointer-events: none; }
.method-card:hover { background: var(--ink-2); }
.method-card-bg { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .8; filter: saturate(.88) contrast(1.08); transition: transform .5s ease, opacity .3s ease; }
.method-card-main .method-card-bg { object-position: right center; }
.method-card:hover .method-card-bg { opacity: .86; transform: scale(1.035); }
.method-card > span, .method-card-content, .method-card > a { position: relative; z-index: 2; }
.method-card > span { color: #c6d8d6; font-size: 10px; font-weight: 800; }
.method-card-main > span { color: var(--aqua); }
.method-card div > p:first-child { margin: 0 0 12px; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.method-card div > p:first-child, .method-card-main div > p:first-child { color: var(--aqua); }
.method-card h3 { margin: 0 0 12px; font-size: 33px; line-height: 1.25; }
.method-card div > p:last-child { margin: 0; color: #c4d8d6; font-size: 12px; line-height: 1.75; }
.method-card > a { position: absolute; right: 25px; bottom: 25px; display: grid; place-items: center; width: 35px; height: 35px; color: var(--teal); border: 1px solid currentColor; border-radius: 50%; font-size: 18px; }
.method-card-main > a { color: #fff; }

.products { padding-top: 105px; }
.products-heading { margin-bottom: 36px; }
.product-toolbar { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 29px; border-bottom: 1px solid var(--line); }
.filter-button { min-height: 42px; padding: 0 17px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-button:hover, .filter-button.is-selected { color: var(--teal); border-bottom-color: var(--teal); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.product-art { position: relative; height: 224px; overflow: hidden; background: var(--mist); }
.product-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 28, 39, .02), rgba(8, 28, 39, .16)); pointer-events: none; }
.product-cover { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.product-card:hover .product-cover { transform: scale(1.045); filter: saturate(1.08); }
.product-art .product-code { position: absolute; z-index: 3; top: 20px; left: 21px; padding: 7px 9px; color: #fff; background: rgba(9, 35, 47, .68); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.product-art-note { position: absolute; z-index: 3; right: 21px; bottom: 18px; color: rgba(255, 255, 255, .84); font-size: 8px; font-weight: 800; letter-spacing: 1.5px; }
.product-copy { display: flex; flex-direction: column; min-height: 232px; padding: 27px; }
.product-family { margin: 0 0 13px; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.product-copy h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.4; }
.product-description { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.product-copy > div { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; }
.product-tag { color: #70898e; font-size: 10px; }
.product-copy a { display: grid; place-items: center; width: 31px; height: 31px; color: var(--teal); border: 1px solid var(--line); border-radius: 50%; font-size: 17px; }
.product-copy a:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.product-card[hidden] { display: none; }
.product-card[data-align="center"] .product-copy { text-align: center; }
.product-card[data-align="center"] .product-copy > div { justify-content: center; gap: 14px; }
.product-card[data-layout="minimal"] .product-art { height: 180px; }
.product-card[data-layout="minimal"] .product-copy { min-height: 198px; padding: 22px; }
.product-card[data-layout="minimal"] .product-copy h3 { font-size: 18px; }
.product-card[data-layout="overlay"] { position: relative; overflow: hidden; background: var(--ink); }
.product-card[data-layout="overlay"] .product-art { height: 306px; }
.product-card[data-layout="overlay"] .product-art::after { background: linear-gradient(180deg, rgba(5, 25, 32, .05), rgba(5, 25, 32, .82)); }
.product-card[data-layout="overlay"] .product-copy { position: relative; z-index: 4; min-height: 0; margin-top: -128px; padding-top: 18px; color: #fff; background: linear-gradient(180deg, transparent, rgba(7, 31, 38, .97) 28%); }
.product-card[data-layout="overlay"] .product-family, .product-card[data-layout="overlay"] .product-description, .product-card[data-layout="overlay"] .product-tag { color: #bfe4df; }
.product-card[data-layout="overlay"] .product-copy a { color: #fff; border-color: rgba(255, 255, 255, .45); }
.product-card[data-layout="overlay"] .product-copy a:hover { color: var(--teal); background: #fff; }

.pipeline-page { overflow: hidden; }
.pipeline-hero { position: relative; display: grid; align-items: end; min-height: 430px; overflow: hidden; color: #fff; background: var(--ink); }
.pipeline-hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 34, 42, .95) 0%, rgba(8, 34, 42, .76) 39%, rgba(8, 34, 42, .14) 74%), url("assets/covers/pipeline-microbial.jpg") center / cover no-repeat; }
body[data-pipeline="genetic"] .pipeline-hero-image { background-image: linear-gradient(90deg, rgba(8, 34, 42, .95) 0%, rgba(8, 34, 42, .76) 39%, rgba(8, 34, 42, .14) 74%), url("assets/covers/pipeline-genetics.jpg"); }
.pipeline-hero-content { position: relative; z-index: 1; width: var(--content); margin: 0 auto; padding: 88px 0 75px; }
.pipeline-hero .eyebrow { color: var(--aqua); }
.pipeline-hero h1 { max-width: 670px; margin: 0; font-size: 52px; line-height: 1.15; }
.pipeline-hero-content > p:not(.eyebrow) { max-width: 650px; margin: 20px 0 27px; color: #d0e4e2; font-size: 15px; line-height: 1.8; }
.pipeline-hero .text-link { color: var(--aqua); }
.pipeline-products { padding-top: 92px; }
.pipeline-genetic-toolbar { display: none; }
body[data-pipeline="genetic"] .product-toolbar[data-pipeline="microbial"] { display: none; }
body[data-pipeline="genetic"] .pipeline-genetic-toolbar { display: flex; }
.pipeline-applications { background: #0d3036; }
.pipeline-solutions-inner { width: var(--content); margin: auto; padding: 96px 0 105px; }
.pipeline-solutions-heading { max-width: 700px; margin-bottom: 48px; }
.pipeline-solutions-heading .eyebrow { color: var(--aqua); }
.pipeline-solutions-heading h2 { max-width: 650px; margin: 0; color: #fff; font-size: 42px; line-height: 1.2; }
.pipeline-solutions-heading > p:not(.eyebrow) { max-width: 610px; margin: 18px 0 0; color: #abc4c2; font-size: 14px; line-height: 1.85; }
.pipeline-solution-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(255, 255, 255, .17); background: rgba(255, 255, 255, .17); }
.pipeline-solution-list .solution-card { min-height: 280px; padding: 30px 32px; background: #0d3036; }
.pipeline-solution-list .solution-card::after { display: none; }
.pipeline-solution-list .solution-card > span { position: static; display: block; margin-bottom: 24px; color: var(--aqua); }
.pipeline-solution-list .solution-card h3 { margin: 0 0 12px; color: #fff; font-size: 23px; line-height: 1.35; }
.pipeline-solution-list .solution-card > p { margin: 0; color: #a8c0bf; font-size: 12px; line-height: 1.75; }
.pipeline-solution-list .solution-card .solution-detail { margin-top: 17px; color: #d4e2e1; font-size: 13px; }
.solution-products { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.solution-products span { padding: 6px 8px; color: #bdece7; border: 1px solid rgba(84, 208, 193, .35); font-size: 10px; line-height: 1.45; }

.applications { color: #fff; background: var(--ink); }
.applications-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 104px; width: var(--content); margin: auto; padding: 104px 0; }
.applications .eyebrow { color: var(--aqua); }
.applications-intro h2 { max-width: 360px; font-size: clamp(31px, 3.25vw, 43px); }
.applications-intro h2 .applications-title-subline { display: block; margin-top: 12px; color: #aac1c0; font-size: 14px; font-weight: 500; line-height: 1.5; }
.applications-intro > p:not(.eyebrow) { max-width: 305px; margin: 25px 0 31px; color: #aac1c0; font-size: 14px; line-height: 1.85; }
.light-link { color: var(--aqua); }
.application-list { border-top: 1px solid rgba(255, 255, 255, .17); }
.application-list article { position: relative; min-height: 114px; padding: 25px 52px 20px 56px; border-bottom: 1px solid rgba(255, 255, 255, .17); }
.application-list article::after { content: "→"; position: absolute; top: 43px; right: 4px; color: var(--aqua); font-size: 22px; }
/* 仅定位序号本身；不能用 .application-list span，否则会命中卡片内的产品标签 */
.application-list article > span { position: absolute; top: 29px; left: 0; color: #6c8588; font-size: 10px; font-weight: 800; }
.application-list h3 { margin: 0 0 8px; font-size: 19px; }
.application-list p { margin: 0; color: #91aaa9; font-size: 11px; }

.about { display: grid; grid-template-columns: .76fr 1fr; gap: 100px; width: var(--content); margin: auto; padding: 116px 0; }
.about-mark { position: relative; min-height: 450px; overflow: hidden; background: #e9f3f1; box-shadow: 0 18px 40px rgba(19, 56, 63, .14); }
.reception-photo { display: block; width: 100%; height: 100%; min-height: 450px; object-fit: cover; object-position: center 48%; filter: brightness(1.04) saturate(.96) contrast(.98); }
.about-copy { align-self: center; }
.about-copy > p:not(.eyebrow) { margin: 21px 0 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 43px 0 0; border-top: 1px solid var(--line); }
.fact-grid div { min-width: 0; padding: 18px 13px 0; border-right: 1px solid var(--line); }
.fact-grid div:first-child { padding-left: 0; }
.fact-grid dt { font-size: 28px; font-weight: 800; }
.fact-grid dd { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }

.contact { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; padding: 80px max(32px, calc((100vw - 1180px) / 2)); color: #fff; background: var(--teal); }
.contact .eyebrow { color: #b6eee9; }
.contact h2 { font-size: 42px; }
.contact div > p:last-child { max-width: 600px; margin: 17px 0 0; color: #c8efeb; font-size: 13px; line-height: 1.8; }
.button-accent { color: #fff; background: var(--orange); }
.footer { display: grid; grid-template-columns: 265px 1fr auto; gap: 31px; align-items: center; padding: 42px max(32px, calc((100vw - 1180px) / 2)) 0; color: #b1c4c5; background: var(--ink-2); }
.footer img { width: 228px; }
.footer p, .footer span { margin: 0; font-size: 11px; }
.footer span { font-size: 10px; }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; margin-top: 36px; padding: 19px 0 21px; border-top: 1px solid rgba(177, 196, 197, .16); }
.footer-legal a { display: inline-flex; align-items: center; color: #8fa6a8; font-size: 10px; letter-spacing: .35px; transition: color .2s ease; }
.footer-legal a:hover { color: var(--aqua); }
.footer-email::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 9px; border-radius: 50%; background: var(--teal); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 270px 1fr auto auto; gap: 16px; }
  .primary-nav { gap: 17px; }
  .hero-visual { right: -16px; width: 620px; }
  .section-heading { gap: 43px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 330px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-hero h1 { font-size: 46px; }
  .applications-inner, .about { gap: 55px; }
  .footer { grid-template-columns: 250px 1fr; }
  .footer span { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --content: min(100% - 36px, 560px); }
  .site-header { height: 70px; grid-template-columns: 1fr auto auto; padding: 0 18px; }
  .brand img { width: 220px; height: 52px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 9px 18px 17px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 26px rgba(19, 56, 63, .1); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .header-action { display: none; }
  .language-toggle { width: 40px; height: 40px; }
  .hero { min-height: 760px; height: auto; }
  .hero::after { inset: 37% 0 0; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
  .hero-grid { mask-image: none; }
  .hero-content { padding-top: 76px; }
  .hero h1 { font-size: 44px; }
  .hero-keywords { margin-top: 14px; font-size: 15px; }
  .hero-lead { margin: 18px 0 25px; font-size: 14px; }
  .hero-visual { top: 397px; right: 0; width: 100%; height: 300px; transform: none; }
  .hero-visual img { top: 50%; width: 100%; }
  .hero-visual-label { right: 18px; bottom: 13px; padding: 10px 12px; }
  .hero-foot { height: 61px; }
  .hero-foot > span { display: none; }
  .hero-foot a { margin-left: auto; }
  .section { padding: 76px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 19px; margin-bottom: 34px; }
  .section-heading h2, .applications h2, .about h2 { font-size: 35px; }
  .section-heading > p { font-size: 13px; }
  .method-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .method-card { min-height: 230px; height: auto; }
  .method-card-main { min-height: 255px; }
  .method-card h3 { font-size: 29px; }
  .products { padding-top: 72px; }
  .pipeline-hero { min-height: 380px; }
  .pipeline-hero-content { padding: 69px 0 62px; }
  .pipeline-hero h1 { font-size: 37px; }
  .pipeline-hero-content > p:not(.eyebrow) { font-size: 13px; }
  .pipeline-products { padding-top: 70px; }
  .product-toolbar { margin-right: -18px; overflow: auto; flex-wrap: nowrap; }
  .filter-button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr; }
  .product-art { height: 202px; }
  .applications-inner { grid-template-columns: 1fr; gap: 35px; padding: 76px 0; }
  .pipeline-solutions-inner { padding: 73px 0; }
  .pipeline-solutions-heading { margin-bottom: 32px; }
  .pipeline-solutions-heading h2 { font-size: 34px; }
  .pipeline-solution-list { grid-template-columns: 1fr; }
  .pipeline-solution-list .solution-card { min-height: 0; padding: 28px 24px; }
  .application-list article { min-height: 105px; padding-left: 45px; }
  .application-list h3 { font-size: 17px; }
  .about { grid-template-columns: 1fr; gap: 46px; padding: 78px 0; }
  .about-mark { min-height: 320px; }
  .reception-photo { min-height: 320px; object-position: center 48%; }
  .fact-grid { margin-top: 31px; }
  .contact { grid-template-columns: 1fr; gap: 28px; padding: 62px 18px; }
  .contact h2 { font-size: 35px; }
  .contact .button { justify-content: space-between; width: 100%; }
  .footer { grid-template-columns: 1fr; gap: 16px; padding: 34px 18px 0; }
  .footer span { grid-column: auto; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 11px; margin-top: 28px; padding: 16px 0 24px; }
}
