/* Final visual overrides loaded after the shared stylesheet. */
.skip-link {
  position: absolute;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.brand-logo-wall .brand-logo-item {
  display: grid;
  overflow: hidden;
  place-items: center;
}

.brand-logo-wall .brand-logo-image.brand-logo-lancome,
.brand-logo-wall .brand-logo-image.brand-logo-nestle,
.brand-logo-wall .brand-logo-image.brand-logo-mixue,
.brand-logo-wall .brand-logo-image.brand-logo-tencent,
.brand-logo-wall .brand-logo-image.brand-logo-meituan {
  display: block;
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
  object-position: center;
  transform-origin: center;
}

.brand-logo-wall .brand-logo-image.brand-logo-lancome {
  max-width: 138px;
  max-height: 62px;
}

.brand-logo-wall .brand-logo-image.brand-logo-nestle {
  max-width: 138px;
  max-height: 58px;
}

.brand-logo-wall .brand-logo-image.brand-logo-mixue {
  max-width: 142px;
  max-height: 58px;
}

.brand-logo-wall .brand-logo-image.brand-logo-tencent {
  max-width: 150px;
  max-height: 52px;
}

.brand-logo-wall .brand-logo-image.brand-logo-meituan {
  max-width: 142px;
  max-height: 52px;
}

.brand-evolution .evolution-title .nanoso-type {
  color: #38bda4 !important;
  background: linear-gradient(90deg, rgba(174, 238, 222, 0.12), rgba(174, 238, 222, 0.58));
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #38bda4 !important;
}

.brand-evolution .evolution-track .is-current .nanoso-type::after {
  display: none;
  content: none;
}

.oem-page .oem-process-grid article {
  contain: none;
}

.oem-page .oem-process-grid article:nth-child(1)::after,
.oem-page .oem-process-grid article:nth-child(2)::after,
.oem-page .oem-process-grid article:nth-child(7)::after,
.oem-page .oem-process-grid article:nth-child(8)::after {
  content: "\2192";
}

.oem-page .oem-process-grid article:nth-child(3)::after,
.oem-page .oem-process-grid article:nth-child(4)::after {
  content: "\2193";
}

.oem-page .oem-process-grid article:nth-child(5)::after,
.oem-page .oem-process-grid article:nth-child(6)::after {
  content: "\2190";
}

.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(4) {
  animation-delay: 435ms;
}

.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(6) {
  animation-delay: 285ms;
}

@media (min-width: 981px) {
  .brand-evolution .evolution-title {
    font-size: clamp(4.25rem, 5.8vw, 6.8rem);
  }

  .production-chain .production-flow li {
    min-height: 244px;
  }

  .production-flow .production-flow-copy {
    padding-right: 138px;
  }

  .production-flow .production-flow-visual {
    width: 118px;
    height: 118px;
    border-radius: 25px;
  }
}

@media (min-width: 621px) and (max-width: 980px) {
  .production-flow .production-flow-copy {
    padding-right: 112px;
  }

  .production-flow .production-flow-visual {
    width: 96px;
    height: 96px;
    border-radius: 21px;
  }
}

@media (max-width: 760px) {
  .oem-page .oem-process-grid article:nth-child(n)::after {
    content: "\2193";
  }

  .oem-page .oem-process-grid article:nth-child(9)::after {
    display: none;
  }
}

/* PDF revision pass: one title rhythm across the five lead pages. */
#home-hero-title,
#about-hero-title,
.featured-product-page .fp-hero-copy h1,
.products-page .products-hero-copy h1,
.oem-page .oem-hero-copy h1 {
  color: var(--color-green-deep, #0b4d41);
  line-height: 1.035;
  letter-spacing: -0.032em;
  word-spacing: 0.025em;
}

#home-hero-title span + span {
  margin-top: 0.08em;
}

/* Home: align paired actions and open up the process caption. */
.featured-home .featured-product-copy .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.featured-home .featured-product-copy .actions .button,
.featured-home .featured-product-copy .actions .text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 11px 18px;
  border-radius: 999px;
}

.featured-home .featured-product-copy .actions .text-link {
  border: 1px solid rgba(11, 77, 65, 0.2);
}

.oem-home-stage .process-grid {
  margin-top: 18px;
}

.oem-home-office figcaption {
  bottom: 26px;
}

.factory-home-copy > .text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 24px;
  padding: 9px 15px;
  border: 1px solid rgba(11, 77, 65, 0.2);
  border-radius: 999px;
}

/* The source marks are neutral by default and reveal recognizable brand color. */
.brand-logo-wall .brand-logo-image.brand-logo-ikea {
  max-width: 112px;
  max-height: 54px;
}

.brand-logo-wall .brand-logo-image.brand-logo-disney {
  max-width: 132px;
  max-height: 58px;
}

.brand-logo-wall .brand-logo-image.brand-logo-starbucks {
  max-width: 68px;
  max-height: 68px;
}

.brand-logo-wall .brand-logo-item:hover .brand-logo-starbucks,
.brand-logo-wall .brand-logo-item:focus-visible .brand-logo-starbucks {
  filter: invert(28%) sepia(32%) saturate(1050%) hue-rotate(116deg) brightness(86%) contrast(98%);
}

.brand-logo-wall .brand-logo-item:hover .brand-logo-disney,
.brand-logo-wall .brand-logo-item:focus-visible .brand-logo-disney {
  filter: invert(31%) sepia(75%) saturate(950%) hue-rotate(181deg) brightness(87%) contrast(95%);
}

.brand-logo-wall .brand-logo-item:hover .brand-logo-nestle,
.brand-logo-wall .brand-logo-item:focus-visible .brand-logo-nestle {
  filter: invert(33%) sepia(55%) saturate(860%) hue-rotate(166deg) brightness(86%) contrast(94%);
}

/* About: the copy sits on a longer white fade for reliable small-text contrast. */
.about-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.12) 34%, rgba(255, 255, 255, 0.78) 56%, rgba(255, 255, 255, 0.97) 75%, #fff 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 248, 246, 0.2));
}

.about-hero-copy .lead {
  color: #445d58;
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  line-height: 1.72;
}

/* Featured Product: benefit 04 follows the same baseline and visual weight. */
.featured-product-page .fp-material-points .fp-writable-benefit {
  padding: 0 0 0 34px;
  border-radius: 0;
  background: transparent;
}

.featured-product-page .fp-material-points .fp-writable-benefit::before,
.featured-product-page .fp-material-points .fp-writable-benefit::after {
  display: none;
  content: none;
}

/* Products: restore the shared green hierarchy and give the closing inquiry room. */
.products-page .products-hero-copy .eyebrow,
.oem-page .oem-hero-copy .eyebrow {
  color: var(--color-teal, #42b8a1);
}

.products-page main > .site-cta {
  width: min(calc(100% - 64px), 1360px);
  margin-inline: auto;
}

.products-page .site-cta .site-cta-inner {
  display: block;
  width: 100%;
  padding: clamp(40px, 4.8vw, 64px);
}

.products-page .site-cta-inner > div {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.products-page .site-cta .eyebrow,
.products-page .site-cta h2,
.products-page .site-cta .button {
  margin-left: 0;
}

.products-page .site-cta h2 {
  max-width: 1050px;
  margin-block: 10px 22px;
}

.products-page .site-cta .button {
  min-height: 40px;
  padding: 9px 16px;
}

/* OEM hero: use one continuous image-to-copy fade instead of a hard split. */
@media (min-width: 981px) {
  .oem-page .oem-hero-refresh {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.9fr);
    isolation: isolate;
  }

  .oem-page .oem-hero-media {
    position: absolute;
    z-index: 0;
    inset: 0;
  }

  .oem-page .oem-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 32% center;
    transform: scale(1.02);
  }

  .oem-page .oem-hero-media::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background:
      linear-gradient(90deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.08) 38%, rgba(255,255,255,0.64) 55%, rgba(255,255,255,0.94) 70%, #fff 86%),
      linear-gradient(0deg, rgba(5, 51, 43, 0.08), transparent 44%);
  }

  .oem-page .oem-hero-copy {
    z-index: 2;
    grid-column: 2;
    min-height: inherit;
    padding-left: clamp(36px, 5vw, 76px);
    background: transparent;
  }
}

/* OEM process: full-bleed factory photo with a compact floating caption. */
.oem-page .oem-process-layout {
  grid-template-columns: minmax(248px, 272px) minmax(0, 1fr);
  gap: clamp(26px, 3vw, 38px);
  align-items: center;
}

.oem-page .oem-process-media {
  min-height: 382px;
  max-height: 382px;
  overflow: hidden;
  border: 1px solid rgba(17, 104, 88, 0.16);
  border-radius: 24px;
  background: #dcece7;
  box-shadow: 0 20px 46px rgba(8, 68, 57, 0.14);
}

.oem-page .oem-process-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
  filter: saturate(0.88) contrast(1.02);
}

.oem-page .oem-process-media::after {
  inset: 44% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 42, 35, 0.08) 26%, rgba(3, 42, 35, 0.58) 100%);
}

.oem-page .oem-process-media-label {
  right: 14px;
  bottom: 14px;
  left: 14px;
  gap: 5px;
  padding: 15px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 16px;
  background: rgba(4, 52, 44, 0.56);
  box-shadow: 0 12px 30px rgba(2, 31, 26, 0.18);
  backdrop-filter: blur(11px);
}

.oem-page .oem-process-media-label strong {
  max-width: 220px;
  font-size: clamp(1.12rem, 1.35vw, 1.38rem);
  line-height: 1.16;
}

.oem-page .oem-process-media-label span {
  font-size: 0.66rem;
}

/* Reveal follows the visual snake: 01, 02, 03, 04, 05, 06, 07, 08, 09. */
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(1) { animation-delay: 60ms; }
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(2) { animation-delay: 130ms; }
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(3) { animation-delay: 200ms; }
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(6) { animation-delay: 270ms; }
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(5) { animation-delay: 340ms; }
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(4) { animation-delay: 410ms; }
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(7) { animation-delay: 480ms; }
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(8) { animation-delay: 550ms; }
.reveal-ready .oem-process-refresh.is-visible .oem-process-grid article:nth-child(9) { animation-delay: 620ms; }

@media (max-width: 980px) {
  .oem-page .oem-process-layout {
    grid-template-columns: 1fr;
  }

  .oem-page .oem-process-media {
    min-height: 340px;
    max-height: 340px;
  }

  .products-page main > .site-cta {
    width: min(calc(100% - 40px), 760px);
  }
}

@media (max-width: 620px) {
  #home-hero-title,
  #about-hero-title,
  .featured-product-page .fp-hero-copy h1,
  .products-page .products-hero-copy h1,
  .oem-page .oem-hero-copy h1 {
    line-height: 1.06;
    letter-spacing: -0.025em;
  }

  .featured-product-page .fp-material-points .fp-writable-benefit {
    padding: 22px 64px 22px 0;
  }

  .products-page main > .site-cta {
    width: calc(100% - 24px);
  }

  .products-page .site-cta .site-cta-inner {
    padding: 30px 22px;
  }
}

/* OEM/ODM final composition: a tighter process frame, closer media/copy
   relationship, softer directional connectors, and one CTA alignment line. */
.oem-page main > section.oem-process-refresh:not(:first-child) {
  width: min(calc(100% - 96px), 1120px);
  padding-block: clamp(54px, 5.6vw, 72px);
}

.oem-page .oem-process-refresh > .page-container {
  width: min(calc(100% - 64px), 1000px);
}

.oem-page .oem-process-layout {
  grid-template-columns: minmax(270px, 286px) minmax(0, 1fr);
  gap: clamp(28px, 3.2vw, 40px);
  align-items: start;
}

.oem-page .oem-process-media {
  min-height: 430px;
  max-height: 430px;
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(11, 77, 65, 0.13);
}

.oem-page .oem-process-media img {
  object-position: 48% center;
}

.oem-page .oem-process-media::after {
  inset: 26% 0 0;
  background: linear-gradient(transparent 0%, rgba(7, 67, 58, 0.25) 30%, rgba(2, 38, 33, 0.88) 100%);
}

.oem-page .oem-process-media-label {
  right: 22px;
  bottom: 24px;
  left: 22px;
  gap: 7px;
}

.oem-page .oem-process-media-label strong {
  max-width: 250px;
  font-size: clamp(1.28rem, 1.55vw, 1.58rem);
  line-height: 1.13;
}

.oem-page .oem-process-grid {
  gap: 16px 18px;
  margin-top: 26px;
}

.oem-page .oem-process-grid article {
  min-height: 158px;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(8, 73, 61, 0.035);
}

.oem-page .oem-process-grid h3 {
  margin: 14px 0 6px;
  font-size: clamp(1.08rem, 1.2vw, 1.2rem);
}

.oem-page .oem-process-grid p {
  font-size: 0.9rem;
  line-height: 1.42;
}

.oem-page .oem-process-grid article::after {
  z-index: 4;
  display: block;
  width: 28px;
  height: 14px;
  color: transparent;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(42, 180, 160, 0.38), rgba(21, 143, 124, 0.78));
  box-shadow: none;
  content: "";
  opacity: 0.72;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M1 7h23M18 2l6 5-6 5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M1 7h23M18 2l6 5-6 5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.oem-page .oem-process-grid article:nth-child(1)::after,
.oem-page .oem-process-grid article:nth-child(2)::after,
.oem-page .oem-process-grid article:nth-child(7)::after,
.oem-page .oem-process-grid article:nth-child(8)::after {
  top: 50%;
  right: -9px;
  content: "";
  transform: translate(50%, -50%);
}

.oem-page .oem-process-grid article:nth-child(3)::after,
.oem-page .oem-process-grid article:nth-child(4)::after {
  bottom: -8px;
  left: 50%;
  content: "";
  transform: translate(-50%, 50%) rotate(90deg);
}

.oem-page .oem-process-grid article:nth-child(5)::after,
.oem-page .oem-process-grid article:nth-child(6)::after {
  top: 50%;
  left: -9px;
  content: "";
  transform: translate(-50%, -50%) rotate(180deg);
}

.oem-page main > section.site-cta:not(:first-child) {
  width: min(calc(100% - 96px), 1120px);
}

.oem-page .site-cta .site-cta-inner {
  display: block;
  width: 100%;
  padding: clamp(32px, 3.8vw, 46px);
}

.oem-page .site-cta-inner > div {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.oem-page .site-cta .eyebrow,
.oem-page .site-cta h2,
.oem-page .site-cta .button {
  margin-left: 0;
}

.oem-page .site-cta h2 {
  margin-block: 9px 14px;
}

.oem-page .site-cta .button {
  min-height: 38px;
  padding: 8px 15px;
}

@media (max-width: 980px) {
  .oem-page main > section.oem-process-refresh:not(:first-child),
  .oem-page main > section.site-cta:not(:first-child) {
    width: min(calc(100% - 40px), 760px);
  }

  .oem-page .oem-process-refresh > .page-container {
    width: min(calc(100% - 44px), 680px);
  }

  .oem-page .oem-process-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .oem-page .oem-process-media {
    min-height: 360px;
    max-height: 360px;
    aspect-ratio: auto;
  }
}

@media (max-width: 760px) {
  .oem-page main > section.oem-process-refresh:not(:first-child),
  .oem-page main > section.site-cta:not(:first-child) {
    width: calc(100% - 24px);
  }

  .oem-page .oem-process-refresh {
    padding-block: 42px;
  }

  .oem-page .oem-process-refresh > .page-container {
    width: calc(100% - 32px);
  }

  .oem-page .oem-process-media {
    min-height: 330px;
    max-height: 330px;
  }

  .oem-page .oem-process-grid {
    gap: 22px;
  }

  .oem-page .oem-process-grid article:nth-child(n)::after {
    top: auto;
    right: auto;
    bottom: -11px;
    left: 50%;
    content: "";
    transform: translate(-50%, 50%) rotate(90deg);
  }

  .oem-page .oem-process-grid article:nth-child(9)::after {
    display: none;
  }

  .oem-page .site-cta .site-cta-inner {
    padding: 28px 22px;
  }
}

/* Keep the process photograph centered against the three card rows rather
   than aligned with the heading above them. */
@media (min-width: 981px) {
  .oem-page .oem-process-media {
    align-self: center;
    transform: none;
  }
}

@media (max-width: 980px) {
  .oem-page .oem-process-media {
    transform: none;
  }
}
