@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #17252b;
  --muted: #627177;
  --teal: #008e8b;
  --teal-dark: #006e6c;
  --teal-deep: #005c5b;
  --teal-pale: #e9f5f4;
  --soft: #f6f8f7;
  --line: #dce4e3;
  --white: #ffffff;
  --footer: #006b6b;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-template-part { margin: 0; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.admin-bar .site-header { top: 32px; }
.standard-content { min-height: 62vh; padding: 90px max(24px, calc((100% - 1080px) / 2)); }
.standard-content > h1:first-child { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.standard-content > .article-meta { margin: 0 0 12px; font-size: .78rem; letter-spacing: .04em; }
.standard-content > h1 { max-width: 900px; }
.standard-content > .wp-block-post-featured-image { margin: 30px auto 40px; max-width: 1000px; }
.standard-content > .wp-block-post-content { max-width: 860px; margin-inline: auto; }
.standard-content > .wp-block-post-content p { line-height: 1.85; }
.standard-content > .wp-block-post-content h2 { margin-top: 2.4em; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.article-archive { max-width: 1180px; margin-inline: auto; }
.article-archive > .wp-block-query-title { margin: 12px 0; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.article-archive > p:not(.eyebrow) { max-width: 720px; color: var(--muted); }
.article-archive .wp-block-post-template { gap: 24px; }
.article-archive .content-card { padding: 22px; }
.article-archive .content-card > .wp-block-post-featured-image { margin: -22px -22px 20px; }
.article-archive .content-card > .wp-block-post-featured-image img { width: 100%; height: auto; object-fit: cover; }
.article-archive .content-card h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.article-archive .article-category { margin-bottom: 10px; font-size: .72rem; }
.article-archive .wp-block-post-date { color: var(--muted); font-size: .8rem; }
.article-archive .wp-block-query-pagination { display: flex; justify-content: center; gap: 16px; margin-top: 30px; }
.huayi-article-view .site-header { position: relative; }
.huayi-landing-page .standard-content { max-width: none; padding: 0; }
.huayi-landing-page .standard-content > .wp-block-post-title { display: none; }
.huayi-landing-page .wp-block-post-content { margin: 0; }
.huayi-pillar { color: var(--ink); }
.pillar-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.pillar-hero { padding: 82px 0 72px; background: var(--soft); border-bottom: 1px solid var(--line); }
.pillar-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 68px; }
.pillar-hero h1 { max-width: 740px; margin: 16px 0 22px; font-size: clamp(3.4rem, 6vw, 6.2rem); line-height: 0.96; }
.pillar-lead { max-width: 710px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.pillar-hero-image { overflow: hidden; min-height: 430px; margin: 0; background: white; border: 1px solid var(--line); }
.pillar-hero-image img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.pillar-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pillar-section { padding: 82px 0; }
.pillar-section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar-copy { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 72px; }
.pillar-copy h2, .pillar-section > .pillar-wrap > h2 { margin-top: 0; font-size: clamp(2.4rem, 4vw, 4.1rem); line-height: 1.02; }
.pillar-copy p, .pillar-section > .pillar-wrap > p { color: var(--muted); font-size: 0.98rem; line-height: 1.85; }
.pillar-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.pillar-card { padding: 28px 24px; background: white; border: 1px solid var(--line); }
.pillar-card strong { display: block; margin-bottom: 10px; font-family: "DM Serif Display", Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.pillar-card p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.pillar-specs { width: 100%; margin-top: 34px; border-collapse: collapse; background: white; border: 1px solid var(--line); }
.pillar-specs th, .pillar-specs td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pillar-specs th { width: 28%; color: var(--teal-deep); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pillar-specs td { color: var(--muted); font-size: 0.88rem; }
.pillar-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.pillar-related a { display: flex; justify-content: space-between; align-items: center; min-height: 86px; padding: 22px; background: white; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pillar-related a:hover { border-color: var(--teal); color: var(--teal-deep); }
.pillar-cta { margin: 0 auto 24px; padding: 58px; background: var(--teal-deep); color: white; }
.pillar-cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 38px; }
.pillar-cta h2 { margin: 0 0 12px; color: white; font-size: clamp(2.5rem, 4vw, 4.2rem); }
.pillar-cta p { max-width: 720px; margin: 0; color: rgba(255,255,255,0.76); line-height: 1.7; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; }
.contact-card { padding: 34px; background: white; border: 1px solid var(--line); }
.contact-card h2 { margin-top: 0; font-size: 2.2rem; }
.contact-card a { display: block; margin: 12px 0; color: var(--teal-deep); font-weight: 700; }
.contact-card p { color: var(--muted); line-height: 1.75; }
.content-card { border: 1px solid var(--line); padding: 28px; margin-bottom: 18px; }
.article-body { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.article-body > section { padding: 62px 0; border-bottom: 1px solid var(--line); }
.article-body > section:last-child { border-bottom: 0; }
.article-body h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.article-body h3 { margin-top: 28px; font-size: 1.25rem; }
.article-body p, .article-body li { color: var(--muted); line-height: 1.85; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-note { margin: 28px 0; padding: 24px 28px; background: var(--teal-pale); border-left: 4px solid var(--teal); }
.article-note p { margin: 0; color: var(--ink); }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.resource-card { display: block; min-height: 190px; padding: 30px; background: white; border: 1px solid var(--line); }
.resource-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.resource-card strong { display: block; margin-bottom: 12px; font-family: "DM Serif Display", Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.resource-card p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.resource-card-image { display: block; width: calc(100% + 60px); height: auto; aspect-ratio: 16 / 9; margin: -30px -30px 20px; object-fit: contain; background: #f4f2ec; }
.resource-material-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: calc(100% + 60px); aspect-ratio: 16 / 7; margin: -30px -30px 20px; overflow: hidden; background: #f4f2ec; }
.resource-material-strip img { display: block; width: 100%; height: 100%; object-fit: contain; border-right: 1px solid var(--line); }
.resource-hero-visual { overflow: hidden; min-height: 0; margin: 0; background: white; border: 1px solid var(--line); }
.resource-hero-visual img { display: block; width: 100%; height: 100%; min-height: 340px; aspect-ratio: 4 / 3; object-fit: cover; }
.article-archive-visual { margin: 30px 0 40px; }
.article-archive-visual img { display: block; width: 100%; max-height: 460px; aspect-ratio: 16 / 7; object-fit: cover; }
.article-archive-visual figcaption { padding: 10px 0; color: var(--muted); font-size: .78rem; }
.resource-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 8px auto; }
.resource-photo-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-photo-grid .real-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f4f2ec; }
.resource-photo-grid.material-showcase { width: min(1180px, calc(100% - 48px)); margin: 28px auto 0; }
.resource-photo-grid.material-showcase .real-photo img { object-fit: contain; }
.materials-product-showcase { width: min(1180px, calc(100% - 48px)); margin: 32px auto 0; }
.materials-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.materials-product-grid .real-photo { min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line); }
.materials-product-image { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; background: #f7f6f2; }
.materials-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.materials-product-grid figcaption { padding: 12px 14px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.custom-profile-photo-panel { background: var(--soft); border-block: 1px solid var(--line); }
.product-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.product-card { overflow: hidden; background: white; border: 1px solid var(--line); }
.product-card-image { display: block; aspect-ratio: 1; background: #f5f6f5; }
.product-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 220ms ease; }
.product-card:hover .product-card-image img { transform: scale(1.025); }
.product-card-copy { padding: 22px; }
.product-card-copy h3 { min-height: 2.7em; margin-bottom: 18px; }
.product-card-link { color: var(--teal-dark); font-size: 0.78rem; font-weight: 700; }
.product-detail { width: min(1180px, calc(100% - 48px)); max-width: none; padding: 64px 0 90px; }
.product-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 34px; color: var(--muted); font-size: 0.75rem; }
.product-breadcrumb a { color: var(--teal-dark); font-weight: 700; }
.product-detail-hero { align-items: center; gap: 64px; padding-bottom: 76px; border-bottom: 1px solid var(--line); }
.product-detail-heading h1 { margin: 14px 0 20px; font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1.1; }
.product-detail-heading .wp-block-post-excerpt { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.product-detail-heading .wp-block-buttons { margin-top: 28px; }
.product-detail-heading .wp-block-button__link { border-radius: 3px; background: var(--teal); font-size: 0.84rem; font-weight: 700; }
.product-detail-image { min-height: 500px; background: var(--soft); border: 1px solid var(--line); }
.product-detail-image img { width: 100%; height: 100%; min-height: 500px; object-fit: contain !important; }
.product-detail-content { padding: 76px 0 0; }
.product-detail-content > section { padding: 62px 0; border-bottom: 1px solid var(--line); }
.product-detail-content > section:first-child { padding-top: 0; }
.product-detail-content > section.research-draft-notice { padding: 28px 30px; border: 1px solid #e8d49d; background: #fff9e9; }
.research-draft-notice h2 { font-size: 2rem; }
.research-draft-notice p:last-child { color: var(--muted); margin-bottom: 0; }
.product-detail-content h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
.product-detail-content h3 { font-size: 1.45rem; }
.product-detail-content p, .product-detail-content li { color: var(--muted); line-height: 1.85; }
.product-overview-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.product-value-grid, .product-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.product-value-card, .product-process-card { padding: 28px; background: var(--soft); border: 1px solid var(--line); }
.product-value-card p, .product-process-card p { margin-bottom: 0; font-size: 0.9rem; }
.product-process-card .step-number { display: inline-grid; width: 34px; height: 34px; margin-bottom: 18px; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-size: 0.74rem; font-weight: 700; }
.product-spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.product-spec-table th, .product-spec-table td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.product-spec-table th { width: 30%; color: var(--teal-deep); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; }
.product-spec-table td { color: var(--muted); }
.product-application-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; padding: 0; list-style: none; }
.product-application-list li { position: relative; padding: 14px 18px 14px 44px; border-bottom: 1px solid var(--line); }
.product-application-list li::before { position: absolute; left: 16px; color: var(--teal); content: "✓"; font-weight: 700; }
.product-faq { display: grid; gap: 10px; margin-top: 30px; }
.product-faq details { padding: 0 22px; border: 1px solid var(--line); background: white; }
.product-faq summary { padding: 20px 30px 20px 0; color: var(--ink); cursor: pointer; font-weight: 700; }
.product-faq details p { margin: 0; padding: 0 0 22px; }
.product-related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.product-related-links a { display: flex; min-height: 98px; padding: 20px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); color: var(--teal-dark); font-size: 0.84rem; font-weight: 700; }
.product-related-links a:hover { border-color: var(--teal); transform: translateY(-2px); }
.product-rfq-panel { padding: 46px !important; background: var(--ink); border: 0 !important; color: white; }
.product-rfq-panel h2, .product-rfq-panel p { color: white; }
.product-rfq-panel .button { display: inline-flex; margin-top: 12px; }
.error-page { display: grid; align-content: center; }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { line-height: 1.7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
h2 { font-size: clamp(2rem, 3.1vw, 3.15rem); line-height: 1.08; margin-bottom: 16px; }
h3 { font-size: 1.08rem; line-height: 1.35; }

:focus-visible { outline: 3px solid #efb94f; outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1400px, calc(100% - 64px));
  height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img { width: 154px; height: auto; }
.huayi-brand-lockup { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
.huayi-brand-lockup span { font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.brand.huayi-brand-lockup img, .footer-about .huayi-brand-lockup img { width: 64px; height: 50px; object-fit: contain; background: transparent; margin: 0; }
.footer-about .footer-brand { color: white; margin-bottom: 18px; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 26px; font-size: 0.78rem; font-weight: 600; }
.main-nav a { position: relative; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--teal); transition: width 180ms ease; }
.main-nav a:hover::after { width: 100%; }
.main-nav-item { position: relative; display: flex; align-items: center; align-self: stretch; }
.products-submenu { position: absolute; z-index: 60; top: 100%; left: -18px; display: none; min-width: 238px; padding: 10px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(23,37,43,.14); }
.products-nav-item:hover .products-submenu, .products-nav-item:focus-within .products-submenu { display: grid; }
.products-submenu a { display: block; padding: 12px 18px; color: var(--ink); font-size: .78rem; line-height: 1.35; text-decoration: none; }
.products-submenu a::after { display: none; }
.products-submenu a:hover, .products-submenu a:focus-visible { background: #f5f7f5; color: var(--teal-dark); }
.language { padding-left: 18px; border-left: 1px solid var(--line); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px; }
.menu-button .dashicons { width: 24px; height: 24px; font-size: 24px; }

.button {
  border: 1px solid var(--teal);
  background: var(--teal);
  color: white;
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.button-small { min-height: 38px; padding-inline: 17px; font-size: 0.72rem; }
.button-outline { background: white; color: var(--teal-dark); }
.button-outline:hover { color: white; }

.eyebrow { color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.7rem; font-weight: 700; margin-bottom: 14px; }

.hero {
  width: min(1400px, calc(100% - 64px));
  min-height: 610px;
  margin-inline: auto;
  padding: 52px 0 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.hero-copy { padding-left: 22px; }
.hero h1 { font-size: clamp(3.25rem, 4.45vw, 4.9rem); line-height: 0.99; letter-spacing: -0.035em; max-width: 720px; margin-bottom: 24px; }
.hero-lead { max-width: 610px; color: var(--muted); font-size: 1.07rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.hero-stats div { padding: 17px 14px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; font-weight: 400; line-height: 1; margin-bottom: 8px; }
.hero-stats span { color: var(--muted); font-size: 0.61rem; line-height: 1.35; display: block; }
.hero-visual { min-height: 510px; position: relative; padding-left: 17%; }
.hero-door { width: 83%; height: 510px; object-fit: cover; object-position: 52% 36%; margin-left: auto; }
.hero-factory { position: absolute; left: 0; bottom: 15px; width: 46%; height: 214px; object-fit: cover; object-position: 42% center; border: 7px solid var(--white); box-shadow: 0 18px 44px rgba(20, 54, 59, 0.18); }

.section { padding: 80px max(32px, calc((100% - 1320px) / 2)); scroll-margin-top: 72px; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.left { text-align: left; }
.section-heading.compact { margin-bottom: 30px; }
.section-heading p:last-child { color: var(--muted); margin-bottom: 0; }

.buyer-list { border-top: 1px solid var(--line); }
.buyer-row { display: grid; grid-template-columns: 70px 1.1fr 0.9fr 220px; gap: 32px; align-items: center; min-height: 150px; border-bottom: 1px solid var(--line); padding: 26px 20px; transition: background 180ms ease; }
.buyer-row:hover { background: white; }
.buyer-icon { color: var(--teal); }
.buyer-icon .dashicons { width: 35px; height: 35px; font-size: 35px; }
.buyer-summary h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; font-weight: 400; margin-bottom: 7px; }
.buyer-summary p { color: var(--muted); font-size: 0.84rem; line-height: 1.6; margin: 0; }
.buyer-row ul { color: var(--muted); font-size: 0.78rem; line-height: 1.85; padding-left: 18px; margin: 0; }
.buyer-row > a { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-weight: 700; font-size: 0.76rem; }

.product-system { padding-top: 92px; padding-bottom: 92px; }
.system-family-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.system-family-card { min-height: 310px; padding: 30px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; display: flex; flex-direction: column; align-items: flex-start; }
.system-family-card > span { color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.11em; font-size: 0.62rem; font-weight: 700; }
.system-family-card h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.55rem; font-weight: 400; margin: 15px 0 13px; }
.system-family-card p { color: var(--muted); font-size: 0.75rem; line-height: 1.75; margin-bottom: 24px; }
.system-family-card .text-link { margin-top: auto; }

.filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -18px 0 30px; }
.filter-button { border: 1px solid var(--line); background: white; color: var(--muted); padding: 10px 16px; border-radius: 2px; font-size: 0.74rem; font-weight: 700; cursor: pointer; }
.filter-button.active { color: white; background: var(--teal-dark); border-color: var(--teal-dark); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; min-height: 0; }
.product-card { border: 1px solid var(--line); background: white; border-radius: 5px; overflow: hidden; align-self: stretch; display: flex; flex-direction: column; }
.product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f3f4f1; }
.product-card .product-drawing { height: 72px; aspect-ratio: auto; object-fit: contain; object-position: center; padding: 8px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfcfc; }
.product-body { padding: 24px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.product-body > span { color: var(--teal-dark); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.product-body h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.5rem; font-weight: 400; margin: 8px 0 14px; }
.product-body ul { color: var(--muted); padding-left: 17px; margin: 0 0 18px; font-size: 0.75rem; line-height: 1.8; }
.product-body .text-link { margin-top: auto; }
.catalogue-note { max-width: 820px; margin: 28px auto 0; color: var(--muted); text-align: center; font-size: 0.7rem; line-height: 1.7; }
.text-link { border: 0; background: transparent; color: var(--teal-dark); font-size: 0.72rem; padding: 0; font-weight: 700; display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }

.program-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-tier-card { min-height: 390px; padding: 32px; border: 1px solid var(--line); background: white; display: flex; flex-direction: column; align-items: flex-start; }
.program-number { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal-dark); font-weight: 700; font-size: 0.72rem; }
.program-tier-card h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.75rem; font-weight: 400; margin: 24px 0 14px; }
.program-tier-card > p { color: var(--muted); font-size: 0.8rem; line-height: 1.75; }
.program-tier-card ul { color: var(--muted); font-size: 0.74rem; line-height: 1.85; padding-left: 18px; margin: 8px 0 26px; }
.program-tier-card .text-link { margin-top: auto; }

.engineering { padding: 80px max(32px, calc((100% - 1320px) / 2)); background: #f8faf9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.engineering-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 18px; align-items: stretch; }
.drawing-card { display: grid; grid-template-columns: 1.25fr 0.75fr; border: 1px solid var(--line); background: white; }
.drawing-card img { width: 100%; height: 100%; min-height: 360px; object-fit: contain; padding: 22px; border-right: 1px solid var(--line); }
.drawing-card dl { margin: 0; padding: 28px 22px; }
.drawing-card dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.drawing-card dl div:last-child { border-bottom: 0; }
.drawing-card dt { color: var(--muted); font-size: 0.65rem; margin-bottom: 4px; }
.drawing-card dd { margin: 0; font-size: 0.76rem; font-weight: 700; }
.engineering-photo { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.capability-grid figure, .application-grid figure { margin: 0; overflow: hidden; background: white; }
.capability-grid img { width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; transition: transform 300ms ease; }
.capability-grid figure:hover img, .application-grid figure:hover img { transform: scale(1.025); }
.capability-grid figcaption { display: flex; flex-direction: column; gap: 4px; padding: 14px 6px; }
.capability-grid figcaption strong { font-size: 0.82rem; }
.capability-grid figcaption span { color: var(--muted); font-size: 0.68rem; }
.capability-facts { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.capability-facts div { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; padding: 4px 24px; border-right: 1px solid var(--line); }
.capability-facts div:last-child { border-right: 0; }
.capability-facts .dashicons { grid-row: 1 / 3; color: var(--teal); align-self: center; width: 27px; height: 27px; font-size: 27px; }
.capability-facts strong { font-size: 0.8rem; }
.capability-facts span { color: var(--muted); font-size: 0.63rem; }

.process-list { counter-reset: process; display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; margin: 0; padding: 0; }
.process-list li { position: relative; min-height: 205px; padding: 70px 22px 22px; text-align: center; border: 1px solid var(--line); border-right: 0; background: white; }
.process-list li:last-child { border-right: 1px solid var(--line); }
.process-list li::after { content: ""; position: absolute; top: 31px; left: calc(50% + 24px); width: calc(100% - 48px); border-top: 1px solid var(--teal); }
.process-list li:last-child::after { display: none; }
.process-list li > span { position: absolute; top: 12px; left: calc(50% - 20px); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 50%; background: var(--white); color: var(--teal-dark); font-size: 0.75rem; font-weight: 700; z-index: 1; }
.process-list h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.05rem; margin-bottom: 10px; }
.process-list p { color: var(--muted); font-size: 0.68rem; line-height: 1.65; margin: 0; }

.evidence { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 58px; }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.application-grid img { width: 100%; aspect-ratio: 0.73 / 1; object-fit: cover; transition: transform 300ms ease; }
.application-grid figcaption { display: flex; flex-direction: column; gap: 3px; padding: 12px 4px; text-align: center; }
.application-grid strong { font-size: 0.72rem; }
.application-grid span { color: var(--muted); font-size: 0.62rem; }
.resource-list { display: grid; gap: 10px; }
.resource-list a { min-height: 88px; border: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr 22px; align-items: center; gap: 13px; padding: 16px 18px; transition: border-color 180ms ease, transform 180ms ease; }
.resource-list a:hover { border-color: var(--teal); transform: translateX(3px); }
.resource-list .dashicons { color: var(--teal); }
.resource-list span { display: flex; flex-direction: column; gap: 4px; }
.resource-list strong { font-size: 0.76rem; }
.resource-list small { color: var(--muted); line-height: 1.45; font-size: 0.65rem; }

.quote { scroll-margin-top: 72px; width: min(1400px, calc(100% - 64px)); margin: 0 auto 56px; display: grid; grid-template-columns: 0.38fr 1fr; background: #f2f7f6; border: 1px solid #d5e4e2; }
.quote-panel { min-width: 0; display: grid; }
.s04-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.catalogue-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.buyer-summary { margin-top: 24px; padding: 18px; background: var(--soft); border: 1px solid var(--line); }
.buyer-summary dl { margin: 0 0 12px; font-size: .875rem; line-height: 1.6; }
.buyer-summary dl > div { padding: 8px 0; }
.buyer-summary dt { font-weight: 700; color: var(--ink); }
.buyer-summary dd { margin: 3px 0 0; color: var(--muted); }
.quote-form .quote-selection { grid-column: 1 / -1; margin: 0 0 12px; padding: 14px; border-left: 3px solid var(--teal); background: white; overflow-wrap: anywhere; color: var(--ink); }
.quote-form .quote-selection[hidden] { display: none; }
.catalogue-grid .content-card { min-width: 0; padding: 20px; margin: 0; }
.catalogue-grid img { width: 100%; height: 220px; object-fit: contain; }
.catalogue-grid h3 { margin: 12px 0 20px; }
.catalogue-controls { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
.catalogue-controls label { display: grid; gap: 6px; flex: 1; min-width: 180px; }
.catalogue-controls input, .catalogue-controls select { width: 100%; padding: 12px; border: 1px solid var(--line); background: white; font: inherit; }
.catalogue-controls [data-catalogue-count] { align-self: center; margin: 0 0 10px; color: var(--muted); font-size: .82rem; }
.catalogue-card-image { display: block; aspect-ratio: 1; background: #f7f4ed; }
.catalogue-controls[hidden], [data-catalogue-card][hidden], [data-catalogue-empty][hidden] { display: none; }
.catalogue-grid .content-card h3 { margin: 10px 0 0; line-height: 1.35; }
@media(max-width:760px) { .catalogue-grid { grid-template-columns: 1fr; } }
.s04-profile-card { padding: 24px; border: 1px solid var(--line); min-width: 0; }
.s04-profile-card img { display: block; width: 100%; height: 280px; object-fit: contain; background: white; }
.s04-profile-card .button { white-space: normal; text-align: center; }
/* Compact catalogue routes keep the products near the top on small screens. */
.product-archive .archive-routes { gap: 12px; margin: 24px 0; }
.product-archive .archive-routes .plan-card { padding: 18px; min-height: 0; }
.product-archive .archive-routes h2 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; }
.product-archive .archive-routes p { display: none; }
.product-archive .archive-routes a { display: inline-block; font-size: .85rem; }
.product-archive > h2 { font-size: 1.8rem; margin: 24px 0 16px; }
.product-archive .content-card h3 { font-size: 1.25rem; line-height: 1.35; }
.product-detail > .product-detail-hero,
.product-detail > .wp-block-post-content { max-width: 100%; }
.product-detail.standard-content { margin-left: auto; margin-right: auto; }
.product-detail > .product-detail-hero,
.product-detail > .wp-block-post-content { margin-left: auto !important; margin-right: auto !important; }
.product-detail-image { aspect-ratio: auto; }
.product-detail-image img { height: 400px; max-height: 400px; }
.product-detail-hero { gap: 36px; padding-bottom: 36px; }
.product-detail-image, .product-detail-image img { min-height: 360px; }
.product-detail-content { padding-top: 36px; }
.product-detail-content h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; }
@media (max-width: 760px) {
  .article-archive { padding: 42px 22px; }
  .product-archive.standard-content { padding-top: 28px; }
  .product-archive .archive-routes { gap: 8px; margin: 18px 0; }
  .product-archive .archive-routes .plan-card { padding: 12px 14px; }
  .product-archive .archive-routes h2 { font-size: 1.15rem; margin-bottom: 4px; }
}
@media (max-width: 760px) { .s04-profile-grid { grid-template-columns: 1fr; } }
.quote-intro { padding: 54px 46px; border-right: 1px solid #d5e4e2; }
.quote-intro h2 { font-size: clamp(2.2rem, 3.4vw, 3.5rem); }
.quote-intro > p:not(.eyebrow) { color: var(--muted); font-size: 0.86rem; }
.quote-intro ul { list-style: none; padding: 18px 0 0; margin: 0; display: grid; gap: 16px; }
.quote-intro li { display: flex; gap: 11px; align-items: center; color: var(--muted); font-size: 0.76rem; }
.quote-intro li .dashicons { color: var(--teal); }
.quote-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; padding: 46px; align-content: center; }
.quote-form label { display: flex; flex-direction: column; gap: 7px; color: #42575c; font-size: 0.65rem; font-weight: 700; }
.quote-form label > span:first-of-type { color: #bd3f3f; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-width: 0; border: 1px solid #cfdcda; background: white; color: var(--ink); min-height: 45px; padding: 11px 12px; border-radius: 2px; font-size: 0.73rem; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--teal); outline: 2px solid rgba(0, 142, 139, 0.14); }
.file-field { grid-column: span 2; }
.file-field input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.file-field > span:last-child { min-height: 45px; border: 1px dashed #9abeba; background: white; color: var(--teal-dark); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; cursor: pointer; font-size: 0.7rem; }
.message-field { grid-column: span 2; }
.consent { grid-column: 1 / span 3; flex-direction: row !important; align-items: center; font-weight: 400 !important; }
.consent input { width: 16px; min-height: 16px; accent-color: var(--teal); }
.consent span { color: var(--muted) !important; }
.submit-button { align-self: end; }
.submit-button:disabled { opacity: 0.65; cursor: wait; transform: none; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { grid-column: 1 / span 3; min-height: 22px; color: var(--muted); font-size: 0.72rem; align-self: center; }
.form-status[data-type="error"] { color: #a32828; }
.quote-success { padding: 70px; display: grid; align-content: center; justify-items: start; }
.quote-success > span { width: 60px; height: 60px; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 50%; margin-bottom: 22px; }
.quote-success h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; font-weight: 400; margin-bottom: 10px; }
.quote-success p { color: var(--muted); max-width: 680px; }

.site-footer { background: var(--footer); color: white; padding: 64px max(32px, calc((100% - 1320px) / 2)) 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 48px; }
.footer-about .footer-brand img { width: 54px; height: 42px; margin: 0; }
.footer-about p { color: rgba(255,255,255,0.75); max-width: 300px; font-size: 0.74rem; }
.button-footer { background: transparent; border-color: rgba(255,255,255,0.7); min-height: 40px; font-size: 0.7rem; }
.footer-grid h2 { font-family: "Manrope", Arial, sans-serif; font-size: 0.78rem; font-weight: 700; margin-bottom: 18px; }
.footer-grid > div:not(.footer-about) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a, .footer-grid > div > p { color: rgba(255,255,255,0.9); font-size: 0.76rem; line-height: 1.6; margin: 0; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.58); font-size: 0.62rem; }

@media (max-width: 1100px) {
  .header-inner { width: min(100% - 36px, 1400px); }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: white; padding: 24px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a, .language { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav-item { display: block; align-self: auto; border-bottom: 1px solid var(--line); }
  .main-nav-item > a { display: block; border-bottom: 0; }
  .products-submenu { position: static; display: grid; min-width: 0; padding: 0 0 8px 14px; border: 0; border-left: 2px solid var(--line); box-shadow: none; }
  .products-submenu a { padding: 10px 12px; border-bottom: 0; font-size: .75rem; }
  .language { border-left: 0; }
  .main-nav .button { margin-top: 16px; }
  .hero { grid-template-columns: 1fr 0.9fr; gap: 36px; }
  .hero h1 { font-size: clamp(3.2rem, 6vw, 4.6rem); }
}

@media (min-width: 761px) and (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .buyer-row { grid-template-columns: 54px 1fr 0.8fr; }
  .buyer-row > a { grid-column: 2 / 4; justify-self: start; }
  .system-family-grid { grid-template-columns: repeat(2, 1fr); }
  .system-family-card:last-child { grid-column: 1 / -1; min-height: 230px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); min-height: 0; }
  .program-tier-grid { grid-template-columns: 1fr; }
  .program-tier-card { min-height: 0; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-facts { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .capability-facts div:nth-child(3) { border-right: 0; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-list li:nth-child(3) { border-right: 1px solid var(--line); }
  .process-list li:nth-child(-n + 3) { border-bottom: 0; }
  .evidence { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote-intro { border-right: 0; border-bottom: 1px solid #d5e4e2; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .quote { grid-template-columns: minmax(0, 1fr); }
  .quote-intro { border-right: 0; border-bottom: 1px solid #d5e4e2; }
  .header-inner { height: 68px; }
  .main-nav { top: 68px; }
  .brand img { width: 138px; }
  .hero { width: 100%; min-height: auto; grid-template-columns: 1fr; padding: 42px 22px 58px; gap: 40px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero-lead { font-size: 0.96rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 420px; padding-left: 12%; }
  .hero-door { height: 420px; width: 88%; }
  .hero-factory { width: 54%; height: 155px; border-width: 5px; bottom: 12px; }
  .section, .engineering { padding: 72px 22px; }
  .section-heading { margin-bottom: 34px; }
  h2 { font-size: 2.35rem; }
  .buyer-row { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 10px; }
  .buyer-row ul, .buyer-row > a { grid-column: 2; }
  .system-family-grid { grid-template-columns: 1fr; }
  .system-family-card, .system-family-card:last-child { grid-column: auto; min-height: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .program-tier-grid { grid-template-columns: 1fr; }
  .filter-row { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .filter-button { white-space: nowrap; }
  .engineering-grid, .drawing-card { grid-template-columns: 1fr; }
  .drawing-card img { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .engineering-photo { min-height: 320px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-facts { grid-template-columns: 1fr 1fr; }
  .capability-facts div { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 10px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li:nth-child(3) { border-right: 1px solid var(--line); border-bottom: 0; }
  .process-list li:last-child { border-bottom: 1px solid var(--line); }
  .process-list li::after { display: none; }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .quote { width: calc(100% - 24px); margin-bottom: 24px; }
  .quote-intro, .quote-form, .quote-success { padding: 32px 22px; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form label, .file-field, .message-field, .consent, .form-status { grid-column: 1 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .pillar-wrap { width: calc(100% - 36px); }
  .pillar-hero { padding: 54px 0 48px; }
  .pillar-hero-grid, .pillar-copy, .pillar-cta-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillar-hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .pillar-hero-image, .pillar-hero-image img { min-height: 330px; }
  .pillar-section { padding: 58px 0; }
  .pillar-card-grid, .pillar-related, .resource-grid, .product-card-grid { grid-template-columns: 1fr; }
  .product-detail { width: calc(100% - 36px); padding-top: 38px; }
  .product-detail-hero, .product-overview-grid, .product-value-grid, .product-process-grid, .product-related-links { grid-template-columns: 1fr; gap: 16px; }
  .product-detail-image, .product-detail-image img { min-height: 340px; }
  .product-detail-content { padding-top: 54px; }
  .product-spec-table th, .product-spec-table td { display: block; width: 100%; }
  .product-spec-table th { padding-bottom: 4px; border-bottom: 0; }
  .product-spec-table td { padding-top: 4px; }
  .product-application-list { grid-template-columns: 1fr; }
  .product-rfq-panel { padding: 32px 24px !important; }
  .pillar-specs th, .pillar-specs td { display: block; width: 100%; }
  .pillar-specs th { padding-bottom: 4px; border-bottom: 0; }
  .pillar-specs td { padding-top: 4px; }
  .pillar-cta { padding: 38px 24px; }
}

/* Owner-supplied photography: preserve subjects, separate captions from evidence. */
.huayi-landing-page .standard-content > .wp-block-post-content { max-width: none; width: 100%; }
.plan-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; font-size: .8rem; color: var(--muted); }
.plan-breadcrumb a { color: var(--teal-dark); }
.site-plan-page .pillar-hero h1 { font-size: clamp(2.7rem, 4.4vw, 4.8rem); line-height: 1.08; }
.site-plan-page .pillar-actions { align-items: center; }
.site-plan-page .pillar-hero .real-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.plan-intro { max-width: 880px; }
.plan-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 22px; margin-top: 36px; }
.plan-card { display: flex; flex-direction: column; padding: 30px 24px; border: 1px solid var(--line); border-top: 3px solid var(--teal); background: white; min-width: 0; }
.plan-card h3 { margin: 0 0 16px; font-size: 1.7rem; }
.plan-card p { margin: 0 0 26px; font-size: .92rem; color: var(--muted); line-height: 1.8; }
.plan-card .text-link { margin-top: auto; font-size: .85rem; }
.plan-checklist { margin: 0; padding-left: 25px; }
.plan-checklist li { padding: 0 0 20px 10px; margin-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.plan-checklist li::marker { color: var(--teal-dark); font-weight: 700; }
.main-nav a[aria-current="page"] { color: var(--teal-dark); }
.main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a:focus-visible, .menu-button:focus-visible, .text-link:focus-visible, .site-footer a:focus-visible { outline: 3px solid #efb94f; outline-offset: 4px; }
.archive-routes { margin: 28px 0 42px; }
@media (max-width: 760px) { .plan-card-grid { grid-template-columns: 1fr; } .site-plan-page .pillar-cta-grid > a { white-space: normal; text-align: center; } }
.factory-film-section { padding: 76px 24px; border-top: 1px solid var(--line); }
.factory-film-wrap { max-width: 1180px; margin: 0 auto; }
.factory-film-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 30px; }
.factory-film-heading p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }
.factory-film-section video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #17252b; }
.factory-film-bottom { display: flex; align-items: start; gap: 32px; justify-content: space-between; margin-top: 22px; }
.factory-film-bottom details { max-width: 760px; font-size: .82rem; line-height: 1.8; color: var(--muted); }
.factory-film-bottom summary { cursor: pointer; color: var(--ink); }
.factory-film-bottom .text-link { flex-shrink: 0; }
.huayi-real-story-page .standard-content > .wp-block-post-content { max-width: none; width: 100%; }
.huayi-real-story-page .pillar-cta .text-link { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
#skirting-materials .pillar-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { #skirting-materials .pillar-related { grid-template-columns: 1fr; } }
.capability-grid img { height: auto; aspect-ratio: 4 / 3; }
.hero-real { padding-bottom: 34px; }
.hero-real .hero-door { object-position: center; }
.hero-real .hero-factory { bottom: 49px; }
.hero-photo-label { margin: 15px 0 0; padding-left: 0; color: var(--muted); font-size: .72rem; text-align: right; }
.engineering-real { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.engineering-real .engineering-photo { flex: 1; height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.engineering-real figcaption, .real-photo figcaption, .exhibition-teaser figcaption { padding: 12px 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.real-section-link { text-align: center; margin-top: 28px; }
.exhibition-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; border-bottom: 1px solid var(--line); }
.exhibition-teaser figure, .real-photo { margin: 0; min-width: 0; }
.exhibition-teaser img { width: 100%; height: auto; }
.exhibition-teaser p:not(.eyebrow) { color: var(--muted); }
.real-story .pillar-hero h1 { font-size: clamp(3rem, 4.6vw, 5.2rem); line-height: 1.05; }
.real-story .real-photo img { width: 100%; height: auto; }
.real-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; margin-top: 36px; align-items: start; }
.real-gallery:not(.exhibition-gallery) img { aspect-ratio: 4 / 3; object-fit: cover; }
.real-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 36px 0; }
.real-steps article { border-top: 2px solid var(--teal); padding: 26px 12px 0 0; }
.real-steps article > span { display: block; color: var(--teal-dark); font-size: .8rem; margin-bottom: 18px; }
.real-steps p { color: var(--muted); font-size: .9rem; }
.real-note { border-left: 3px solid var(--teal); padding: 18px 24px; margin-top: 28px; background: var(--teal-pale); font-size: .85rem !important; }
.exhibition-story .pillar-hero h1 { max-width: 920px; }
.exhibition-story .pillar-hero > .pillar-wrap > .real-photo { margin-top: 40px; }
.exhibition-story .pillar-hero .real-photo img { max-height: 660px; object-fit: contain; background: #e8eeeb; }
.exhibition-gallery { grid-template-columns: 1.25fr .75fr; }
.exhibition-gallery img { max-height: 600px; object-fit: contain; background: #e8eeeb; }
@media (max-width: 760px) {
  .factory-film-section { padding: 54px 22px; }
  .factory-film-heading { grid-template-columns: 1fr; gap: 12px; }
  .factory-film-bottom { flex-direction: column; gap: 16px; }
  .evidence { grid-template-columns: minmax(0, 1fr); }
  .evidence > * { min-width: 0; }
  .exhibition-teaser { grid-template-columns: 1fr; gap: 28px; }
  .real-gallery, .real-steps, .exhibition-gallery { grid-template-columns: 1fr; }
  .hero-real { padding-bottom: 30px; }
  .hero-real .hero-factory { bottom: 45px; }
  .real-story .pillar-hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .real-note { padding: 18px; }
}

/* Reading hierarchy: show the product before extended buying guidance. */
.product-detail > .buyer-summary { max-width: none; }
.huayi-contact-page .pillar-hero { padding: 34px 0 28px; }
.huayi-contact-page .pillar-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.huayi-contact-page .pillar-lead { font-size: 1rem; max-width: 780px; margin-bottom: 0; }
.huayi-contact-page .pillar-section { padding: 32px 0; }
.huayi-contact-page .contact-card { padding: 26px; min-width: 0; }
.huayi-contact-page .contact-card h2 { font-size: 1.7rem; margin-bottom: 18px; }
.huayi-contact-page .contact-card a { overflow-wrap: anywhere; }
.huayi-contact-page .contact-card .button { display: flex; align-items: center; justify-content: center; color: #fff; background: var(--teal-deep); padding: 14px 20px; min-height: 48px; text-align: center; }
.contact-requirements { padding-left: 22px; color: var(--muted); line-height: 1.65; }
.contact-requirements li { margin-bottom: 10px; }
.contact-secondary-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.contact-secondary-links a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .product-detail-hero { display: flex !important; flex-direction: column; align-items: stretch; gap: 16px; }
  .product-detail-heading { display: contents; }
  .product-detail-heading > .eyebrow { order: 0; margin: 0; }
  .product-detail-heading > h1 { order: 1; margin: 0; font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .product-detail-hero > .product-detail-image { order: 2; margin: 0 !important; }
  .product-detail-image, .product-detail-image img { min-height: 0; height: auto; }
  .product-detail-image img { width: 100%; height: 300px; object-fit: contain; }
  .product-detail-heading > .wp-block-post-excerpt { order: 3; margin: 0; }
  .product-detail-heading > .wp-block-buttons { order: 4; margin-top: 0; }
  .product-detail-heading > p { order: 4; margin: 0; max-width: none; }
  .product-detail-heading > .eyebrow { max-width: none; text-align: left; }
  .huayi-homepage .hero { display: flex; flex-direction: column; align-items: stretch; padding: 28px 22px 40px; gap: 22px; }
  .huayi-homepage .hero-copy { display: contents; }
  .huayi-homepage .hero-copy > .eyebrow { order: 0; margin: 0; }
  .huayi-homepage .hero h1 { order: 1; font-size: clamp(2.4rem, 10vw, 3rem); line-height: 1.06; margin: 0; }
  .huayi-homepage .hero-lead { order: 2; margin: 0; }
  .huayi-homepage .hero-visual { order: 3; min-height: 0; padding: 0 0 24px 12%; }
  .huayi-homepage .hero-door { height: 270px; }
  .huayi-homepage .hero-factory { height: 125px; bottom: 54px; }
  .huayi-homepage .hero-actions { order: 4; margin: 0; }
  .huayi-homepage .hero-stats { order: 5; }
  .huayi-contact-page .contact-grid { gap: 18px; }
  .huayi-contact-page .contact-card { padding: 22px; }
  .huayi-contact-page .pillar-hero { padding: 28px 0 20px; }
  .huayi-contact-page .pillar-section { padding: 22px 0; }
}

/* Factory homepage: product photographs and straightforward editorial sections. */
.factory-home h1, .factory-home h2, .factory-home h3 { font-family: Arial, sans-serif; font-weight: 600; letter-spacing: -.025em; }
.factory-home h1 { font-size: clamp(2.5rem, 4vw, 3.9rem); line-height: 1.12; }
.factory-home h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.2; }
.factory-home .hero { max-width: 1320px; width: calc(100% - 64px); padding: 42px 0; gap: 54px; }
.factory-home .hero-copy { padding: 0; }
.factory-home .hero-visual { padding: 0; min-height: 0; }
.factory-home .hero-door { width: 100%; height: 420px; object-fit: cover; }
.factory-home .hero-photo-label { text-align: left; font-size: .8rem; }
.factory-home .hero-actions { margin-bottom: 0; }
.factory-home .section { padding-top: 56px; padding-bottom: 56px; }
.factory-home #products { background: #f5f4f0; }
.factory-home .section-heading { text-align: left; margin-bottom: 24px; }
.home-range-links { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.home-range-links a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 5px; }
.factory-home .filter-row { justify-content: flex-start; margin-bottom: 22px; }
.factory-home .product-grid { min-height: 0; gap: 32px 24px; }
.factory-home .product-card { background: transparent; border: 0; box-shadow: none; }
.factory-home .product-card img { width: 100%; height: 270px; object-fit: contain; background: #fff; }
.factory-home .product-body { padding: 18px 0 8px; }
.factory-home .product-body h3 { font-size: 1.2rem; line-height: 1.4; margin: 8px 0 14px; min-height: 0; }
.home-materials { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.home-materials figure { margin: 0; }
.home-materials img { display: block; width: 100%; max-height: 480px; object-fit: contain; background: #f5f4f0; }
.home-materials figcaption { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.home-material-list { margin: 26px 0; }
.home-material-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; border-top: 1px solid var(--line); padding: 14px 0; }
.home-material-list dt { font-weight: 700; }
.home-material-list dd { margin: 0; color: var(--muted); font-size: .92rem; }
.home-materials .text-link { display: inline-block; margin: 0 20px 12px 0; }
.factory-home #factory { background: #f5f4f0; }
.factory-home .capability-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.factory-home .capability-grid figure { margin: 0; }
.factory-home .capability-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.factory-home .real-section-link, .home-factory-links { text-align: left; }
.home-reading { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; border-top: 1px solid var(--line); }
.home-reading .resource-list a { grid-template-columns: minmax(0, 1fr) auto; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); }
.home-reading .resource-list a > span { min-width: 0; }
.factory-home .quote-intro a { color: var(--teal-deep); overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .factory-home .hero { width: 100%; padding: 28px 22px 36px; gap: 20px; }
  .factory-home .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.14; }
  .factory-home .hero-visual { padding: 0; }
  .factory-home .hero-door { width: 100%; height: 260px; }
  .factory-home .section { padding-top: 38px; padding-bottom: 38px; }
  .home-materials, .home-reading { grid-template-columns: 1fr; gap: 28px; }
  .home-material-list > div { grid-template-columns: 90px 1fr; gap: 12px; }
  .factory-home .capability-grid { grid-template-columns: 1fr; }
}

/* September visual polish — scoped to the approved factory homepage. */
.factory-home { --muted: #52646a; --line: #d8dfdc; }
.factory-home h1, .factory-home h2, .factory-home h3 { font-family: "Manrope", Arial, sans-serif; }
.factory-home h1 { font-weight: 600; letter-spacing: -.045em; }
.factory-home h2 { font-weight: 600; letter-spacing: -.035em; }
.factory-home .hero { max-width: 1200px; padding: 56px 0; gap: 64px; grid-template-columns: 1fr 1.08fr; }
.factory-home .hero h1 { font-size: clamp(2.5rem, 3.65vw, 3.5rem); line-height: 1.13; }
.factory-home .hero-lead { font-size: 1rem; line-height: 1.8; max-width: 480px; margin-top: 24px; }
.factory-home .hero-door { height: 440px; border-radius: 4px; }
.factory-home .hero-photo-label { margin-top: 12px; }
.factory-home .section { padding-left: max(24px, calc((100% - 1200px) / 2)); padding-right: max(24px, calc((100% - 1200px) / 2)); padding-top: 64px; padding-bottom: 64px; }
.factory-home .section-heading h2 { margin-bottom: 12px; }
.factory-home .section-heading p { margin-bottom: 0; }
.factory-home .button { border-radius: 3px; min-height: 48px; font-size: .85rem; padding: 13px 22px; }
.factory-home .button:not(.button-outline) { background: var(--teal-dark); }
.factory-home .button-outline { border-color: #8ba5a2; }
.factory-home .home-range-links { margin-top: 24px; font-size: .9rem; gap: 14px 26px; }
.factory-home .filter-row { gap: 8px; }
.factory-home .filter-button { border-color: transparent; background: transparent; color: var(--muted); min-height: 44px; padding: 10px 16px; font-size: .85rem; }
.factory-home .filter-button.active { background: #fff; border-color: #adc6bf; color: var(--teal-deep); box-shadow: inset 0 -2px var(--teal-dark); }
.factory-home .product-grid { gap: 32px 28px; }
.factory-home .product-card { border-radius: 0; }
.factory-home .product-card img { padding: 12px; height: 285px; border: 1px solid #e3e6e1; border-radius: 3px; }
.factory-home .product-body { padding: 18px 0 0; }
.factory-home .product-body > span { font-size: .75rem; letter-spacing: .05em; }
.factory-home .product-body h3 { font-size: 1.12rem; font-weight: 600; min-height: 3.1em; margin: 10px 0 16px; }
.factory-home .text-link { font-size: .87rem; }
.factory-home .catalogue-note { text-align: left; font-size: .87rem; margin-top: 32px; }
.factory-home .home-materials { gap: 64px; }
.factory-home .home-materials img { border-radius: 3px; }
.factory-home .home-material-list dd { line-height: 1.7; }
.factory-home .capability-grid { gap: 32px; }
.factory-home .capability-grid img { height: 300px; aspect-ratio: auto; border-radius: 3px; }
.factory-home .capability-grid figcaption { background: transparent; padding: 16px 0 0; }
.factory-home .capability-grid figcaption strong { font-size: 1rem; }
.factory-home .capability-grid figcaption span { font-size: .84rem; }
.factory-home .factory-film-wrap { max-width: 1200px; }
.factory-home .home-reading .resource-list strong { font-size: 1rem; font-weight: 600; }
.factory-home .home-reading .resource-list small { font-size: .85rem; line-height: 1.6; }
.factory-home .quote { max-width: 1200px; grid-template-columns: .75fr 1.25fr; background: #f5f7f4; margin-top: 16px; }
.factory-home .quote-intro { padding: 38px; }
.factory-home .quote-intro h2 { font-size: 2rem; }
.factory-home .quote-intro p { font-size: .95rem; line-height: 1.8; }
.factory-home .quote-form { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 38px; gap: 20px; }
.factory-home .quote-form label { font-size: .82rem; }
.factory-home .quote-form label:not(.consent) { display: block; }
.factory-home .quote-form label:not(.consent) > input, .factory-home .quote-form label:not(.consent) > select, .factory-home .quote-form label:not(.consent) > textarea { display: block; margin-top: 8px; }
.factory-home .quote-form .consent { align-items: flex-start; }
.factory-home .quote-form .consent input { width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; margin-top: 3px; }
.factory-home .quote-form input, .factory-home .quote-form select, .factory-home .quote-form textarea { font-size: .88rem; }
.factory-home .quote-form .message-field, .factory-home .quote-form .consent, .factory-home .quote-form .form-status, .factory-home .quote-form .quote-selection { grid-column: 1 / -1; }
.factory-home a:focus-visible, .factory-home button:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 4px; }
@media (max-width: 900px) {
  .factory-home .quote { grid-template-columns: 1fr; }
  .factory-home .quote-intro { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .factory-home .hero { padding: 30px 22px 38px; gap: 20px; }
  .factory-home .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .factory-home .hero-lead { margin-top: 0; }
  .factory-home .hero-door { height: 280px; }
  .factory-home .section { padding: 40px 22px; }
  .factory-home .product-card img { height: 290px; }
  .factory-home .product-body h3 { min-height: 0; }
  .factory-home .home-range-links { gap: 16px 22px; }
  .factory-home .filter-row { flex-wrap: wrap; overflow: visible; }
  .factory-home .filter-button { padding: 9px 12px; }
  .factory-home .home-materials { gap: 28px; }
  .factory-home .capability-grid img { height: auto; aspect-ratio: 3 / 2; }
  .factory-home .quote { width: calc(100% - 32px); }
  .factory-home .quote-intro, .factory-home .quote-form { padding: 26px 22px; }
  .factory-home .quote-form { grid-template-columns: 1fr; }
}

/* Homepage reading polish: retain selected architectural direction. */
.factory-home .home-product-image { display: block; overflow: hidden; background: #fff; }
.factory-home .home-product-image img { display: block; width: 100%; object-fit: contain; transition: transform .25s ease; }
.factory-home .home-product-image:hover img { transform: scale(1.035); }
.factory-home .quote-extra { grid-column: 1 / -1; border-block: 1px solid #d3dcd8; padding: 16px 0; }
.factory-home .quote-extra summary { cursor: pointer; font-size: .88rem; color: var(--ink); line-height: 1.6; }
.factory-home .quote-extra summary span { color: var(--muted); }
.factory-home .quote-extra summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.factory-home .quote-extra-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding-top: 20px; }
@media (max-width:760px) { .factory-home .quote-extra-fields { grid-template-columns: 1fr; } }

.architectural-home #products .home-product-image { aspect-ratio: 1; border: 1px solid #e4dfd4; background: #fff; }
.architectural-home #products .home-product-image img { width: 100%; height: 100%; padding: 10px; border: 0; border-radius: 0; object-fit: contain; }
.architectural-home #products .product-grid { gap: 44px 28px; }
.architectural-home #products .product-body { padding: 20px 0 0; }
.architectural-home #products .product-body h3 { min-height: 2.8em; line-height: 1.4; margin: 8px 0 18px; }
.architectural-home #products .product-body h3 a { color: inherit; text-decoration: none; }
.architectural-home #products .product-body h3 a:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.architectural-home #products .catalogue-note { text-align: left; border-top: 1px solid #e4dfd4; padding-top: 24px; margin-top: 36px; max-width: none; }
@media (max-width:760px) {
 .architectural-home #products .product-grid { gap: 32px; }
 .architectural-home #products .product-body h3 { min-height: 0; }
}

/* Selected Architectural Materials concept. Original photographs, live text. */
body.home .site-header { background: #f7f4ed; border-bottom-color: transparent; }
.architectural-home { background: #f7f4ed; --soft: #f7f4ed; --muted: #5b676b; }
.architectural-home h1, .architectural-home h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; }
.architectural-home h2 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); line-height: 1.1; }
.architectural-home .eyebrow { letter-spacing: .19em; font-size: .73rem; font-weight: 500; margin: 0 0 20px; }
.architectural-hero { position: relative; min-height: 760px; isolation: isolate; overflow: hidden; }
.architectural-intro { position: relative; z-index: 1; padding: 96px 0 62px; margin-left: 5%; width: 42%; }
.architectural-home .architectural-intro h1 { font-size: clamp(3.8rem, 6.3vw, 6.2rem); line-height: 1.02; margin: 0 0 30px; }
.architectural-lead { max-width: 380px; font-size: 1.18rem; line-height: 1.55; color: var(--muted); margin: 0 0 32px; white-space: normal; }
.architectural-hero-photo { position: absolute; z-index: 0; right: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.architectural-home .hero-actions { flex-wrap: wrap; gap: 12px; }
.architectural-home .button { border-radius: 1px; min-height: 50px; background: var(--teal); }
.architectural-home .button-outline { background: transparent; border-color: var(--teal); }
.architectural-caption { padding-top: 24px; border-top: 1px solid #d5d3ca; margin: 46px 0 0; max-width: 220px; color: #777e7e; font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; line-height: 1.9; }
.architectural-details { padding: 58px 5% 66px; }
.architectural-details h2 { margin: 0 0 16px; }
.architectural-section-lead { color: var(--muted); margin: 0 0 30px; }
.architectural-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; }
.architectural-detail { color: var(--ink); text-decoration: none; min-width: 0; }
.architectural-crop { overflow: hidden; height: 280px; background: #eee7d8; }
.architectural-crop img { width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: multiply; }
.crop-section img { transform: scale(1.7); transform-origin: 45% 56%; }
.crop-finish img { transform: scale(2.8); transform-origin: 63% 9%; }
.crop-profile img { object-fit: contain; }
.architectural-home .architectural-detail h3 { font-family: "Manrope",Arial,sans-serif; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; margin: 20px 0 4px; }
.architectural-detail p { margin: 0 0 8px; }
.architectural-detail > span { font-size: .92rem; color: var(--muted); line-height: 1.6; display: block; }
.architectural-detail:hover h3 { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 5px; }
.architectural-factory { display: grid; grid-template-columns: 60% 40%; align-items: stretch; }
.architectural-factory figure { margin: 0; min-width: 0; }
.architectural-factory figure img { display: block; width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.architectural-factory > div { padding: 70px 12%; align-self: center; }
.architectural-factory h2 { margin: 0 0 24px; }
.architectural-factory p:not(.eyebrow):not(.architectural-caption) { color: var(--muted); margin: 0 0 28px; }
.architectural-home #products { margin-top: 36px; background: #f7f4ed; border-top: 1px solid #e4dfd4; }
.custom-scene-preview { background: #f7f4ed; border-top: 1px solid #e4dfd4; }
.custom-scene-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 56px; align-items: end; margin-bottom: 34px; }
.custom-scene-heading h2 { margin: 0; max-width: 700px; }
.custom-scene-heading > p { margin: 0 0 4px; color: var(--muted); font-size: .94rem; line-height: 1.8; }
.custom-scene-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr); gap: 26px; align-items: stretch; }
.custom-scene-room { position: relative; min-height: 480px; margin: 0; overflow: hidden; background: #e7e0d7; }
.custom-scene-room img { display: block; width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center 56%; }
.custom-scene-room figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 9px 12px; background: rgba(255,255,255,.94); color: #36464a; font-size: .72rem; line-height: 1.5; }
.custom-scene-products { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 14px; }
.custom-scene-product { display: flex; min-width: 0; flex-direction: column; border: 1px solid #e4dfd4; background: #fff; color: inherit; text-decoration: none; }
.custom-scene-product img { display: block; width: 100%; aspect-ratio: 1 / 1; padding: 12px; object-fit: contain; background: #fff; }
.custom-scene-product > span { display: grid; gap: 5px; padding: 12px 14px 14px; border-top: 1px solid #e4dfd4; }
.custom-scene-product strong { font-size: .84rem; font-weight: 600; }
.custom-scene-product small { color: var(--muted); font-size: .73rem; }
.custom-scene-note { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 18px 20px; background: #fff; border: 1px solid #e4dfd4; }
.custom-scene-note > span { color: var(--teal-dark); font-size: 1.3rem; }
.custom-scene-note p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.custom-scene-note .text-link { grid-column: 2; width: fit-content; margin-top: 5px; font-size: .82rem; }
.homepage-custom-coordination { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 6vw, 88px); align-items: center; background: #fff; }
.custom-coordination-visual { position: relative; min-height: 440px; background: #f3f0e8; border: 1px solid #e4dfd4; }
.custom-coordination-image { position: absolute; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid #e4dfd4; }
.custom-coordination-image img { display: block; width: 100%; height: 100%; padding: 12px; object-fit: contain; }
.custom-coordination-image span { position: absolute; left: 12px; bottom: 12px; padding: 8px 11px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .76rem; }
.custom-coordination-casing { inset: 28px 22% 100px 28px; }
.custom-coordination-skirting { inset: 180px 18px 24px 48%; }
.custom-coordination-copy { max-width: 560px; }
.custom-coordination-copy .eyebrow { margin-bottom: 16px; }
.custom-coordination-copy h2 { margin: 0 0 18px; }
.custom-coordination-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: .96rem; line-height: 1.8; }
.custom-coordination-copy ul { margin: 22px 0 28px; padding: 0; list-style: none; }
.custom-coordination-copy li { padding: 10px 0 10px 24px; border-bottom: 1px solid #e4dfd4; color: var(--ink); font-size: .88rem; line-height: 1.55; position: relative; }
.custom-coordination-copy li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.custom-coordination-copy .text-link { display: block; width: fit-content; margin-top: 20px; }
.architectural-home .home-materials, .architectural-home .home-reading, .architectural-home .factory-film-section { background: #f7f4ed; }
@media (max-width:1100px) and (min-width:761px) {
 .architectural-intro { width: 40%; padding-top: 60px; padding-bottom: 26px; }
 .architectural-lead { max-width: 350px; }
 .architectural-hero { min-height: 580px; }
 .architectural-details { padding-top: 40px; padding-bottom: 44px; }
 .architectural-hero-photo { width: 100%; right: 0; }
 .architectural-crop { height: 205px; }
 .architectural-factory > div { padding: 48px 10%; }
}
@media (max-width:760px) {
 .architectural-hero { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
 .architectural-intro { width: auto; margin: 0; padding: 40px 24px 16px; }
 .architectural-home .architectural-intro h1 { font-size: clamp(3.2rem, 13vw, 4.7rem); }
 .custom-scene-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 22px; }
 .custom-scene-layout { grid-template-columns: 1fr; gap: 14px; }
 .custom-scene-room, .custom-scene-room img { min-height: 420px; }
 .custom-scene-products { grid-template-columns: 1fr 1fr; gap: 10px; }
 .custom-scene-product img { padding: 8px; }
 .custom-scene-product > span { padding: 10px; }
 .custom-scene-product strong { font-size: .78rem; }
 .custom-scene-product small { font-size: .68rem; }
 .custom-scene-note { padding: 15px; }
 .homepage-custom-coordination { grid-template-columns: 1fr; gap: 28px; }
 .custom-coordination-visual { min-height: 330px; }
 .custom-coordination-casing { inset: 20px 22% 80px 18px; }
 .custom-coordination-skirting { inset: 140px 14px 18px 46%; }
 .custom-coordination-copy h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
 .architectural-lead { font-size: 1rem; max-width: 360px; }
 .architectural-hero-photo { position: relative; width: 100%; height: 370px; top: auto; right: auto; object-fit: cover; object-position: right; }
 .architectural-intro .architectural-caption { display: none; }
 .architectural-details { padding: 40px 24px; }
 .architectural-detail-grid { grid-template-columns: 1fr; gap: 32px; }
 .architectural-crop { height: 270px; }
 .architectural-factory { grid-template-columns: 1fr; }
 .architectural-factory figure img { min-height: 0; height: 330px; }
 .architectural-factory > div { padding: 40px 24px; }
 .architectural-factory .architectural-caption { margin-top: 30px; }
 .architectural-home .hero-actions { flex-direction: row; }
 .architectural-home .hero-actions .button { padding: 12px 16px; font-size: .8rem; }
}

/* Contact page: clear direct contacts and a distinct quotation brief. */
.huayi-contact-layout { --soft: #f7f4ed; --line: #e1ddd3; --muted: #526166; }
.huayi-contact-layout .site-header { background: #f7f4ed; }
.huayi-contact-page h1, .huayi-contact-page h2 { font-family: Georgia,serif; font-weight: 400; letter-spacing: -.02em; }
.huayi-contact-page .pillar-hero h1 { line-height: 1.15; }
.huayi-contact-page .contact-grid { gap: 28px; align-items: stretch; }
.huayi-contact-page .contact-card { padding: 32px; }
.huayi-contact-page .contact-card:first-child { background: #f7f4ed; }
.huayi-contact-page .contact-card h2 { font-size: 2rem; line-height: 1.2; }
.huayi-contact-page .contact-card a[href^="mailto:"] { display: inline-block; font-size: 1.08rem; padding-block: 4px; text-decoration: underline; text-decoration-color: #a7bcb3; text-underline-offset: 5px; }
.huayi-contact-page .contact-card a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.huayi-contact-page .contact-requirements { margin-block: 22px; }
.huayi-contact-page .contact-requirements li { margin-bottom: 12px; padding-left: 4px; }
@media (max-width:760px) {
 .huayi-contact-page .contact-card { padding: 24px; }
 .huayi-contact-page .contact-card h2 { font-size: 1.8rem; }
 .huayi-contact-page .contact-grid { gap: 20px; }
 .huayi-contact-page .contact-card a[href^="mailto:"] { font-size: 1rem; }
}

/* Resource hub: bring guide choices closer to the first screen. */
.huayi-resources-page { --soft: #f7f4ed; --line: #e1ddd3; --muted: #526166; }
.huayi-resources-page .site-header { background: #f7f4ed; }
.huayi-resources-page .huayi-pillar h1,
.huayi-resources-page .huayi-pillar h2 { font-family: Georgia,serif; font-weight: 400; letter-spacing: -.025em; }
.huayi-resources-page .pillar-hero { padding: 52px 0; }
.huayi-resources-page .pillar-hero h1 { font-size: clamp(2.4rem,4.3vw,4.2rem); line-height: 1.12; max-width: 950px; }
.huayi-resources-page .pillar-lead { max-width: 800px; }
.huayi-resources-page .pillar-section { padding: 48px 0; }
.huayi-resources-page .pillar-section h2 { font-size: clamp(2rem,3vw,2.8rem); line-height: 1.18; }
.huayi-resources-page .pillar-section > .pillar-wrap > p { max-width: 850px; }
.huayi-resources-page .resource-grid { gap: 24px; }
.huayi-resources-page .resource-card { min-height: 180px; padding: 28px 30px; transition: background-color .2s,border-color .2s; }
.huayi-resources-page .resource-card strong { font-family: Georgia,serif; font-size: 1.5rem; line-height: 1.3; font-weight: 400; }
.huayi-resources-page .resource-card p { font-size: .98rem; line-height: 1.75; }
.huayi-resources-page .resource-card:hover { background: #f7f4ed; transform: none; }
.huayi-resources-page .resource-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
@media (max-width:760px) {
 .huayi-resources-page .pillar-hero { padding: 34px 0; }
 .huayi-resources-page .pillar-section { padding: 34px 0; }
 .huayi-resources-page .resource-card { padding: 24px; min-height: 0; }
 .huayi-resources-page .resource-card-image, .huayi-resources-page .resource-material-strip { width: calc(100% + 48px); margin: -24px -24px 18px; }
 .resource-hero-visual img { min-height: 260px; }
 .resource-photo-grid, .resource-photo-grid.three-up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
 .resource-photo-grid .real-photo img { aspect-ratio: 1; }
 .materials-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
 .materials-product-grid figcaption { padding: 10px 11px; font-size: .72rem; }
 .huayi-resources-page .resource-grid { gap: 16px; }
}

/* Factory page: editorial photographs and readable quality checkpoints. */
.huayi-factory-page { --soft: #f7f4ed; --line: #e1ddd3; --muted: #526166; }
.huayi-factory-page .site-header { background: #f7f4ed; }
.huayi-factory-page .huayi-pillar h1,
.huayi-factory-page .huayi-pillar h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; }
.huayi-factory-page .pillar-hero { padding: 48px 0 64px; }
.huayi-factory-page .pillar-hero h1 { font-size: clamp(2.6rem,4.1vw,4.1rem); line-height: 1.12; }
.huayi-factory-page .pillar-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 52px; }
.huayi-factory-page .pillar-section { padding: 60px 0; }
.huayi-factory-page .pillar-section h2 { font-size: clamp(2rem,3.2vw,3.1rem); line-height: 1.15; }
.huayi-factory-page .pillar-section > .pillar-wrap > p { max-width: 850px; }
.huayi-factory-page .real-steps article { padding: 24px 20px 0 0; border-top: 1px solid #8b9d93; }
.huayi-factory-page .real-steps h3 { font-family: Georgia,serif; font-weight: 400; font-size: 1.5rem; }
.huayi-factory-page .real-steps p { font-size: .98rem; line-height: 1.8; }
.huayi-factory-page .real-photo figcaption { padding-top: 12px; font-size: .88rem; line-height: 1.6; color: var(--muted); }
@media (max-width:760px) {
 .huayi-factory-page .pillar-hero { padding: 28px 0 36px; }
 .huayi-factory-page .pillar-hero-grid { grid-template-columns: 1fr; gap: 28px; }
 .huayi-factory-page .pillar-hero h1 { font-size: clamp(2.3rem,9.5vw,3.1rem); }
 .huayi-factory-page .pillar-section { padding: 38px 0; }
 .huayi-factory-page .real-steps { gap: 28px; }
}

/* Product detail reading hierarchy, shared by existing product templates. */
.single-huayi_product { --soft: #f7f4ed; --muted: #526166; --line: #e1ddd3; }
.single-huayi_product .site-header { background: #f7f4ed; }
.single-huayi_product .product-detail > .product-breadcrumb { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.single-huayi_product .product-detail-heading h1,
.single-huayi_product .product-detail-content h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.02em; }
.single-huayi_product .product-detail-heading h1 { line-height: 1.13; }
.single-huayi_product .product-detail-image { background: #f7f4ed; }
.single-huayi_product .buyer-summary { padding: 28px; margin-top: 28px; }
.single-huayi_product .buyer-summary dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 36px; font-size: .95rem; margin-top: 18px; }
.single-huayi_product .buyer-summary dl > div { border-top: 1px solid var(--line); padding-top: 14px; }
.single-huayi_product .buyer-summary dd { line-height: 1.75; margin-top: 8px; }
.single-huayi_product .product-detail-content > section { padding: 44px 0; }
.single-huayi_product .product-detail-content p { max-width: 850px; }
@media (max-width:760px) {
 .single-huayi_product .buyer-summary { padding: 22px; }
 .single-huayi_product .buyer-summary dl { grid-template-columns: 1fr; gap: 12px; }
 .single-huayi_product .product-detail-content { padding-top: 32px; }
 .single-huayi_product .product-detail-content > section { padding: 32px 0; }
}

/* Core category pages: same restrained typography and warm palette as home. */
.huayi-range-page { --soft: #f7f4ed; --muted: #526166; --line: #e1ddd3; }
.huayi-range-page .site-header { background: #f7f4ed; }
.huayi-range-page .huayi-pillar h1,
.huayi-range-page .huayi-pillar h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; }
.huayi-range-page .pillar-hero { padding: 64px 0; }
.huayi-range-page .pillar-hero h1 { font-size: clamp(2.8rem,4.6vw,4.5rem); line-height: 1.08; }
.huayi-range-page .pillar-hero-grid { gap: 56px; }
.huayi-range-page .pillar-hero-image { min-height: 0; aspect-ratio: 1; }
.huayi-range-page .pillar-hero-image img { display: block; min-height: 0; height: 100%; object-fit: contain; }
.huayi-range-page .pillar-section { padding: 64px 0; }
.huayi-range-page .pillar-copy h2,
.huayi-range-page .pillar-section > .pillar-wrap > h2 { font-size: clamp(2rem,3.1vw,3rem); line-height: 1.16; max-width: 850px; }
.huayi-range-page .pillar-section > .pillar-wrap > p { max-width: 820px; }
.huayi-range-page .pillar-card { padding: 26px; }
.huayi-range-page .pillar-card p { font-size: .94rem; line-height: 1.75; }
.huayi-range-page .product-card-image { background: #fff; aspect-ratio: 1; }
.huayi-range-page .product-card-image img { width: 100%; height: 100%; object-fit: contain; }
.huayi-range-page .pillar-specs td { font-size: .96rem; line-height: 1.7; }
@media (min-width:761px) and (max-width:1100px) {
 .huayi-range-page .pillar-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
 .huayi-range-page .pillar-hero { padding: 36px 0; }
 .huayi-range-page .pillar-hero h1 { font-size: clamp(2.4rem,10vw,3.2rem); }
 .huayi-range-page .pillar-hero-grid { gap: 28px; }
 .huayi-range-page .pillar-section { padding: 40px 0; }
 .huayi-range-page .pillar-hero-image { width: 100%; }
}

.huayi-factory-page .factory-photo-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px,5vw,72px); align-items: center; padding: 38px 0; border-bottom: 1px solid var(--line); }
.huayi-factory-page .factory-photo-row .real-photo { margin: 0; }
.huayi-factory-page .factory-photo-row img { width: 100%; height: auto; display: block; }
.huayi-factory-page .factory-photo-copy h3 { font: 400 clamp(1.7rem,2.5vw,2.4rem)/1.2 Georgia,serif; margin: 12px 0 20px; }
.huayi-factory-page .factory-photo-copy > p:last-child { color: var(--muted); line-height: 1.85; max-width: 440px; }
@media (max-width:760px) {
 .huayi-factory-page .factory-photo-row { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
 .huayi-factory-page .factory-photo-copy h3 { margin: 8px 0 12px; }
}
.single-huayi_product .product-section-nav { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; padding:20px 0; border-bottom:1px solid var(--line); margin:28px 0 0; }
.single-huayi_product .product-section-nav span { color:var(--muted); font-size:.85rem; }
.single-huayi_product .product-section-nav a { font-size:.95rem; padding:8px 0; text-underline-offset:5px; }
.single-huayi_product .product-section-nav a:focus-visible { outline:2px solid #006b68; outline-offset:5px; }
.single-huayi_product .product-detail-content section[id] { scroll-margin-top:110px; }
.single-huayi_product .product-detail-content > section > figure { max-width:680px; margin:28px auto; }
.single-huayi_product .product-detail-content > section > figure img { display:block; max-height:680px; width:100%; object-fit:contain; background:var(--soft); }
.single-huayi_product .product-detail-content figcaption { font-size:.9rem; line-height:1.6; color:var(--muted); padding-top:12px; }
.product-config { margin:28px 0; padding:24px; border:1px solid var(--line); background:var(--soft); }
.product-config summary { cursor:pointer; font-weight:600; font-size:1.15rem; padding:8px 0; }
.product-config .config-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:20px 0; }
.product-config label { display:flex; flex-direction:column; gap:8px; font-size:.95rem; }
.product-config input,.product-config select,.product-config textarea { box-sizing:border-box; width:100%; min-width:0; padding:12px; border:1px solid #9da7a1; background:white; color:#1c3030; font:inherit; }
.product-config .config-help { font-size:.85rem; line-height:1.6; color:var(--muted); }
.product-config :focus-visible { outline:2px solid #006b68; outline-offset:3px; }
@media(max-width:760px) { .product-config .config-grid { grid-template-columns:1fr; } .product-config { padding:18px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
/* Model-specific buyer details, shared by commercial inner pages. */
.buyer-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:32px;margin:32px 0}
.buyer-detail-card{min-width:0;border-top:1px solid #d9d5cc;padding-top:16px}
.buyer-detail-card figure{margin:0 0 22px;background:#f7f5ef}
.buyer-detail-card img{display:block;width:100%;height:260px;object-fit:contain}
.buyer-detail-card figcaption{padding:10px 14px;font-size:12px;color:#617077}
.buyer-detail-card h3{font-size:24px;line-height:1.3;margin:0 0 12px}
.buyer-detail-card p{max-width:42ch;line-height:1.7}
.buyer-brief{border-top:1px solid #d9d5cc;border-bottom:1px solid #d9d5cc;padding:20px 0;margin:24px 0}
.buyer-brief summary{font-weight:600;cursor:pointer}
.buyer-brief ul{padding-left:22px;line-height:1.8}
.products-nav-item.submenu-dismissed .products-submenu{display:none!important}
@media(max-width:1100px){.main-nav.is-open{max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}.buyer-detail-card img{height:230px}}
.factory-evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px;margin-top:32px}
.factory-evidence-card{min-width:0}
.factory-evidence-card figure{margin:0 0 18px;background:var(--soft)}
.factory-evidence-card img{display:block;width:100%;height:240px;object-fit:contain}
.factory-evidence-card figcaption{padding:10px 14px;font-size:12px;color:var(--muted)}
.factory-evidence-card h3{font-size:23px;line-height:1.3;margin-bottom:12px}
.factory-evidence-card p{line-height:1.7}
@media(max-width:1100px){.factory-evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.factory-evidence-grid{grid-template-columns:1fr}.factory-evidence-card img{height:auto;max-height:360px;object-fit:contain}}
.custom-development-v2 .custom-evidence-row{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:center}
.custom-development-v2 .custom-evidence-row figure{margin:0}
.custom-development-v2 .custom-evidence-row img{width:100%;height:auto;display:block}
.custom-development-v2 .custom-evidence-row ul{padding-left:20px;line-height:1.9;margin:20px 0}
.custom-development-v2 .custom-evidence-reverse figure{order:2}
.custom-development-v2 .custom-brief-layout{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.custom-brief-panel{padding:30px;background:var(--soft);border:1px solid var(--line)}
.custom-brief-panel ul{padding-left:20px;line-height:1.9}
.custom-fact-line,.custom-email-note{font-size:14px;margin-top:24px;color:var(--muted)}
@media(max-width:760px){.custom-development-v2 .custom-evidence-row,.custom-development-v2 .custom-brief-layout{grid-template-columns:1fr;gap:28px}.custom-development-v2 .custom-evidence-reverse figure{order:0}.custom-brief-panel{padding:22px}}
.architectural-detail-grid .architectural-detail{padding:24px;border-top:1px solid var(--line)}
.home-materials{grid-template-columns:1fr!important}
.custom-scene-product:not(:has(img)){display:block;padding:28px;background:var(--soft);border-top:1px solid var(--line)}
.custom-development-v2 .buyer-detail-card{padding:28px;border:1px solid var(--line);background:var(--soft)}
