body.home-editorial {
  background-color: #fff;
}

body.home-editorial > header {
  background: #fff;
  border-bottom: 1px solid #e0e5e8;
}

body.home-editorial > header :is(.menu, .nav.open) {
  background-color: #fff;
}

@supports (backdrop-filter: blur(12px)) {
  body.home-editorial > header {
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(12px);
  }
}

body.home-editorial main .home-factory-banner h1 {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}

body.home-editorial main .home-factory-banner .eyebrow {
  font-size: 12px;
  font-weight: 500;
}

body.home-editorial main .home-factory-banner .hero-grid p:not(.eyebrow) {
  color: #d5e2ed;
}

body.home-editorial main .home-factory-banner .hero-grid .btn-row > a.btn {
  min-height: 48px;
  padding-inline: 24px;
}

body.home-editorial main .home-factory-banner .hero-grid .btn-row > a.btn:not(.light) {
  border: 1px solid #547088;
}

body.home-editorial main .home-factory-banner .home-capability-bar {
  background: #10283d;
  border-color: #506779;
  border-radius: 12px;
}

@supports (backdrop-filter: blur(5px)) {
  body.home-editorial main .home-factory-banner .home-capability-bar {
    background: rgb(16 40 61 / 70%);
    backdrop-filter: blur(5px);
  }
}

body.home-editorial main .home-factory-banner .home-capability-bar > a {
  gap: 12px;
  padding-block: 16px;
  color: #fff;
}

body.home-editorial main .home-factory-banner .home-capability-bar > a > svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

body.home-editorial main :is(.factory-intro, .home-products, .factory-faq, .home-blog) {
  background-color: #fff;
}

body.home-editorial main :is(.factory-proof, .factory-glimpse, .studio-soft, .factory-flow, .trade-home),
body.home-editorial > .notice.ticker {
  background-color: #fff;
}

body.home-editorial main :is(.home-products, .factory-proof, .factory-intro, .factory-faq, .home-blog) h2 {
  color: #10283d;
  font-weight: 600;
  line-height: 1.15;
}

body.home-editorial main :is(.factory-proof, .factory-intro, .factory-faq, .home-blog) p:not(.eyebrow) {
  color: #43576a;
}

body.home-editorial main :is(.buyer-card, .article-card, .lead-time-card) {
  background-color: #fff;
  border: 1px solid #e0e5e8;
  border-radius: 12px;
}

body.home-editorial main :is(.factory-intro, .home-products, .factory-proof, .home-blog) h2 + p {
  margin-top: 12px;
}

body.home-editorial :is(header, main) :is(a, button, summary):focus-visible {
  outline: 2px solid #247fc5;
  outline-offset: 3px;
}

body.home-editorial main .home-factory-banner :is(a, button):focus-visible {
  outline-color: #e4bf80;
  outline-offset: -3px;
}

@media (max-width: 760px) {
  body.home-editorial main .home-factory-banner h1 {
    font-size: clamp(32px, 8.5vw, 36px);
  }

  body.home-editorial main .home-factory-banner .home-capability-bar {
    background-color: rgb(16 40 61 / 80%);
  }

  body.home-editorial main .home-factory-banner .home-capability-bar > a {
    gap: 8px;
    padding-block: 12px;
  }
}

body.home-editorial > .notice.ticker {
  border-bottom-color: #e0e5e8;
}

body.home-editorial > .notice.ticker :is(.ticker-group, .ticker-dot, .ticker-toggle, .ticker-sitemap) {
  color: #10283d;
}
@media (min-width: 961px) {
  #product-range .card-grid {
    max-width: 1080px;
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
#product-range .card-grid .card .media.has-photo {
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
}

#product-range .card-grid .card .media.has-photo > img {
  object-fit: contain;
}
.home-process {
  background: #fff;
  border-block: 1px solid #e0e5e8;
}

.home-process h2 {
  color: #10283d;
}

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

.process-grid .process-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 16px;
  color: #10283d;
  text-decoration: none;
}

.process-grid .process-link:is(:hover, :focus-visible) {
  background: #f4f8fb;
  border-color: #8faabe;
}

.process-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #edf3f8;
}

.process-icon svg {
  width: 24px;
  height: 24px;
}

.process-link h3 {
  margin: 0 0 6px;
  color: inherit;
  font-size: 1rem;
  line-height: 1.35;
}

.process-link p,
.home-process .process-note {
  margin: 0;
  color: #43576a;
  font-size: .875rem;
  line-height: 1.55;
}

.process-arrow {
  color: #075a9f;
}

.home-process .process-note {
  margin-top: 20px;
}

@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); }
}
#global-markets.home-global-map {
  background: #fff !important;
  padding-block: clamp(40px, 6vw, 88px) !important;
}

#global-markets .gm-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 24px !important;
}

.market-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.market-heading h2 {
  color: #10283d;
  font-size: clamp(1.875rem, 3.7vw, 3rem);
  line-height: 1.12;
  margin: 0 0 10px;
}

.market-heading p {
  margin: 0;
  color: #43576a;
}

#global-markets .gm-visual {
  width: 100% !important;
}

#global-markets .gm-map-figure.gm-zhejiang-map {
  padding: clamp(8px, 1.5vw, 20px);
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

#global-markets .gm-zhejiang-map > svg {
  display: block;
  width: 100%;
  height: auto;
}

#global-markets .gm-zhejiang-land {
  filter: saturate(.26) brightness(3.45);
}

#global-markets .gm-zhejiang-arcs {
  fill: none;
  stroke: #b8852b;
  stroke-width: 2.1;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px #fff1ba);
}

#global-markets .gm-zhejiang-endpoints {
  fill: #fff7d9;
  stroke: #a87826;
  stroke-width: 1.7;
}

#global-markets .gm-zhejiang-label text {
  fill: #6b4b16;
  font: 600 20px system-ui, sans-serif;
}

#global-markets .gm-zhejiang-map figcaption {
  display: none;
}

@media (max-width: 640px) {
  #global-markets .gm-zhejiang-label { display: none; }
  #global-markets .gm-zhejiang-map figcaption {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 4px 5px 0;
    color: #78531a;
    font-size: .875rem;
    font-weight: 600;
  }

  #global-markets .gm-zhejiang-map figcaption span {
    color: #435b6b;
    font-size: .75rem;
    font-weight: 400;
  }
}

#global-markets .gm-map-scroll {
  aspect-ratio: auto !important;
  background: #10283d !important;
  border: 1px solid #314e65 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

#global-markets .gm-map-scroll::before,
#global-markets .gm-map-scroll::after {
  display: none !important;
}

#global-markets .gm-map {
  display: block !important;
  min-width: 0;
  height: auto;
  padding: clamp(6px, 1.5vw, 20px);
  filter: none;
}

#global-markets .gm-map image {
  opacity: 1;
}

#global-markets .gm-route:not(.gm-overview):not(.is-selected),
#global-markets .gm-route-flow,
#global-markets .gm-city-label:not(.gm-city.is-selected .gm-city-label),
#global-markets .gm-origin-halo {
  display: none;
}

#global-markets .gm-route-base {
  stroke: #8ea9bf;
  stroke-width: 1.25;
  opacity: .5;
}

#global-markets .gm-route.is-muted { opacity: .36; }
#global-markets .gm-route.is-selected .gm-route-base {
  stroke: #d7ae71;
  stroke-width: 2;
  opacity: 1;
}

#global-markets .gm-map .gm-city .gm-city-dot {
  r: 2.8px;
  fill: #b8ccdc;
  stroke: #10283d;
  stroke-width: 1;
}

#global-markets .gm-map .gm-city.is-selected .gm-city-dot {
  r: 4px;
  fill: #f2d4a3;
}

#global-markets .gm-map .gm-city.is-selected .gm-city-label,
#global-markets .gm-origin text {
  fill: #c4e2f8 !important;
  font-size: 15px !important;
  stroke: #10283d;
  text-shadow: none;
}

#global-markets .gm-origin { fill: #d7ae71; }
#global-markets .gm-city:focus-visible .gm-city-hit {
  stroke: #c4e2f8;
  fill: transparent;
}

#global-markets .gm-city-directory { display: block !important; }
#global-markets .gm-city-choice { min-height: 44px; font-size: .875rem; }
#global-markets .gm-city-choice[hidden] { display: none; }
#global-markets .gm-selection { min-height: 0; }
#global-markets .gm-selection strong { font-size: 1rem; }
#global-markets .gm-selection p,
#global-markets .gm-city-directory summary,
#global-markets .gm-disclaimer { font-size: .875rem; }
#global-markets .gm-disclaimer { margin-top: 16px; }

@media (max-width: 600px) {
  #global-markets .gm-origin text,
  #global-markets .gm-map .gm-city.is-selected .gm-city-label {
    font-size: 25px !important;
  }
}
.market-heading .market-related {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-inline-start: auto;
}

.market-related a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: #075a9f;
  font-size: .875rem;
  text-underline-offset: 3px;
}

.market-related a:is(:hover, :focus-visible) {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .market-heading .market-related {
    flex-basis: 100%;
    margin-inline-start: 0;
  }
}
#home-articles h2,
#home-products h2 {
  margin: 0 0 28px;
  color: #10283d;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  line-height: 1.15;
}

.home-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-article {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #f4f7f9;
  border: 1px solid #e0e5e8;
  border-radius: 16px;
  color: #10283d;
  text-decoration: none;
}

.home-article-cover {
  aspect-ratio: 16 / 9;
  background: #eef0f2;
}

.home-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-article-copy {
  padding: 18px;
}

#home-articles .home-article-copy p {
  margin: 0;
  color: #43576a;
  line-height: 1.6;
}

#home-articles .home-article-copy .home-article-category {
  margin-bottom: 8px;
  font-size: .8125rem;
  font-weight: 600;
}

#home-articles .home-article-copy h3,
#home-products .home-article-copy h3 {
  margin: 0 0 12px;
  color: #10283d;
  font-size: 1.125rem;
  line-height: 1.32;
}

#home-products .home-article-copy h3 { margin: 0; }
#home-products .home-product-placeholder .home-article-copy h3 { color: #52677a; }
#home-products .home-product-placeholder:hover { border-color: #e0e5e8; }
#home-products .home-product-placeholder:hover h3 { text-decoration: none; }

.home-article:is(:hover, :focus-visible) {
  border-color: #89a7bf;
}

.home-article:is(:hover, :focus-visible) h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#home-articles .home-articles-actions > .ym-fill-button::after { content: "" !important; }

.home-articles-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

@media (max-width: 960px) {
  .home-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .home-articles-grid { grid-template-columns: minmax(0, 1fr); }
}
#home-articles .home-articles-kicker {
  margin: 0 0 12px;
  color: #805e32;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-partners {
  background: #fff;
  text-align: center;
}

.partners-heading p {
  margin: 0 0 12px;
  color: #805e32;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.partners-heading h2 {
  margin: 0 0 20px;
  color: #10283d;
}

.partners-window {
  margin-top: 16px;
  overflow: hidden;
  border-block: 1px solid #e0e5e8;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partner-scroll 40s linear infinite;
}

.partners-track ul {
  display: flex;
  flex: none;
  padding: 0;
  margin: 0;
  list-style: none;
}

.partners-track li {
  display: grid;
  place-items: center;
  width: clamp(112px, 11vw, 152px);
  height: 88px;
  padding-inline: 12px;
  color: #53697f;
  font-size: 1.125rem;
  font-weight: 650;
  white-space: nowrap;
}

.partners-track img {
  display: block;
  width: auto;
  height: auto;
  max-width: 104px;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(1) sepia(.3) hue-rotate(165deg);
  opacity: .82;
}

.partners-track img[alt="ROTAI"] {
  width: auto;
  height: 42px;
  max-width: 104px;
  max-height: 42px;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@media (hover: hover) {
  .partners-window:hover .partners-track { animation-play-state: paused; }
}

@keyframes partner-scroll {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track ul[aria-hidden] { display: none; }
  .partners-window { mask-image: none; }
  .partners-track { width: 100%; animation: none; }
  .partners-track ul { flex: 1; flex-wrap: wrap; justify-content: center; }
}
.partners-track .partner-wordmark {
  color: #53697f;
  line-height: 1;
}

.partner-wordmark--dotast {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.045em;
}

.partner-wordmark--ihoco {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.055em;
}

.partner-wordmark--lifepower {
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: .9375rem;
  font-weight: 800;
  letter-spacing: .07em;
}

.partner-wordmark--desleep {
  font-family: Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -.045em;
}

.partner-wordmark--jare {
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: .18em;
}

.partner-wordmark--benbo {
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: .045em;
}
.home-feedback { background: #fff; border-block: 1px solid #e0e5e8; }
.feedback-heading { margin-bottom: 28px; text-align: center; }
#customer-feedback .feedback-kicker {
  margin: 0 0 10px;
  color: #805e32;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

#customer-feedback h2 { margin: 0 0 8px; color: #10283d; }
#customer-feedback p { margin: 0; color: #43576a; }
.feedback-window { overflow: hidden; }
.feedback-track { display: flex; width: max-content; animation: feedback-scroll-right 112s linear infinite; }
.feedback-track ul { display: flex; flex: none; gap: 20px; margin: 0; padding: 0 20px 0 0; list-style: none; }

.feedback-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: clamp(260px, 37vw, 428px);
  padding: 24px;
  border: 1px solid #e0e5e8;
  border-radius: 16px;
  background: #fff;
}

.feedback-card blockquote {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: #43576a;
  line-height: 1.65;
}

.feedback-card blockquote::before {
  content: "“";
  display: block;
  margin-bottom: 10px;
  color: #805e32;
  font: 2.5rem/.8 Georgia, serif;
}

.feedback-credit {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e0e5e8;
  color: #10283d;
  font-size: .875rem;
}

.feedback-credit span { color: #43576a; }
.feedback-pause {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  margin-top: 10px;
  color: #43576a;
  font-size: .875rem;
  cursor: pointer;
}

.feedback-pause input { accent-color: #10283d; }
.home-feedback:has(.feedback-pause input:checked) .feedback-track { animation-play-state: paused; }
@media (hover: hover) {
  .feedback-window:hover .feedback-track { animation-play-state: paused; }
}

@keyframes feedback-scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-pause,
  .feedback-track ul[aria-hidden] { display: none; }
  .feedback-track { width: auto; animation: none; }
  .feedback-track ul { flex: auto; flex-wrap: wrap; padding: 0; }
  .feedback-card { flex: 1 1 248px; width: auto; }
}



/* Product brief cards sit directly on the homepage section. */
body.home-editorial main .factory-custom .capability-map,
body.home-editorial main .factory-custom .capability-map :is(.map-center, .map-cell) {
  background: transparent;
}

@media (hover: hover) {
  body.home-editorial main .factory-custom .capability-map :is(.map-center, .map-cell):hover {
    background: rgba(239, 249, 255, .66);
    border-color: #aed9f4;
    box-shadow: 0 0 20px 1px rgba(104, 190, 250, .34), inset 0 0 16px rgba(135, 207, 250, .18);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.home-editorial main .factory-custom .capability-map :is(.map-center, .map-cell) {
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .22s ease;
  }

  body.home-editorial main .factory-custom .capability-map :is(.map-center, .map-cell):hover {
    transform: translateY(-2px);
  }
}

body.home-editorial .home-factory-capabilities {
  position: relative;
  z-index: 1;
  margin-top: -20px;
  scroll-margin-top: 100px;
}

.home-factory-capabilities dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 20px 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(16, 44, 70, .15);
}

.home-factory-capabilities dl > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 4px clamp(12px, 1.6vw, 24px);
  text-align: center;
}

.home-factory-capabilities dl > div + div {
  border-inline-start: 1px solid #dbe4eb;
}

.home-factory-capabilities dd {
  order: -1;
  margin: 0;
  color: #102c46;
  font: 700 clamp(17px, 1.55vw, 24px) / 1.25 "Manrope", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

/* Extend each link over its column without adding more tab stops. */
.home-factory-capabilities dl > div { position: relative; }

.home-factory-capabilities dd a {
  color: inherit;
  text-decoration: none;
}

.home-factory-capabilities dd a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.home-factory-capabilities dl > div:focus-within {
  background: #edf6fd;
}

.home-factory-capabilities dd a:focus-visible {
  color: #846123;
  outline: none;
}

.home-factory-capabilities dd a:focus-visible::after {
  outline: 2px solid #246ca1;
  outline-offset: -2px;
}

@media (hover: hover) {
  .home-factory-capabilities dl > div:hover { background: #edf6fd; }
  .home-factory-capabilities dl > div:hover dd a { color: #846123; }
}

@media (prefers-reduced-motion: no-preference) {
  .home-factory-capabilities dl > div { transition: background-color .22s ease; }
  .home-factory-capabilities dd a { transition: color .22s ease; }
}

/* The two faces fold toward a shared hinge, then leave the real text in place. */
.home-capability-flap {
  position: relative;
  display: inline-block;
  perspective: 220px;
}

@media (prefers-reduced-motion: no-preference) {
  .home-factory-capabilities.is-flipping .home-capability-flap-value {
    animation: home-capability-flap-reveal .62s steps(1, end) var(--capability-flip-delay, 0ms) both;
  }

  .home-factory-capabilities.is-flipping .home-capability-flap::before,
  .home-factory-capabilities.is-flipping .home-capability-flap::after {
    position: absolute;
    inset: 0;
    content: attr(data-face);
    content: attr(data-face) / "";
    border-radius: 3px;
    pointer-events: none;
    backface-visibility: hidden;
    animation-duration: .62s;
    animation-timing-function: cubic-bezier(.28, .04, .30, 1);
    animation-delay: var(--capability-flip-delay, 0ms);
    animation-fill-mode: both;
  }

  .home-factory-capabilities.is-flipping .home-capability-flap::before {
    clip-path: inset(0 0 50% 0);
    animation-name: home-capability-flap-top;
  }

  .home-factory-capabilities.is-flipping .home-capability-flap::after {
    clip-path: inset(50% 0 0);
    animation-name: home-capability-flap-bottom;
  }
}

@keyframes home-capability-flap-top {
  0% { transform: rotateX(-84deg); opacity: 0; }
  15% { opacity: 1; }
  48%, 86% { transform: rotateX(0deg); opacity: 1; }
  100% { transform: rotateX(0deg); opacity: 0; }
}

@keyframes home-capability-flap-bottom {
  0%, 42% { transform: rotateX(83deg); opacity: 0; }
  51% { opacity: 1; }
  89% { transform: rotateX(0deg); opacity: 1; }
  100% { transform: rotateX(0deg); opacity: 0; }
}

@keyframes home-capability-flap-reveal {
  0% { opacity: 0; }
  89%, 100% { opacity: 1; }
}

.home-factory-capabilities dd small {
  color: #846123;
  font-size: .58em;
  font-weight: 600;
}

.home-factory-capabilities dt {
  color: #43576a;
  font-size: .875rem;
  line-height: 1.45;
  text-wrap: balance;
}

.home-factory-capabilities > p {
  margin: 10px 0 0;
  color: #43576a;
  font-size: .75rem;
  text-align: center;
}

@media (max-width: 760px) {
  body.home-editorial .home-factory-capabilities { margin-top: 16px; }
  .home-factory-capabilities dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 10px;
  }

  .home-factory-capabilities dl > div { padding: 14px 10px; }
  .home-factory-capabilities dl > div:nth-child(odd) { border-inline-start: 0; }
  .home-factory-capabilities dl > div:nth-child(n + 3) { border-top: 1px solid #dbe4eb; }
  .home-factory-capabilities dl > div:last-child { grid-column: 1 / -1; }
}

}

#factory-intro .home-factory-zhejiang,
#factory-intro p.company-name,
#factory-intro .factory-caption > b {
  color: #846123;
}

#factory-intro .factory-facts strong {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .2em;
  padding-bottom: 9px;
  margin-bottom: 5px;
  color: #102c46;
  font: 600 clamp(24px, 2vw + 6px, 36px) / 1.15 "Manrope", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  white-space: nowrap;
}

#factory-intro .factory-facts strong small {
  font-size: .43em;
  font-weight: 600;
  letter-spacing: 0;
}

@media (hover: hover) {
  #factory-intro .factory-facts strong::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: #b3862f;
    opacity: 0;
  }

  #factory-intro .factory-facts > div:hover strong { color: #846123; }
  #factory-intro .factory-facts > div:hover strong::after { opacity: 1; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #factory-intro .factory-facts strong { transition: color .24s ease; }
  #factory-intro .factory-facts strong::after { transition: opacity .24s ease; }
}

@media (max-width: 600px) {
  #factory-intro .factory-facts { gap: 10px; }
  #factory-intro .factory-facts strong { font-size: clamp(18px, 5.25vw, 25px); }
}

#factory-intro .home-factory-quality { scroll-margin-top: 100px; margin-top: 20px; }
#factory-intro .home-factory-quality h3,
.home-delivery-details h3 {
  margin: 0 0 8px;
  color: #10283d;
  font-size: 1.25rem;
}
#factory-intro .home-factory-quality p { margin: 0; color: #43576a; line-height: 1.55; }
.home-buyer-paths h2 { margin-bottom: 24px; }

.home-buyer-links,
.home-delivery-times { display: grid; gap: 0 24px; }
.home-buyer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-buyer-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 8px 2px;
  border-block: 1px solid #d7e1e8;
  color: #173a58;
  font-weight: 600;
}
.home-buyer-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: #b3862f;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.home-buyer-links a:hover,
.home-buyer-links a:focus-visible {
  color: #075a9f;
  text-decoration: none;
}

.home-buyer-links a:hover::after,
.home-buyer-links a:focus-visible::after { transform: scaleX(1); }

@media (prefers-reduced-motion: no-preference) {
  .home-buyer-links a::after { transition: transform .24s ease-out; }
}
.home-delivery-details { scroll-margin-top: 100px; margin-top: clamp(32px, 5vw, 56px); }
.home-delivery-times {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 0;
  border-block: 1px solid #d7e1e8;
}
.home-delivery-times > div { padding-block: 16px; }
.home-delivery-times dt { margin-bottom: 5px; color: #10283d; font-weight: 600; }
#lead-times .home-delivery-times dd strong { color: #0077b6; }
.home-delivery-times dd,
.home-timing-footer p { margin: 0; color: #43576a; }
.home-delivery-details .home-timing-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 20px;
  padding-top: 16px;
}
.home-delivery-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }

@media (max-width: 760px) {
  .home-delivery-details .home-timing-footer { grid-template-columns: 1fr; }
}
.home-timing-footer a { color: #075a9f; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .home-buyer-links,
  .home-delivery-times { grid-template-columns: minmax(0, 1fr); }
  .home-buyer-links a + a { border-top: 0; }
  .home-delivery-times > div + div { border-top: 1px solid #d7e1e8; }
}

/* Keep the ring and wave crest inside the visible band on wide screens. */
.home-quote-prep {
  padding: 78px 0;
  border-block: 1px solid #d7e1e8;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .24)),
    url("images/quote-prep-ring-waves.webp") center / cover no-repeat #eef7ff;
}

.home-quote-prep .home-quote-prep-grid p,
.home-quote-prep .home-quote-prep-detail {
  color: #36536a;
}

@media (max-width: 760px) {
  .home-quote-prep {
    background:
      linear-gradient(180deg, #eef7ff, rgba(238, 247, 255, .47) 30%, rgba(238, 247, 255, .35)) center bottom / 100% 86.667vw no-repeat,
      url("images/quote-prep-ring-waves-mobile.webp") center bottom / 100% auto no-repeat #eef7ff;
  }
}
.home-quote-prep-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:38px;}
.home-quote-prep-head h2{max-width:700px;margin:0;color:#102c46;font-size:clamp(30px,3.4vw,48px);line-height:1.08;letter-spacing:-.04em;}
.home-quote-prep-head .eyebrow{margin-bottom:16px;}
.home-quote-prep-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #c8d8e5;}
.home-quote-prep-grid>div{padding:24px 26px 0;border-right:1px solid #c8d8e5;}
.home-quote-prep-grid>div:first-child{border-left:1px solid #c8d8e5;}
.home-quote-prep-grid strong{display:block;color:#2d6b96;font:600 13px "Barlow Semi Condensed",Arial,sans-serif;letter-spacing:.12em;}
.home-quote-prep-grid h3{margin:26px 0 10px;color:#102c46;font-size:20px;line-height:1.2;}
.home-quote-prep-grid p{margin:0;color:#607687;font-size:14px;line-height:1.65;}
@media(max-width:850px){.home-quote-prep{padding:58px 0}.home-quote-prep-head{display:block}.home-quote-prep-head .btn{margin-top:24px}.home-quote-prep-grid{grid-template-columns:1fr 1fr}.home-quote-prep-grid>div:nth-child(2n){border-right:0}.home-quote-prep-grid>div:nth-child(n+3){border-top:1px solid #c8d8e5;padding-top:24px}}
@media(max-width:500px){.home-quote-prep-grid{grid-template-columns:1fr}.home-quote-prep-grid>div{border-right:0!important;border-left:1px solid #c8d8e5!important;border-bottom:1px solid #c8d8e5;padding:20px}.home-quote-prep-grid h3{margin-top:12px}}

#factory-intro .factory-collage > .home-factory-video-poster {
  cursor: default;
  transform: none;
}

#factory-intro .home-factory-video-label {
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  border-radius: 4px;
  background: #102c46;
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
}

#factory-intro .home-factory-video-label small {
  color: #c6e3f5;
  font-size: .75rem;
  font-weight: 400;
}

/* Factory image card uses a restrained 3D hover treatment. */
body.home-editorial main .factory-collage>.media{position:relative;isolation:isolate;overflow:hidden;transform-style:preserve-3d;perspective:1000px;cursor:pointer;transition:transform .5s cubic-bezier(.23,1,.32,1),box-shadow .5s;border:1px solid rgba(255,255,255,.9)!important;}
body.home-editorial main .factory-collage>.media::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.24) 48%,transparent 72%);transform:translateX(-120%);transition:transform .55s cubic-bezier(.23,1,.32,1);}
body.home-editorial main .factory-collage>.media::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(145deg,rgba(11,95,165,.16),transparent 55%);}
body.home-editorial main .factory-collage>.media:hover{transform:rotateY(5deg) rotateX(3deg) scale(1.02);box-shadow:0 16px 30px rgba(16,44,70,.18)!important;}
body.home-editorial main .factory-collage>.media:hover::before{transform:translateX(120%);}
body.home-editorial main .factory-collage>.media:active{transform:rotateY(2deg) rotateX(1deg) scale(.985);}
@media(prefers-reduced-motion:reduce){body.home-editorial main .factory-collage>.media{transition:none}body.home-editorial main .factory-collage>.media:hover,body.home-editorial main .factory-collage>.media:active{transform:none}body.home-editorial main .factory-collage>.media::before{display:none}}

.home-quote-prep-card{cursor:pointer;outline:none;transition:background .3s,border-color .3s,transform .3s;}
.home-quote-prep-card:hover,.home-quote-prep-card:focus-visible{background:#eaf4fa;border-color:#7faeca;transform:translateY(-3px);}
.home-quote-prep-card[aria-expanded="true"]{background:#e5f1f8;border-color:#2d6b96;}
.home-quote-prep-detail{display:block;max-height:0;overflow:hidden;opacity:0;margin-top:0;color:#355674;font-size:13px;line-height:1.55;transition:max-height .35s,opacity .25s,margin-top .35s;}
.home-quote-prep-card[aria-expanded="true"] .home-quote-prep-detail{max-height:90px;opacity:1;margin-top:14px;}
@media(prefers-reduced-motion:reduce){.home-quote-prep-card,.home-quote-prep-detail{transition:none}}
/* Secondary CTA override for highlighted hero buttons. */
.home-factory-banner .btn.light{color:#fff!important;border:1px solid rgba(255,255,255,.82)!important;background:rgba(255,255,255,.08)!important;border-radius:8px!important;box-shadow:none!important;transition:all .25s ease!important}
.home-factory-banner .btn.light:hover,.home-factory-banner .btn.light:focus-visible{color:#0f568d!important;background:#fff!important;border-color:#fff!important;box-shadow:0 0 0 3px rgba(255,255,255,.2),0 8px 20px rgba(10,50,85,.3)!important;transform:translateY(-2px)!important}
/* Cleaner announcement bar treatment. */
body.home-editorial > .notice.ticker{background:#10283d!important;border-bottom:0!important;color:#dcebf5!important}
body.home-editorial > .notice.ticker .ticker-inner{height:38px;gap:14px}
body.home-editorial > .notice.ticker .ticker-window{padding-inline:8px;mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%)}
body.home-editorial > .notice.ticker .ticker-group{gap:22px;padding-left:22px;font-size:11px;letter-spacing:.04em;font-weight:600}
body.home-editorial > .notice.ticker .ticker-dot{color:#78b8dc}
body.home-editorial > .notice.ticker .ticker-toggle{padding:4px 9px;border:1px solid rgba(220,235,245,.5);border-radius:999px;color:#dcebf5;font-size:10px;line-height:1.2}
body.home-editorial > .notice.ticker .ticker-toggle:hover{background:rgba(220,235,245,.12);border-color:#dcebf5}
body.home-editorial > .notice.ticker .ticker-sitemap{color:#dcebf5;font-size:10px}
/* Fixed contact information bar inspired by the supplied reference. */
body > .notice.ticker .ticker-window{display:flex;align-items:center;justify-content:center;overflow:visible;mask-image:none!important}
body > .notice.ticker .ticker-track{display:none!important;animation:none!important;transform:none!important}
body > .notice.ticker .ticker-window:before{content:'Email: fabio@yimingair.com   ·   WhatsApp: +86 18167383138';display:block;color:#dcebf5;font-size:11px;font-weight:600;letter-spacing:.03em;white-space:nowrap}
body > .notice.ticker .ticker-toggle,body > .notice.ticker .ticker-sitemap{display:none!important}
body > .notice.ticker .ticker-inner{height:38px;justify-content:center}
@media(max-width:640px){body > .notice.ticker .ticker-window:before{content:'Email: fabio@yimingair.com   ·   WhatsApp: +86 18167383138';font-size:10px;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 28px)}}
/* Larger split utility bar override. */
body > .notice.ticker .ticker-inner{height:42px;width:min(1180px,calc(100% - 32px));display:flex;justify-content:space-between;gap:24px}
body > .notice.ticker .ticker-window{display:flex;align-items:center;justify-content:flex-start;flex:1;min-width:0}
body > .notice.ticker .ticker-window:before{content:'YIMING AIR  ·  Inflatable Products Manufacturing';font-size:13px;font-weight:600;letter-spacing:.025em;color:#dcebf5;white-space:nowrap}
body > .notice.ticker .ticker-window:after{content:'✉  fabio@yimingair.com   ·   WhatsApp: +86 18167383138';display:block;margin-left:auto;color:#dcebf5;font-size:13px;font-weight:600;letter-spacing:.015em;white-space:nowrap}
@media(max-width:640px){body > .notice.ticker .ticker-inner{height:auto;min-height:42px;padding:7px 0;gap:4px}.notice.ticker .ticker-window{display:block;text-align:center}.notice.ticker .ticker-window:before,.notice.ticker .ticker-window:after{display:block;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:1.5}}

body.home-editorial main .home-factory-banner .home-capability-bar > a > span:not(.home-cap-arrow) {
  color: #fff !important;
}

body.home-editorial main .home-factory-banner .home-capability-bar > a > :is(svg, .home-cap-arrow) {
  color: #b99550 !important;
}
/* Raised primary action on the homepage hero. */
body a.btn.ym-home-explore {
  --explore-depth: 5px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #d8b573 0%, #ebd2a2 32%, #d2af6d 76%, #d9b979 100%) !important;
  border: 1px solid #d4b477 !important;
  border-radius: 10px !important;
  box-shadow: 0 var(--explore-depth) 0 #836534 !important;
  color: #173459 !important;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease !important;
}
@media (hover: hover) {
  body a.btn.ym-home-explore:hover {
    --explore-depth: 7px;
    background: linear-gradient(105deg, #d8b573 0%, #ebd2a2 32%, #d2af6d 76%, #d9b979 100%) !important;
    color: #173459 !important;
    transform: translateY(-2px) !important;
  }
}
body a.btn.ym-home-explore:active {
  --explore-depth: 1px;
  transform: translateY(4px) !important;
}
body a.btn.ym-home-explore:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  body a.btn.ym-home-explore { transition: none !important; }
  body a.btn.ym-home-explore:is(:hover, :active) { transform: none !important; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body a.btn.ym-home-explore:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 29%, rgba(255, 242, 198, .65) 50%, transparent 71%);
    animation: ym-explore-gold-sweep .95s ease-out both;
  }
}
@keyframes ym-explore-gold-sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
#global-markets .gm-zhejiang-gold, #global-markets .gm-origin-note small.gm-zhejiang-gold {
  color: #846123 !important;
}
@supports (background-clip: text) {
  @media (prefers-reduced-motion: no-preference) {
    #global-markets .gm-zhejiang-gold, #global-markets .gm-origin-note small.gm-zhejiang-gold {
      background: linear-gradient(105deg, #846123 40%, #c7983b 50%, #846123 60%) 100% 0 / 260% 100% no-repeat;
      background-clip: text;
      color: transparent !important;
      animation: ym-zhejiang-gold-sweep 5s ease-in-out infinite;
    }
  }
}
@keyframes ym-zhejiang-gold-sweep {
  0%, 18% { background-position: 100% 0; }
  48%, 100% { background-position: 0 0; }
}

body.home-editorial main .home-factory-banner h1 {
  max-width: 620px;
  font-family: "Barlow Condensed", "Arial Narrow", "Manrope", sans-serif;
  font-size: clamp(42px, 4.15vw, 76px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.015em;
  text-wrap: initial;
}
.home-factory-banner h1 .ym-hero-title-primary,
.home-factory-banner h1 .ym-hero-title-secondary {
  display: block;
}
.home-factory-banner h1 .ym-hero-title-primary { color: #fff; }
.home-factory-banner h1 .ym-hero-title-secondary {
  margin-top: .14em;
  color: #deebf6;
  font-size: .75em;
  line-height: 1.05;
}
.home-factory-banner__copy .eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-inline-end: 10px;
  vertical-align: middle;
  background: #c6a264;
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .home-factory-banner__copy .eyebrow::before {
    animation: ym-home-gold-rule 260ms ease-out both;
  }
  .home-factory-banner h1 .ym-hero-title-primary {
    animation: ym-home-title-enter 380ms 65ms ease-out both;
  }
  .home-factory-banner h1 .ym-hero-title-secondary {
    animation: ym-home-title-enter 380ms 135ms ease-out both;
  }
}
@keyframes ym-home-gold-rule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes ym-home-title-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 760px) {
  body.home-editorial main .home-factory-banner h1 {
    font-size: clamp(40px, 10vw, 56px);
  }
}

body.home-editorial .home-factory-banner h1 :is(.ym-hero-title-primary, .ym-hero-title-secondary) {
  color: #c4a065;
}
@supports (background-clip: text) {
  @media (prefers-reduced-motion: no-preference) {
    body.home-editorial .home-factory-banner h1 :is(.ym-hero-title-primary, .ym-hero-title-secondary) {
      width: fit-content;
      max-width: 100%;
      padding-bottom: .14em;
      margin-bottom: -.14em;
      background: linear-gradient(105deg, #c4a065 40%, #ffe6a8 50%, #c4a065 60%) 100% 0 / 260% 100% no-repeat;
      background-clip: text;
      color: transparent;
      animation: ym-home-title-enter 380ms var(--hero-enter-delay) ease-out both,
        ym-zhejiang-gold-sweep 5s ease-in-out infinite;
    }
    .ym-hero-title-primary { --hero-enter-delay: 65ms; }
    .ym-hero-title-secondary { --hero-enter-delay: 135ms; }
  }
}

.home-featured-wedge { padding-block: clamp(44px, 6vw, 90px); background: #f4f7f9; }
.home-featured-wedge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.home-featured-wedge figure { margin: 0; }
.home-featured-wedge figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.home-featured-wedge figcaption { margin-top: 8px; color: #506477; font-size: 12px; }
.home-featured-wedge h2 { margin: 0 0 14px; color: #153650; font-size: clamp(34px, 4vw, 54px); }
.home-featured-wedge p:not(.eyebrow) { color: #40586e; max-width: 53ch; }
.home-featured-wedge .btn-row { align-items: center; gap: 16px; }
@media (max-width: 760px) {
  .home-featured-wedge-layout { grid-template-columns: minmax(0, 1fr); }
}

.home-featured-wedge { background: #fff; }
.home-featured-wedge-layout { align-items: start; }
.home-featured-wedge-layout > div { padding-block: clamp(0px, 2vw, 26px); min-width: 0; }
.home-featured-wedge figure > img { aspect-ratio: 4 / 3; object-fit: contain; background: #f3f6f8; }
.home-featured-wedge figure:has(figcaption) > img { object-fit: cover; object-position: right center; }
.home-wedge-photos {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
}
.home-wedge-photos img { aspect-ratio: 1; object-fit: contain; background: #f3f6f8; border: 1px solid #dce5ec; }
.home-wedge-photos a { display: block; border-radius: 10px; }
.home-wedge-photos a:is(:hover, :focus-visible) { outline: 2px solid #9a7b3f; }
.home-wedge-specs { margin-block: 20px; border-block: 1px solid #dce5ec; padding-block: 10px; overflow-wrap: anywhere; }
.home-wedge-specs summary { cursor: pointer; color: #153650; font-weight: 650; }
.home-wedge-specs dl { display: grid; grid-template-columns: fit-content(45%) 1fr; gap: 8px 16px; }
.home-wedge-specs dt { font-weight: 650; }
.home-wedge-specs dd { margin: 0; }

.home-wedge-gallery-stage { position: relative; background: #fff; border: 1px solid #dce5ec; border-radius: 10px; }
.home-wedge-gallery-stage > img { aspect-ratio: 4 / 3; object-fit: contain; }
.home-wedge-gallery-stage > [hidden] { display: none; }
.home-wedge-gallery-video {
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #f3f6f8;
  color: #40586e;
}
.home-wedge-gallery-video:has(iframe) { background: #102c48; }
.home-wedge-gallery-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-wedge-video-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 9px;
  background: #f3f6f8;
}
.home-wedge-video-mark {
  display: grid;
  place-items: center;
  width: 2.6em;
  aspect-ratio: 1;
  border: 1px solid #cbd9e5;
  border-radius: 50%;
  background: #fff;
  color: #173459;
}
.home-wedge-video-thumb > * { grid-area: 1 / 1; }
.home-wedge-gallery .home-wedge-video-thumb img { object-fit: cover; }
.home-wedge-gallery-video .home-wedge-video-mark { font-size: 22px; }
.home-wedge-gallery-arrows:not([hidden]) { position: absolute; inset: 0 10px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.home-wedge-gallery-arrows button { pointer-events: auto; min-width: 44px; min-height: 44px; border: 1px solid #d3dce4; border-radius: 50%; color: #153650; background: #fff; font-size: 24px; cursor: pointer; }
.home-wedge-gallery .home-wedge-photos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 75px), 1fr)); }
.home-wedge-gallery .home-wedge-photos a { height: 100%; padding: 5px; border: 1px solid #dce5ec; color: #173459; text-align: center; font-size: 12px; }
.home-wedge-gallery .home-wedge-photos img { border: 0; background: #fff; }
.home-wedge-gallery .home-wedge-photos a[aria-current="true"] { border-color: #9a7b3f; box-shadow: 0 0 0 1px #9a7b3f; }

.home-featured-wedge a.home-wedge-demo-link {
  position: relative;
  display: inline-flex;
  gap: 8px;
  text-decoration: none !important;
  border-bottom: 0 !important;
}
.home-featured-wedge a.home-wedge-demo-link::before {
  content: "";
  position: absolute;
  inset: auto 0 -5px;
  height: 2px;
  background: #846123;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  pointer-events: none;
}
.home-featured-wedge a.home-wedge-demo-link::after { content: none !important; }
.home-featured-wedge a.home-wedge-demo-link:is(:hover, :focus-visible)::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .home-featured-wedge a.home-wedge-demo-link::before { transition: none; }
}

@media (min-width: 1200px) { body.home-editorial main .home-factory-banner h1:has(.ym-hero-title-primary) { position: relative; inset-inline-start: clamp(-64px, -3vw, -18px); } }
body.home-editorial main .home-factory-banner h1:has(.ym-hero-title-primary) {
  filter: drop-shadow(0 2px 0 rgba(45, 31, 14, .78)) drop-shadow(0 4px 5px rgba(7, 22, 35, .48));
}
@media (min-width: 1200px) {
  body.home-editorial main .home-factory-banner__copy h1 + .subtext {
    position: relative;
    inset-inline-start: clamp(-64px, -3vw, -18px);
  }
}

.home-customer-reviews {
  padding-block: clamp(44px, 5.5vw, 76px);
  border-block: 1px solid #dce5ec;
  background: #fff;
  scroll-margin-top: 100px;
}
.home-review-layout {
  display: grid;
  grid-template-columns: minmax(175px, 1fr) minmax(0, 3fr);
  align-items: center;
  gap: 8px clamp(24px, 4.5vw, 60px);
}
.home-customer-reviews #customer-reviews-title {
  margin: 0;
  color: #896222;
  --ym-font-heading: Georgia, "Times New Roman", serif;
  font-family: var(--ym-font-heading);
  font-size: clamp(30px, 3.25vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.024em;
}
.home-review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 20px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-review-carousel { display: contents; }
.home-review-carousel[data-rotating] .home-review-list {
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
}
.home-review-carousel[data-rotating] .home-review-list > li {
  grid-area: 1 / 1;
  visibility: hidden;
}
.home-review-carousel[data-rotating] .home-review-list > li[aria-hidden="false"],
.home-review-carousel[data-rotating] .home-review-list > li[data-review-leaving] {
  visibility: visible;
}
.home-review-carousel[data-rotating] .home-review-list > li[data-review-leaving] {
  z-index: 1;
}
.home-review-controls:not([hidden]) {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.home-review-controls button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #40586e;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.home-review-controls button:hover { color: #896222; text-decoration: underline; }
.home-review-controls button:focus-visible { outline: 2px solid #896222; outline-offset: 2px; }
.home-review-list li,
.home-review-empty {
  border: 1px solid #dce5ec;
  border-top: 2px solid #9a7b3f;
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 3vw, 28px);
}
.home-review-list figure,
.home-review-list blockquote,
.home-review-list p,
.home-review-empty { margin: 0; }
.home-review-list blockquote,
.home-review-empty { color: #40586e; line-height: 1.65; overflow-wrap: anywhere; }
.home-review-list p + p { margin-top: .75em; }
.home-review-list li {
  display: flex;
  padding: clamp(20px, 3vw, 39px);
  background: #f7fafc;
}
.home-review-list figure {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.home-review-list blockquote {
  position: relative;
  max-inline-size: 53ch;
  padding-inline-start: clamp(22px, 3vw, 40px);
  padding-block-end: clamp(20px, 3vw, 30px);
  color: #153650;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.125rem, 1.02rem + .55vw, 1.5rem);
  line-height: 1.48;
}
.home-review-list blockquote::before {
  content: "“" / "";
  position: absolute;
  inset-block-start: -.12em;
  inset-inline-start: 0;
  color: #9a7b3f;
  font-size: 2.35em;
  line-height: 1;
}
.home-review-list figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #dce5ec;
  color: #153650;
  font-size: 1rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.home-review-person {
  display: grid;
  gap: 2px;
}
.home-review-role,
.home-review-country {
  color: #40586e;
  font-size: .875rem;
  font-weight: 400;
}
.home-review-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-review-flag {
  display: block;
  width: 24px;
  height: 16px;
  flex: none;
  object-fit: contain;
  border-radius: 2px;
}
@media (max-width: 760px) {
  .home-review-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home-review-controls:not([hidden]) { grid-column: 1; }
}

/* ============ HOW WE WORK (.factory-flow) v3 — 2026-11-26 ============ */
/* 参考 pupulan how-we-work 的 svc-flow 板块（wp-compat.css 796-934）：
   白底六步一行 + 浅波浪错位（top 位移）+ 金色菱形数字徽章 + 图标盒之间
   金色流动虚线；末步不连线。撤掉 v2 的卡片链与彗星流光。 */

body.home-editorial main .factory-flow {
  padding-top: 74px;
  padding-bottom: 78px;
}

/* 步进项：撤卡片，透明底 + 顶部 26px 留白（对齐 pupulan .svc-flow-step） */
body.home-editorial main .factory-flow .flow-step,
body.home-editorial main .factory-flow .flow-step:nth-child(even) {
  margin-top: 0 !important;
  padding: 26px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}
body.home-editorial main .factory-flow .flow-step:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

/* 浅波浪错位（≥601px，pupulan ≥1201 的位移值；top 位移避开入场 transform） */
@media (min-width: 601px) {
  body.home-editorial main .factory-flow .flow-step:nth-child(1) { top: 0; }
  body.home-editorial main .factory-flow .flow-step:nth-child(2) { top: 30px; }
  body.home-editorial main .factory-flow .flow-step:nth-child(3) { top: 8px; }
  body.home-editorial main .factory-flow .flow-step:nth-child(4) { top: 22px; }
  body.home-editorial main .factory-flow .flow-step:nth-child(5) { top: 46px; }
  body.home-editorial main .factory-flow .flow-step:nth-child(6) { top: 24px; }
}

/* 图标方框：白底细边框直角 72px（pupulan .svc-flow-icon ≥1201 规格） */
body.home-editorial main .factory-flow .flow-icon {
  position: static;
  width: 72px !important;
  height: 72px !important;
  margin: 0 0 8px;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.home-editorial main .factory-flow .flow-icon svg {
  width: 40px !important;
  height: 40px !important;
  color: #183a55 !important;
}

/* 金色菱形数字徽章（pupulan .svc-flow-num：45° 圆角方块 + 内层反转数字），
   挂在图标盒左上角；markup 已把数字包进内层 span */
body.home-editorial main .factory-flow .flow-number {
  top: 18px !important;
  left: -10px !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  background: #b8852b !important;
  border-radius: 7px !important;
  transform: rotate(45deg);
  box-shadow: 0 6px 14px rgba(184, 133, 43, .38) !important;
  font-size: 12.5px !important;
}
body.home-editorial main .factory-flow .flow-number > span {
  transform: rotate(-45deg);
}

/* 金色流动虚线（≥601px）：repeating-linear-gradient 平移一个虚线周期无缝循环
   （pupulan svc-flow-dash-x）；从本步图标右缘跨过 18px 列间隙接到下一步图标
   左缘（left 82 + width 100%-64 = 列宽+18），微旋贴合波浪位移差 */
@media (min-width: 601px) {
  /* .flow-grid 一级优先级：管线在 refinement 之后注入的旧层带 !important
     虚线边框（#87b9ec/#b8b8bf），同或更高优先级 + 更晚来源才能压住 */
  body.home-editorial main .factory-flow .flow-grid .flow-step:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 62px;
    left: 82px;
    width: calc(100% - 64px);
    height: 2px;
    border: 0 !important;
    transform-origin: left center;
    background-color: transparent !important;
    background-image: repeating-linear-gradient(90deg, #b8852b 0 9px, transparent 9px 18px) !important;
    animation: ym-flow-dash-x 1s linear infinite !important;
    pointer-events: none;
  }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(1)::after { transform: rotate(13deg) !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(2)::after { transform: rotate(-10deg) !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(3)::after { transform: rotate(6deg) !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(4)::after { transform: rotate(11deg) !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(5)::after { transform: rotate(-10deg) !important; }
}
@keyframes ym-flow-dash-x { to { background-position: 18px 0; } }
@keyframes ym-flow-dash-y { to { background-position: 0 18px; } }

/* ≤1100px 三列两行（pupulan ≥1081 规格：行尾 3n 不连线，角度 7/-5） */
@media (max-width: 1100px) and (min-width: 601px) {
  body.home-editorial main .factory-flow .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    row-gap: 44px !important;
  }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(3n)::after { content: none !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(1)::after,
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(4)::after { transform: rotate(7deg) !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(2)::after,
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(5)::after { transform: rotate(-5deg) !important; }
}

/* ≤600px 单列 + 纵向流动虚线脊柱（pupulan ≤560 移动版：图标沉进左列，
   脊柱从图标后面穿过，行间露出） */
@media (max-width: 600px) {
  body.home-editorial main .factory-flow .flow-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    position: relative;
  }
  body.home-editorial main .factory-flow .flow-grid::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-image: repeating-linear-gradient(180deg, #b8852b 0 9px, transparent 9px 18px);
    animation: ym-flow-dash-y 1s linear infinite;
  }
  body.home-editorial main .factory-flow .flow-step,
  body.home-editorial main .factory-flow .flow-step:nth-child(even) {
    top: 0 !important;
    padding: 0 0 10px 76px !important;
    min-height: 96px;
  }
  body.home-editorial main .factory-flow .flow-grid .flow-step:not(:last-child)::after { content: none !important; }
  body.home-editorial main .factory-flow .flow-icon {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 60px !important;
    height: 60px !important;
  }
  body.home-editorial main .factory-flow .flow-icon svg {
    width: 34px !important;
    height: 34px !important;
  }
  body.home-editorial main .factory-flow .flow-number {
    top: 2px !important;
    left: 0 !important;
    width: 28px !important;
    height: 28px !important;
  }
}

/* 波浪最低步下探 46px，flow-note 的上间距加大避免贴线 */
body.home-editorial main .factory-flow .flow-note { margin-top: 64px !important; }

/* 接力光点：金点沿各段虚线滑向下一步（跟随连线倾角），逐段接力循环 */
@media (min-width: 601px) and (prefers-reduced-motion: no-preference) {
  body.home-editorial main .factory-flow .flow-grid .flow-step:not(:last-child)::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 58px;
    left: 84px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b8852b;
    box-shadow: 0 0 0 3px rgba(184, 133, 43, .22), 0 2px 6px rgba(184, 133, 43, .5);
    opacity: 0;
    pointer-events: none;
    animation: ym-flow-relay 3.6s linear infinite;
    animation-delay: calc(.55s + var(--seg, 0) * .72s);
  }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(1)::before { --seg: 0; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(2)::before { --seg: 1; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(3)::before { --seg: 2; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(4)::before { --seg: 3; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(5)::before { --seg: 4; }
  /* 每段一版关键帧：rotate 先行，translateX 沿旋转后的线段方向滑 */
  @keyframes ym-flow-relay-1 {
    0%        { opacity: 0; transform: rotate(13deg) translateX(0); }
    6%        { opacity: 1; }
    38%       { opacity: 1; transform: rotate(13deg) translateX(108px); }
    44%, 100% { opacity: 0; transform: rotate(13deg) translateX(116px); }
  }
  @keyframes ym-flow-relay-2 {
    0%        { opacity: 0; transform: rotate(-10deg) translateX(0); }
    6%        { opacity: 1; }
    38%       { opacity: 1; transform: rotate(-10deg) translateX(108px); }
    44%, 100% { opacity: 0; transform: rotate(-10deg) translateX(116px); }
  }
  @keyframes ym-flow-relay-3 {
    0%        { opacity: 0; transform: rotate(6deg) translateX(0); }
    6%        { opacity: 1; }
    38%       { opacity: 1; transform: rotate(6deg) translateX(108px); }
    44%, 100% { opacity: 0; transform: rotate(6deg) translateX(116px); }
  }
  @keyframes ym-flow-relay-4 {
    0%        { opacity: 0; transform: rotate(11deg) translateX(0); }
    6%        { opacity: 1; }
    38%       { opacity: 1; transform: rotate(11deg) translateX(108px); }
    44%, 100% { opacity: 0; transform: rotate(11deg) translateX(116px); }
  }
  @keyframes ym-flow-relay-5 {
    0%        { opacity: 0; transform: rotate(-10deg) translateX(0); }
    6%        { opacity: 1; }
    38%       { opacity: 1; transform: rotate(-10deg) translateX(108px); }
    44%, 100% { opacity: 0; transform: rotate(-10deg) translateX(116px); }
  }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(1)::before { animation-name: ym-flow-relay-1 !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(2)::before { animation-name: ym-flow-relay-2 !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(3)::before { animation-name: ym-flow-relay-3 !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(4)::before { animation-name: ym-flow-relay-4 !important; }
  body.home-editorial main .factory-flow .flow-grid .flow-step:nth-child(5)::before { animation-name: ym-flow-relay-5 !important; }
}

/* 入场：滚到时逐张浮起（home-refresh.js 加 .ym-flow-armed / .ym-flow-in，
   播完撤 armed 交还样式；无 JS 或 reduced-motion 时直出，对应 pupulan 的 reveal） */
@media (prefers-reduced-motion: no-preference) {
  body.home-editorial main .factory-flow.ym-flow-armed .flow-step {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s ease;
  }
  body.home-editorial main .factory-flow.ym-flow-armed.ym-flow-in .flow-step {
    opacity: 1;
    transform: none;
  }
  body.home-editorial main .factory-flow.ym-flow-armed.ym-flow-in .flow-step:nth-child(1) { transition-delay: .05s; }
  body.home-editorial main .factory-flow.ym-flow-armed.ym-flow-in .flow-step:nth-child(2) { transition-delay: .12s; }
  body.home-editorial main .factory-flow.ym-flow-armed.ym-flow-in .flow-step:nth-child(3) { transition-delay: .19s; }
  body.home-editorial main .factory-flow.ym-flow-armed.ym-flow-in .flow-step:nth-child(4) { transition-delay: .26s; }
  body.home-editorial main .factory-flow.ym-flow-armed.ym-flow-in .flow-step:nth-child(5) { transition-delay: .33s; }
  body.home-editorial main .factory-flow.ym-flow-armed.ym-flow-in .flow-step:nth-child(6) { transition-delay: .4s; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-editorial main .factory-flow .flow-step::after,
  body.home-editorial main .factory-flow .flow-step::before,
  body.home-editorial main .factory-flow .flow-grid::before { animation: none !important; }
}

#home-certificates {
  width: 90% !important;  /* 2026-11-26 用户定：全幅但计入内容区左右的 padding（.wrap 是 min(1280px,90%)），不是真贴边 */
  margin-inline: auto !important;
  padding: 22px 0 !important;
  mask-image: none;
  -webkit-mask-image: none;
}

#home-certificates .home-certificate-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px clamp(24px, 3vw, 52px);
}

#home-certificates .home-certificate-copy {
  display: none;  /* 静态兜底只显示第一组；滚动模式（下方媒体块）里重新显示，拼成无缝长带 */
}

#home-certificates .certificate-item::before { display: none; }

@media (prefers-reduced-motion: no-preference) {
  #home-certificates .home-certificate-copy {
    display: flex;
  }

  #home-certificates .home-certificate-window {
    min-width: 0;
    overflow: hidden;
    overflow: clip;
  }

  #home-certificates .home-certificate-roll {
    display: flex;
    width: max-content;
    animation: home-certificate-scroll 28s linear infinite;
  }

  #home-certificates .home-certificate-group {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: clamp(36px, 4vw, 60px);
    padding-inline-end: clamp(36px, 4vw, 60px);
  }
  /* 不做 focus-within 换布局：点击/Tab 到条目时跑马灯保持滚动原样（2026-11-26 用户反馈点击会变形） */
}

@media (hover: hover) {
  #home-certificates .home-certificate-window:hover .home-certificate-roll {
    animation-play-state: paused;
  }
}

@keyframes home-certificate-scroll {
  to { transform: translateX(calc(-100% / 5)); }  /* 5 份 group：按一份宽度循环 */
}
