:root {
  --paper: #f4efe3;
  --paper-deep: #e7ddc7;
  --white: #fffdf7;
  --ink: #253128;
  --muted: #627064;
  --green: #667f56;
  --green-dark: #3f5f45;
  --celadon: #8fa696;
  --ochre: #b78559;
  --cinnabar: #ad564b;
  --line: rgba(59, 68, 56, 0.16);
  --shadow: 0 18px 46px rgba(42, 47, 38, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(63, 95, 69, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(173, 86, 75, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(63, 95, 69, 0.2);
  border-radius: 50%;
  object-fit: cover;
}

.brand-lockup strong,
.site-footer strong {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.brand-lockup small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 6px;
  color: #3d463e;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.is-current {
  background: rgba(102, 127, 86, 0.12);
  color: var(--green-dark);
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 44px;
  padding: 70px clamp(18px, 6vw, 86px) 46px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cinnabar);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  color: var(--green-dark);
  font-size: 4.9rem;
}

h2 {
  color: var(--green-dark);
  font-size: 2.45rem;
}

h3 {
  color: #314132;
  font-size: 1.24rem;
}

p {
  line-height: 1.82;
}

.slogan {
  margin: 12px 0 0;
  color: var(--ochre);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 1.45rem;
}

.hero-intro {
  margin: 26px 0 0;
  max-width: 610px;
  color: #455146;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.primary-link {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(63, 95, 69, 0.24);
}

.text-link {
  border: 1px solid rgba(63, 95, 69, 0.22);
  color: var(--green-dark);
  background: rgba(255, 253, 247, 0.64);
}

.hero-art {
  position: relative;
  margin: 0;
}

.hero-art img {
  width: min(100%, 980px);
  aspect-ratio: 11 / 6;
  object-fit: cover;
  border: 1px solid rgba(58, 64, 54, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: scrollDrift 8s ease-in-out infinite alternate;
}

.quick-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 6vw, 86px) 58px;
}

.quick-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.78);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 127, 86, 0.34);
  background: rgba(255, 253, 247, 0.96);
}

.quick-card span {
  color: var(--cinnabar);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-weight: 700;
}

.quick-card strong {
  display: block;
  margin-top: 14px;
  color: var(--green-dark);
  font-size: 1.06rem;
}

.quick-card em {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.58;
}

.section {
  padding: 76px clamp(18px, 6vw, 86px);
}

.research-section {
  background: rgba(255, 253, 247, 0.72);
  border-block: 1px solid rgba(59, 68, 56, 0.12);
}

.products-section {
  background: linear-gradient(180deg, rgba(239, 244, 235, 0.84), rgba(255, 253, 247, 0.7));
}

.about-section {
  background: rgba(250, 249, 244, 0.84);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #4e5a50;
  font-size: 1rem;
}

.split-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.split-heading > div:first-child {
  max-width: 850px;
}

.count-badge {
  min-width: 148px;
  padding: 18px;
  border: 1px solid rgba(173, 86, 75, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  text-align: center;
}

.count-badge strong {
  display: block;
  color: var(--cinnabar);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 2.5rem;
}

.count-badge span {
  color: var(--muted);
  font-size: 0.9rem;
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}

.research-panel,
.innovation-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
  padding: 26px;
}

.research-panel p,
.research-panel li,
.innovation-band p {
  color: #4b574d;
}

.research-panel ul {
  margin: 18px 0 0;
  padding-left: 1.2rem;
}

.research-panel li + li {
  margin-top: 10px;
}

.research-lead {
  border-left: 5px solid var(--green);
}

.gene-block {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(360px, 0.92fr);
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

caption {
  padding: 18px 20px 8px;
  color: var(--green-dark);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
}

th,
td {
  padding: 16px 18px;
  border-top: 1px solid rgba(59, 68, 56, 0.13);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--green-dark);
  background: rgba(102, 127, 86, 0.1);
  font-size: 0.92rem;
}

td {
  color: #465248;
  line-height: 1.7;
}

.culture-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.culture-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.8);
}

.culture-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.culture-gallery figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.innovation-band {
  margin-top: 24px;
  border-left: 5px solid var(--ochre);
}

.filter-bar {
  position: sticky;
  top: 75px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid rgba(59, 68, 56, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
  backdrop-filter: blur(16px);
}

.filter-btn {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(63, 95, 69, 0.18);
  border-radius: 6px;
  color: var(--green-dark);
  background: rgba(255, 253, 247, 0.9);
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(59, 68, 56, 0.13);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 14px 34px rgba(42, 47, 38, 0.08);
}

.product-card[hidden] {
  display: none;
}

.product-image-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-image-btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product-card:hover .product-image-btn img {
  transform: scale(1.035);
}

.product-hover {
  position: absolute;
  inset: auto 12px 12px;
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(37, 49, 40, 0.82);
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover .product-hover,
.product-image-btn:focus-visible .product-hover {
  opacity: 1;
  transform: translateY(0);
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--green-dark);
  background: rgba(102, 127, 86, 0.12);
  font-size: 0.78rem;
}

.tag.alt {
  color: #7f433b;
  background: rgba(173, 86, 75, 0.11);
}

.product-copy h3 {
  font-size: 1.14rem;
}

.product-copy p {
  margin: 10px 0 0;
  color: #4f5b51;
  font-size: 0.94rem;
  line-height: 1.68;
}

.detail-btn {
  margin-top: auto;
  align-self: flex-start;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(63, 95, 69, 0.24);
  border-radius: 6px;
  color: var(--green-dark);
  background: rgba(255, 253, 247, 0.9);
  cursor: pointer;
}

.detail-btn:hover {
  border-color: var(--green-dark);
  background: rgba(102, 127, 86, 0.1);
}

.about-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.profile-card {
  position: sticky;
  top: 104px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
}

.profile-card img {
  width: 126px;
  height: 126px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-copy article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
}

.about-copy p {
  margin: 12px 0 0;
  color: #4d594f;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 86px);
  border-top: 1px solid rgba(59, 68, 56, 0.14);
  background: #253128;
  color: rgba(255, 253, 247, 0.92);
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}

.product-modal {
  width: min(1040px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(17, 22, 18, 0.32);
}

.product-modal::backdrop {
  background: rgba(21, 26, 22, 0.56);
  backdrop-filter: blur(5px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(37, 49, 40, 0.2);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.9);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.modal-body img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.modal-copy {
  padding: 34px;
}

.modal-copy h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

dt {
  color: var(--green-dark);
  font-weight: 700;
}

dd {
  margin: 5px 0 0;
  color: #4d594f;
  line-height: 1.72;
}

@keyframes scrollDrift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-art img {
    width: 100%;
  }

  .quick-band,
  .product-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gene-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px 16px 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding: 38px 16px 32px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .slogan {
    font-size: 1.16rem;
  }

  .section {
    padding: 54px 16px;
  }

  .quick-band,
  .research-layout,
  .product-grid,
  .about-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quick-band {
    padding: 0 16px 42px;
  }

  .split-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .count-badge {
    align-self: flex-start;
  }

  .filter-bar {
    top: 108px;
  }

  .culture-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .profile-card {
    position: static;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-body img {
    min-height: 280px;
    max-height: 46vh;
  }
}

@media (max-width: 520px) {
  .brand-lockup {
    min-width: 0;
  }

  .brand-lockup strong {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-link,
  .text-link {
    width: 100%;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .culture-gallery {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    top: 105px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .modal-copy {
    padding: 24px 18px;
  }

  .modal-copy h3 {
    font-size: 1.45rem;
  }
}
