:root {
  --paper: #ffffff;
  --surface: #f5f5f7;
  --white: #ffffff;
  --ink: #1d1d1f;
  --secondary-ink: #6e6e73;
  --accent: #b34116;
  --accent-hover: #8f2f0d;
  --highlight: #f69b48;
  --line: #d2d2d7;
  --ui-radius: 24px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background: var(--paper);
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  overflow: clip;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
}

h1 {
  font-size: clamp(50px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

h3 {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

p {
  color: var(--secondary-ink);
}

.wrap {
  width: min(1240px, calc(100% - 48px));
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.band {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--surface);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(251, 251, 253, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.site-header .nav {
  min-height: 52px;
  gap: 20px;
}

.brand,
.footer-wordmark {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand-symbol {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
}

.brand-symbol img {
  width: 74px;
  top: -6px;
}

.site-header .nav nav {
  gap: 2px;
}

.site-header .nav nav > a {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.site-header .nav nav > a:hover,
.site-header .nav nav > a[aria-current] {
  background: rgba(0, 0, 0, 0.045);
  color: var(--ink);
  text-decoration: none;
}

.site-header .category-menu > .product-menu-trigger {
  min-height: 34px;
  padding-inline: 10px;
  border-radius: 999px;
  font-size: 12px;
}

.site-header .category-menu[open] > .product-menu-trigger,
.site-header .category-menu > .product-menu-trigger[aria-current="page"] {
  background: rgba(0, 0, 0, 0.045);
  color: var(--ink);
}

.header-quote,
.btn {
  min-height: 40px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.header-quote:hover,
.btn:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.secondary {
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
}

.secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

.language-switch {
  min-width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.055);
  font-size: 12px;
  font-weight: 600;
}

.category-panel,
.site-header .product-mega-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0 0 20px 20px;
  background: rgba(251, 251, 253, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  backdrop-filter: saturate(180%) blur(24px);
}

.product-menu-row {
  border-radius: 12px;
}

.product-menu-row:hover,
.product-menu-row:has(details[open]) {
  background: rgba(0, 0, 0, 0.045);
}

.card {
  border: 0;
  border-radius: var(--ui-radius);
  background: var(--paper);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.1);
}

.home-hero {
  min-height: min(780px, calc(100svh - var(--homepage-nav-height, 52px)));
  padding-block: clamp(72px, 10vw, 132px);
  background: #050506;
}

.home-hero::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 50% 45%, transparent 20%, rgba(0, 0, 0, 0.18) 100%);
}

.home-hero .hero-layout {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  justify-content: flex-start;
  text-align: left;
}

.home-hero .hero-copy {
  width: 100%;
}

.home-hero .hero-copy h1 {
  max-width: 950px;
  margin-inline: 0;
  color: var(--white);
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.98;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.32);
  text-wrap: balance;
}

.home-hero .hero-copy p {
  max-width: 720px;
  margin-inline: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.home-hero .hero-brand {
  color: #ffb38e;
  letter-spacing: 0.12em;
}

.home-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.home-hero .secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.28);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.home-hero .secondary:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.home-hero .hero-caption {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.home-hero .hero-picker {
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

.home-hero .hero-arrow {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.home-hero .hero-carousel-toggle {
  border-radius: 999px;
}

.home-product-grid {
  gap: 20px;
  margin-top: 34px;
}

.home-product-grid .product-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: none;
}

.home-product-grid .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.home-product-grid .product-card-photo {
  max-height: none;
  aspect-ratio: 1.1 / 1;
  padding: 24px;
  border-bottom: 0;
  background: #fff;
  object-fit: contain;
}

.home-product-grid .product-card > div {
  padding: 20px 22px 23px;
}

.home-product-grid .product-card h3 {
  margin-bottom: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.product-card-link {
  margin-top: 14px;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
}

.product-card:hover .product-card-link {
  background: var(--accent-hover);
  color: var(--white);
}

.home-one-why {
  background: var(--paper);
}

.home-one-kicker,
.factory-production-kicker,
.wby-kicker,
.wby-section-tag,
.about-section-tag {
  color: var(--accent);
  letter-spacing: 0.08em;
}

.home-one-copy h2 {
  font-size: clamp(44px, 5.2vw, 72px);
  letter-spacing: -0.055em;
}

.home-one-copy > p {
  color: var(--secondary-ink);
  font-size: 18px;
}

.home-one-service {
  border: 0;
  border-radius: 22px;
  background: var(--surface);
}

.home-one-service svg {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

.home-one-service h3 {
  font-size: 16px;
}

.home-one-service p {
  font-size: 11px;
}

.home-one-certs {
  border-color: var(--line);
}

.home-one-certs h3 {
  font-size: clamp(36px, 4vw, 52px);
}

.home-one-cert-list span {
  min-height: 44px;
  border: 0;
  background: var(--surface);
  font-size: 11px;
}

.factory-production {
  min-height: calc(100svh - var(--homepage-nav-height, 52px));
  display: flex;
  align-items: stretch;
  padding-block: clamp(32px, 5vh, 48px);
  background: var(--surface);
}

.factory-production > .wrap {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--homepage-nav-height, 52px) - clamp(64px, 10vh, 96px));
}

.factory-production-intro {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
}

.factory-production-intro h2 {
  max-width: 10em;
  margin-bottom: 12px;
  font-size: clamp(38px, 4vw, 54px);
}

.factory-production-intro p {
  max-width: 56em;
  font-size: 15px;
  line-height: 1.5;
}

.factory-keyfacts {
  gap: 10px;
}

.factory-keyfact {
  min-width: 0;
  padding: 13px 15px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.factory-keyfact small {
  font-size: 10px;
}

.factory-keyfact b {
  margin-top: 7px;
  font-size: clamp(19px, 2vw, 27px);
  white-space: nowrap;
}

.factory-workhead {
  align-items: end;
  margin: clamp(20px, 3vh, 28px) 0 14px;
}

.factory-workhead h3 {
  font-size: clamp(20px, 2vw, 25px);
}

.factory-workhead p {
  margin-top: 4px;
  font-size: 12px;
}

.factory-workhead a {
  font-size: 12px;
}

.factory-process-grid {
  flex: 1 1 300px;
  min-height: 290px;
  max-height: 390px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.factory-process-card {
  min-height: 0;
  height: 100%;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
}

.factory-process-card img {
  height: 100%;
}

.factory-process-card figcaption {
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.factory-process-card figcaption span {
  margin-bottom: 10px;
  font-size: 11px;
}

.factory-process-card figcaption b {
  font-size: 16px;
}

.factory-process-card figcaption small {
  margin-top: 3px;
  font-size: 10px;
}

.factory-production-actions {
  margin-top: 16px;
}

.case-card {
  border: 0;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.065);
}

.case-card > img,
.scenario-photo {
  border-radius: 26px 26px 0 0;
}

.case-card > div {
  padding: 22px;
}

.case-card h3 {
  font-size: 23px;
}

.about-process.band {
  background: #1d1d1f;
  color: var(--white);
}

.cooperation {
  background: var(--paper);
}

.cooperation-step {
  border: 0;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: none;
}

.cooperation-step::before {
  margin-bottom: 12px;
  font-size: 12px;
}

.home-inquiry,
.detail-columns,
.model-specs,
.prose {
  color: var(--ink);
}

.home-inquiry form,
form#quote {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  background: var(--surface);
}

input,
select,
textarea,
.form-control,
.form-select {
  border: 1px solid #d2d2d7 !important;
  border-radius: 12px !important;
  background: var(--white) !important;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(179, 65, 22, 0.12);
}

.detail-lead {
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.product-main-photo {
  border-radius: 28px;
  background: var(--surface);
  object-fit: contain;
  padding: 28px;
}

.model-link-card {
  border-radius: 20px;
  background: var(--surface);
  box-shadow: none;
}

.detail-features .card {
  border-radius: 20px;
  background: var(--surface);
  box-shadow: none;
}

.faq {
  margin-bottom: 10px;
  padding: 18px 20px;
  border: 0;
  border-radius: 18px;
  background: var(--surface);
}

.detail-options {
  border-color: var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.site-footer .footer-wordmark,
.site-footer a,
.site-footer p,
.site-footer h2,
.site-footer strong {
  color: var(--ink);
}

.site-footer .footer-links a,
.site-footer p {
  color: var(--secondary-ink);
}

.site-footer .footer-links a:hover {
  color: var(--accent);
}

.site-footer .foot {
  border-color: var(--line);
}

.quick-contact {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(251, 251, 253, 0.9);
  backdrop-filter: blur(18px);
}

.contact-links div {
  align-items: flex-start;
  gap: 14px;
}

.contact-links dt {
  flex: 0 0 7.25rem;
  white-space: nowrap;
}

.contact-links dd {
  min-width: 0;
}

.wby-hero,
.wby-guide,
.about-page,
.about-hero {
  background: var(--paper);
}

.wby-fit-card,
.wby-service-card,
.wby-faq,
.wby-guide-cta,
.about-product-card,
.about-support-card {
  border: 0;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: none;
}

.wby-service-card {
  min-height: 168px;
}

.wby-faq summary {
  padding-block: 18px;
}

.wby-checklist,
.about-mission {
  background: #1d1d1f;
}

.about-proof {
  background: #1d1d1f;
}

.mh-about .about-hero .secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.24);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.mh-about .about-hero .secondary:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.mh-about .about-proof-item {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-inline: 14px;
  text-align: center;
}

.mh-about .about-proof-item:first-child {
  padding-left: 14px;
}

.mh-about .about-proof-item b {
  font-size: clamp(30px, 3vw, 44px);
  white-space: nowrap;
}

.mh-about .about-proof-item span {
  max-width: none;
}

.about-product-card:hover {
  border-color: transparent;
  background: #ececef;
}

.about-workshop-gallery figure,
.about-media figure,
.about-process-photos figure {
  border-radius: 20px;
}

.about-market-panel {
  border: 0;
  border-radius: 28px;
  background: var(--surface);
}

.skip-link {
  border-radius: 0 0 10px 0;
}

@media (hover: hover) {
  .wby-service-card,
  .about-product-card,
  .home-one-service,
  .cooperation-step {
    transition: transform 220ms ease, background-color 220ms ease;
  }

  .wby-service-card:hover,
  .about-product-card:hover,
  .home-one-service:hover,
  .cooperation-step:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .factory-production {
    padding-block: 30px;
  }

  .factory-production > .wrap {
    min-height: calc(100svh - var(--homepage-nav-height, 120px) - 60px);
  }

  .factory-production-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .factory-production-intro h2 {
    font-size: clamp(36px, 6vw, 46px);
  }

  .factory-production-intro p {
    max-width: 48em;
    font-size: 14px;
  }

  .factory-keyfacts {
    gap: 8px;
  }

  .factory-keyfact {
    padding: 10px 12px 11px;
  }

  .factory-workhead {
    margin-block: 18px 12px;
  }

  .factory-process-grid {
    min-height: 300px;
    max-height: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .factory-process-card figcaption {
    left: 13px;
    right: 13px;
    bottom: 12px;
  }

  .factory-process-card figcaption span {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .factory-process-card figcaption b {
    font-size: 14px;
  }

  .factory-process-card figcaption small {
    display: none;
  }

  .quick-contact {
    display: none;
  }

  .site-header .nav nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header .nav nav::-webkit-scrollbar {
    display: none;
  }

  .home-product-grid {
    gap: 14px;
  }

  .home-product-grid .product-card-photo {
    aspect-ratio: 1 / 1;
    padding: 16px;
  }

  .home-product-grid .product-card > div {
    padding: 16px;
  }

  .home-product-grid .product-card h3 {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .site-header .nav {
    min-height: 48px;
    padding-block: 7px 4px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-symbol {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .brand-symbol img {
    width: 66px;
    top: -5px;
  }

  .header-quote {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .quick-contact {
    display: none;
  }

  .language-switch {
    min-width: 36px;
    min-height: 34px;
    font-size: 11px;
  }

  .site-header .nav nav {
    margin-top: 3px;
    padding-bottom: 6px;
  }

  .home-hero {
    min-height: 690px;
    padding-block: 84px 118px;
  }

  .home-hero .hero-layout {
    width: calc(100% - 36px);
  }

  .home-hero .hero-copy h1 {
    font-size: clamp(43px, 12vw, 60px);
  }

  .home-hero .hero-copy p {
    font-size: 16px;
  }

  .factory-production {
    padding-block: 24px;
  }

  .factory-production > .wrap {
    min-height: calc(100svh - var(--homepage-nav-height, 120px) - 48px);
  }

  .factory-production-intro {
    gap: 12px;
  }

  .factory-production-kicker {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .factory-production-intro h2 {
    margin-bottom: 8px;
    font-size: clamp(31px, 9vw, 38px);
  }

  .factory-production-intro p {
    font-size: 13px;
    line-height: 1.42;
  }

  .factory-keyfact {
    padding: 9px 9px 10px;
    border-radius: 11px;
  }

  .factory-keyfact small {
    font-size: 8px;
  }

  .factory-keyfact b {
    margin-top: 5px;
    font-size: clamp(16px, 5vw, 20px);
  }

  .factory-workhead {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-block: 14px 10px;
  }

  .factory-workhead h3 {
    font-size: 17px;
    line-height: 1.2;
  }

  .factory-workhead p {
    display: none;
  }

  .factory-workhead a {
    margin-top: 0;
    font-size: 10px;
    white-space: nowrap;
  }

  .factory-process-grid {
    min-height: 300px;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .factory-process-card {
    border-radius: 16px;
  }

  .factory-process-card figcaption {
    left: 10px;
    right: 10px;
    bottom: 9px;
  }

  .factory-process-card figcaption span {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .factory-process-card figcaption b {
    font-size: 13px;
    line-height: 1.15;
  }

  .factory-production-actions {
    margin-top: 12px;
  }

  .factory-production-actions .btn,
  .factory-production-actions .secondary {
    min-height: 34px;
    padding: 7px 13px;
    font-size: 11px;
  }

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

  .home-product-grid .product-card {
    border-radius: 20px;
  }

  .home-product-grid .product-card > div {
    padding: 14px;
  }

  .home-product-grid .product-card h3 {
    font-size: 16px;
  }

  .product-card-link {
    margin-top: 10px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .home-one-copy h2 {
    font-size: 39px;
  }

  .home-one-service,
  .case-card,
  .cooperation-step {
    border-radius: 18px;
  }

  .home-one-certs h3 {
    font-size: 34px;
  }

  .home-one-cert-list span {
    min-height: 40px;
    font-size: 9px;
  }

  .home-inquiry form,
  form#quote {
    padding: 20px;
    border-radius: 22px;
  }
}

@media (max-width: 360px) {
  .factory-production {
    padding-block: 16px;
  }

  .factory-production > .wrap {
    min-height: calc(100svh - var(--homepage-nav-height, 120px) - 32px);
  }

  .factory-production-intro {
    gap: 9px;
  }

  .factory-production-intro p {
    font-size: 12px;
    line-height: 1.35;
  }

  .factory-keyfacts {
    gap: 6px;
  }

  .factory-keyfact {
    padding-inline: 7px;
  }

  .factory-keyfact small {
    font-size: 7px;
  }

  .factory-keyfact b {
    font-size: 16px;
  }

  .factory-workhead {
    margin-block: 11px 8px;
  }

  .factory-workhead h3 {
    font-size: 16px;
  }

  .factory-process-grid {
    min-height: 250px;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep the shared site navigation visible above scrolling content. */
body > .site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}
@media (min-width: 761px) {
  .site-header .product-menu-links {
    max-height: min(65dvh, 420px);
    overflow-y: auto;
  }
}
