:root {
  --ink: #17201d;
  --muted: #67716d;
  --paper: #f8f6ef;
  --white: #ffffff;
  --line: rgba(23, 32, 29, 0.12);
  --copper: #b96f2a;
  --amber: #f0b44d;
  --teal: #1f6f68;
  --pine: #123b36;
  --charcoal: #0f1715;
  --shadow: 0 24px 80px rgba(15, 23, 21, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 56px);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(248, 246, 239, 0.94);
  box-shadow: 0 8px 30px rgba(15, 23, 21, 0.1);
  backdrop-filter: blur(16px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.75;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.lang-toggle {
  display: inline-flex;
  min-width: 48px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 16, 14, 0.82), rgba(11, 16, 14, 0.38) 48%, rgba(11, 16, 14, 0.08)),
    linear-gradient(180deg, rgba(11, 16, 14, 0.24), rgba(11, 16, 14, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(720px, calc(100% - 36px));
  min-height: 92vh;
  margin-left: clamp(18px, 8vw, 110px);
  padding: 108px 0 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

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

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

h1 {
  margin-bottom: 20px;
  font-family: "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-family: "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

body[data-lang="en"] h1 {
  max-width: 820px;
  font-size: clamp(48px, 7vw, 104px);
}

body[data-lang="en"] h2 {
  font-size: clamp(30px, 4.2vw, 54px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 640px;
  margin-bottom: 34px;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.55;
}

.hero-actions,
.tag-list,
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: var(--amber);
  color: var(--charcoal);
  background: var(--amber);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero-facts {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 52px 0 0;
  background: rgba(255, 255, 255, 0.22);
}

.hero-facts div {
  padding: 18px;
  background: rgba(12, 18, 16, 0.46);
  backdrop-filter: blur(8px);
}

.hero-facts dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
}

.hero-facts dd {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.section {
  scroll-margin-top: 80px;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 56px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-band,
.quality-band {
  background: var(--white);
}

.two-column,
.split-visual,
.contact-layout,
.culture-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.section-copy p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.capability-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
}

.capability-grid span {
  display: block;
  margin-bottom: 48px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.capability-grid p,
.product-card li,
.solution-strip p,
.quality-panel p,
.application-list p {
  color: var(--muted);
}

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

.product-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 23, 21, 0.08);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  padding: 26px;
  background: #f4f4ef;
}

.product-card div {
  padding: 26px;
}

.product-card p {
  margin-bottom: 8px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.solution-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
}

.solution-strip div {
  padding: clamp(24px, 4vw, 38px);
  background: var(--pine);
  color: var(--white);
}

.solution-strip p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.image-section {
  color: var(--white);
  background: var(--charcoal);
}

.image-section .section-kicker,
.image-section .tag-list span {
  color: var(--amber);
}

.image-section .section-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.visual-block {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.tag-list {
  margin-top: 28px;
}

.tag-list span,
.cert-row span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
}

.quality-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.quality-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.quality-panel img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.quality-panel h3,
.quality-panel p {
  padding: 0 28px;
}

.quality-panel h3 {
  margin-top: 26px;
}

.quality-panel p {
  padding-bottom: 26px;
}

.cert-row {
  margin-top: 26px;
}

.cert-row span {
  min-width: 90px;
  color: var(--teal);
  background: var(--white);
}

.application-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.application-large {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
}

.application-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.application-large figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  color: var(--white);
  background: rgba(15, 23, 21, 0.64);
}

.application-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.application-list article {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background: var(--white);
}

.culture-section {
  color: var(--white);
  background:
    linear-gradient(rgba(15, 23, 21, 0.7), rgba(15, 23, 21, 0.7)),
    url("assets/fan-classic.webp") center top / cover;
}

.culture-section .section-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.culture-section .section-kicker {
  color: var(--amber);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.value-grid span {
  display: grid;
  min-height: 120px;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.contact-section {
  background: var(--pine);
  color: var(--white);
}

.contact-section .section-kicker {
  color: var(--amber);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-copy img {
  width: min(520px, 100%);
  margin-top: 34px;
  opacity: 0.82;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.contact-card strong {
  font-size: 24px;
}

.contact-card a {
  width: max-content;
  border-bottom: 1px solid rgba(240, 180, 77, 0.7);
  color: var(--amber);
  font-size: 20px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
}

.footer-links {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .site-header,
  .site-nav a::after {
    transition: none;
  }
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 15px;
    font-size: 13px;
  }

  .two-column,
  .split-visual,
  .contact-layout,
  .culture-layout,
  .quality-layout,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 10px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: calc(100% - 36px);
    min-height: 92vh;
    margin: 0 18px;
    padding-top: 96px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hero-facts div {
    padding: 14px 16px;
  }

  .btn {
    width: 100%;
  }

  .capability-grid,
  .product-grid,
  .solution-strip,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .product-card img {
    height: 240px;
  }

  .application-large {
    min-height: 420px;
  }

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

  .footer-links {
    justify-items: start;
  }
}
