:root {
  --ink: #1d1a1c;
  --muted: #5f5b61;
  --line: #d9d4cf;
  --paper: #f7f7f2;
  --white: #ffffff;
  --pink: #ff7aa8;
  --cyan: #78d7df;
  --yellow: #ffd86b;
  --green: #6fba8a;
  --shadow: 0 18px 45px rgba(29, 26, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(247, 247, 242, 0.93);
  border-bottom: 1px solid rgba(29, 26, 28, 0.12);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  width: 68px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: end;
  padding: clamp(6rem, 14vh, 9rem) clamp(1.25rem, 6vw, 5rem) clamp(3rem, 9vh, 5rem);
  background-image:
    linear-gradient(90deg, rgba(29, 26, 28, 0.86), rgba(29, 26, 28, 0.5) 44%, rgba(29, 26, 28, 0.12)),
    url("assets/products/bohe-baihe.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--pink);
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 13vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 1.6rem;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
}

.hero-actions,
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.1rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 800;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.proof-strip div {
  padding: clamp(1rem, 3vw, 1.6rem);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  font-size: clamp(1.45rem, 4vw, 2.7rem);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(3.2rem, 8vw, 7rem) clamp(1.25rem, 6vw, 5rem);
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-heading p:not(.eyebrow) {
  font-size: 1.08rem;
  color: var(--muted);
}

.section-heading.compact {
  max-width: 720px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.brand-grid article {
  min-height: 210px;
  padding: 1.25rem;
  background: var(--white);
}

.brand-grid article:nth-child(2) {
  border-top: 6px solid var(--cyan);
}

.brand-grid article:nth-child(3) {
  border-top: 6px solid var(--yellow);
}

.brand-grid article:nth-child(4) {
  border-top: 6px solid var(--pink);
}

.brand-grid p,
.feature-card p,
.product-card p,
.honor-card p,
.case-grid p,
.buy-panel p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.materials-section {
  background: var(--white);
}

.material-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.feature-card div {
  padding: 1.1rem;
}

.feature-card a,
.product-card a {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--pink);
}

.tag,
.product-type {
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--green);
}

.product-section {
  background: var(--paper);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  background: #e9ece5;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.product-body p:last-of-type {
  flex: 1;
}

.catalogue-section {
  background: var(--ink);
  color: var(--white);
}

.catalogue-section .section-heading p:not(.eyebrow),
.catalogue-section .case-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.case-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

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

.case-grid h3,
.case-grid p {
  padding: 0 1rem;
}

.case-grid h3 {
  padding-top: 1rem;
}

.case-grid p {
  padding-bottom: 1rem;
}

.honors-section {
  background: var(--white);
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.honor-card {
  display: grid;
  grid-template-columns: minmax(160px, 42%) 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.honor-card img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--white);
}

.buy-section {
  background:
    linear-gradient(90deg, rgba(255, 122, 168, 0.14), rgba(120, 215, 223, 0.14)),
    var(--white);
}

.buy-panel {
  max-width: 860px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 8px solid var(--pink);
  background: var(--paper);
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.icp {
  grid-column: 1 / -1;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .brand-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .material-showcase,
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: 78vh;
    padding-top: 4rem;
    background-position: center top;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5.5rem);
  }

  .proof-strip,
  .brand-grid,
  .product-grid,
  .honor-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .honor-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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