:root {
  --burgundy: #6f2937;
  --burgundy-deep: #4c1b25;
  --cream: #f7f2e9;
  --paper: #fffdf9;
  --ink: #2a2320;
  --ink-soft: #5b514c;
  --line: rgba(42, 35, 32, 0.14);
  --font-cjk: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-en: Georgia, "Times New Roman", serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-cjk);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 48px), var(--max-width)); margin: 0 auto; }

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255,253,249,.88);
  backdrop-filter: saturate(140%) blur(10px);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(42,35,32,.04); }
.site-nav .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 3px 8px rgba(5,48,115,.14)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .zh { color: #092f70; font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.brand-text .en { color: #46658f; font-family: var(--font-en); font-size: 10.5px; font-style: italic; letter-spacing: .1em; }
.nav-links { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; }
.nav-links a { position: relative; padding-bottom: 4px; color: var(--ink); font-size: 14.5px; letter-spacing: .04em; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; right: 100%; bottom: 0; left: 0; height: 1px; background: var(--burgundy); transition: right .28s ease; }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: inline-flex; align-items: center; padding: 9px 20px; border: 1px solid var(--ink); border-radius: 2px; font-size: 13.5px; letter-spacing: .06em; text-decoration: none; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.nav-cta:hover { color: #fff; border-color: var(--burgundy); background: var(--burgundy); }
.cta-mobile-only { display: none; }
.nav-toggle { display: none; padding: 6px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }

.breadcrumb { padding: 98px 0 0; color: var(--ink-soft); font-size: 13px; }
.breadcrumb a { text-underline-offset: 3px; }

.product-hero-visual {
  border: 1px solid rgba(111,41,55,.12);
  border-radius: 18px;
  background: #f8f2e9;
  box-shadow: 0 24px 60px rgba(76,27,37,.13);
}
.product-hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.page-hero { padding: 74px 0 82px; background: linear-gradient(135deg, var(--cream), #fff); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--burgundy); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.35; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: .025em; }
h2 { font-size: clamp(27px, 3.5vw, 38px); }
h3 { font-size: 20px; }
.lead { margin: 22px 0 0; color: var(--ink-soft); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 5px; text-decoration: none; font-weight: 800; }
.btn-primary { color: #fff; background: var(--burgundy); }
.btn-secondary { border: 1px solid var(--burgundy); color: var(--burgundy); }
.hero-visual { overflow: hidden; border-radius: 10px; box-shadow: 0 24px 60px rgba(76,27,37,.16); background: #fff; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }

/* Pneumatic actuator product showcase: preserve the full portrait artwork. */
.pneumatic-product-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(111,41,55,.09), transparent 28%),
    linear-gradient(135deg, var(--cream), #fff 68%);
}
.product-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); }
.hero-copy { position: relative; z-index: 1; }
.hero-product-showcase {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(111,41,55,.15);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 30px 70px rgba(76,27,37,.14);
}
.hero-product-showcase::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -54px;
  top: -54px;
  border: 30px solid rgba(111,41,55,.06);
  border-radius: 50%;
}
.showcase-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--burgundy-deep);
}
.showcase-heading span { font-size: 18px; font-weight: 900; letter-spacing: .08em; }
.showcase-heading small { color: var(--ink-soft); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero-product-showcase .hero-visual {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(42,35,32,.08);
  border-radius: 15px;
  box-shadow: none;
  background: #fff;
}
.hero-product-showcase .hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.hero-product-showcase figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-product-showcase figcaption span {
  padding: 5px 10px;
  border: 1px solid rgba(111,41,55,.14);
  border-radius: 999px;
  color: var(--burgundy);
  background: var(--cream);
  font-size: 12px;
  font-weight: 700;
}

.section { padding: 82px 0; }
.section.alt { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head p { margin: 14px 0 0; color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.card p { margin: 10px 0 0; color: var(--ink-soft); }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding: 14px 16px 14px 42px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 14px; color: var(--burgundy); font-weight: 900; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.content-grid p { color: var(--ink-soft); }
.content-grid ul { padding-left: 1.2em; }
.notice { margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--burgundy); background: rgba(111,41,55,.06); }
.faq { border-top: 1px solid var(--line); }
.faq article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq p { margin: 8px 0 0; color: var(--ink-soft); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.decision-table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.decision-table th, .decision-table td { padding: 17px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.decision-table thead th { color: #fff; background: var(--burgundy-deep); }
.decision-table tbody th { width: 24%; color: var(--burgundy); }
.decision-table tbody tr:last-child th, .decision-table tbody tr:last-child td { border-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps article { padding: 28px; border-top: 4px solid var(--burgundy); background: var(--cream); }
.steps span { display: block; margin-bottom: 12px; color: var(--burgundy); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.steps p { margin: 10px 0 0; color: var(--ink-soft); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { padding: 22px; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; background: #fff; }
.related a:hover { border-color: var(--burgundy); }
.related strong { display: block; color: var(--burgundy); }

.cta { padding: 64px 0; color: #fff; background: var(--burgundy-deep); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta p { margin: 10px 0 0; color: #f0dfe3; }
.cta .btn { color: var(--burgundy-deep); background: #fff; white-space: nowrap; }
.page-footer { padding: 28px 0; color: #e6d4d8; background: #32131a; font-size: 13px; }
.page-footer .wrap { display: flex; justify-content: space-between; gap: 24px; }

@media (max-width: 820px) {
  .brand img { width: 46px; height: 46px; }
  .brand-text .zh { font-size: 15px; }
  .brand-text .en { font-size: 9.5px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open .nav-links { display: flex; position: absolute; top: 76px; right: 0; left: 0; flex-direction: column; gap: 0; padding: 8px 28px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.open .nav-links a { display: block; padding: 13px 0; }
  .site-nav.open .nav-links li.cta-mobile-only { display: block; margin-top: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
  .site-nav.open .nav-links li.cta-mobile-only a { padding: 12px 0; }
  .hero-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .cards, .related, .steps { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .page-hero, .section { padding: 58px 0; }
  .cta .wrap, .page-footer .wrap { align-items: flex-start; flex-direction: column; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .hero-product-showcase { width: min(100%, 520px); margin-inline: auto; padding: 18px; border-radius: 18px; }
}

@media (max-width: 480px) {
  .showcase-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .hero-product-showcase { padding: 14px; }
}
