:root {
  --ink: #1e2a2f;
  --muted: #66706f;
  --paper: #fbfaf7;
  --paper-deep: #f1eadf;
  --line: #ded6ca;
  --accent: #c94f35;
  --accent-dark: #9f3924;
  --gold: #f7c85a;
  --lab: #26383a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(30, 42, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "Microsoft YaHei", serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(222, 214, 202, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--accent);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(201, 79, 53, 0.28);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 15px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: var(--paper-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

.section,
.section-band {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
}

.section-band {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 66px;
  background:
    linear-gradient(120deg, rgba(244, 239, 231, 0.92), rgba(251, 250, 247, 0.8)),
    radial-gradient(circle at 88% 18%, rgba(247, 200, 90, 0.26), transparent 32%),
    radial-gradient(circle at 12% 82%, rgba(201, 79, 53, 0.12), transparent 34%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(58px, 12vw, 150px);
  line-height: 0.95;
  font-weight: 900;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.24;
}

.hero-lead {
  max-width: 670px;
  color: #344044;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  font-size: clamp(21px, 2.5vw, 33px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 42, 47, 0.14);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.contact-email {
  cursor: default;
  user-select: text;
}

.button-secondary {
  background: transparent;
}

.hero-visual {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(222, 214, 202, 0.8);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  border-radius: 8px;
}

.signal-card {
  position: absolute;
  right: -18px;
  bottom: 34px;
  display: grid;
  gap: 2px;
  min-width: 132px;
  padding: 16px;
  color: var(--white);
  background: var(--lab);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(30, 42, 47, 0.28);
}

.signal-card span {
  color: #bfcac5;
  font-size: 12px;
}

.signal-card strong {
  font-size: 19px;
}

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

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

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  font-size: 20px;
}

.about-grid p {
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-muted {
  max-width: none;
  background: var(--paper-deep);
}

.section-muted > * {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

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

.article-card,
.lab-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover,
.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tag,
.status {
  align-self: flex-start;
  margin-bottom: 30px;
  padding: 5px 9px;
  color: var(--accent-dark);
  background: #f8e3d9;
  border-radius: 4px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.article-card p,
.lab-card p {
  color: var(--muted);
}

.article-card a,
.lab-action,
.text-link {
  margin-top: auto;
  color: var(--accent-dark);
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

.section-note {
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
}

.lab-card {
  color: var(--white);
  background: var(--lab);
  border-color: rgba(255, 255, 255, 0.1);
}

.lab-card p {
  color: #c3cfcc;
}

.lab-card .status {
  color: var(--ink);
  background: var(--gold);
}

.lab-action {
  color: var(--gold);
}

.lab-card.active {
  background:
    linear-gradient(135deg, rgba(201, 79, 53, 0.28), transparent 52%),
    var(--lab);
}

.methods {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
}

.method-panel {
  padding: 34px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.method-panel .eyebrow {
  color: var(--gold);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-list div {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 800;
}

.method-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.method-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 46px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact-box {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.contact-box p {
  color: #cbd4d0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer-identity,
.beian-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.beian-links {
  justify-content: flex-end;
}

.beian-links a:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero,
  .methods,
  .contact,
  .about-grid,
  .card-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
  }

  .row-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .section,
  .section-band {
    padding: 68px 18px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .brand-name {
    font-size: 17px;
  }

  h1 {
    font-size: 64px;
  }

  .hero-lead {
    font-size: 21px;
  }

  .signal-card {
    position: static;
    margin-top: 12px;
  }

  .about-grid p,
  .article-card,
  .lab-card,
  .method-panel,
  .method-list div,
  .contact-box {
    padding: 22px;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

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