:root { --layout-unit: 1vw; --header-unit: 1vw; --site-header-height: 72px; --site-font: "Noto Sans SC", "Noto Sans", sans-serif; }
/* Factory inner page. Desktop geometry follows the 1920 × 2780 PSD. */
.factory-content {
  background: #f6f6f6;
  color: #333;
  font-family: "Noto Sans SC", 'Microsoft YaHei', sans-serif;
}

.factory-content h1,
.factory-content h2,
.factory-content p,
.factory-content figure,
.factory-content ol {
  margin: 0;
}

.factory-hero {
  position: relative;
  height: 36.458333vw;
  height: calc(36.45833vw);
  height: calc(36.45833 * var(--layout-unit));
  overflow: hidden;
  color: #fff;
}

.factory-hero-photo,
.factory-hero-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.factory-hero-photo {
  display: block;
  object-fit: cover;
}

.factory-hero-shade {
  background: rgba(0, 0, 0, 0.702);
}

.factory-hero-copy {
  position: absolute;
  top: 15.880208vw;
  right: 0;
  bottom: auto;
  left: 0;
  top: calc(15.88021vw);
  top: calc(15.88021 * var(--layout-unit));
  text-align: center;
}

.factory-hero h1 {
  font-size: 2.708333vw;
  font-size: calc(2.70833vw);
  font-size: calc(2.70833 * var(--layout-unit));
  font-weight: 700;
  line-height: 3.125vw;
  line-height: calc(3.125vw);
  line-height: calc(3.125 * var(--layout-unit));
}

.factory-hero p {
  margin-top: 1.09375vw;
  margin-top: calc(1.09375vw);
  margin-top: calc(1.09375 * var(--layout-unit));
  font-size: 1.5625vw;
  font-size: calc(1.5625vw);
  font-size: calc(1.5625 * var(--layout-unit));
  line-height: 1.875vw;
  line-height: calc(1.875vw);
  line-height: calc(1.875 * var(--layout-unit));
}

.factory-overview {
  padding: 4.427083vw 12.604167vw 0 12.135417vw;
  padding: calc(4.42708vw) calc(12.60417vw) 0 calc(12.13542vw);
  padding: calc(4.42708 * var(--layout-unit)) calc(12.60417 * var(--layout-unit)) 0 calc(12.13542 * var(--layout-unit));
}

.factory-intro-card {
  position: relative;
  display: grid;
  grid-template-columns: 39.947917vw 1fr;
  grid-template-columns: calc(39.94792vw) 1fr;
  grid-template-columns: calc(39.94792 * var(--layout-unit)) 1fr;
  height: 21.71875vw;
  height: calc(21.71875vw);
  height: calc(21.71875 * var(--layout-unit));
  overflow: hidden;
  border-radius: 1.71875vw;
  border-radius: calc(1.71875vw);
  border-radius: calc(1.71875 * var(--layout-unit));
  background: #fff;
}

.factory-intro-frame,
.factory-photo-frame {
  overflow: hidden;
}

.factory-intro-frame {
  height: 21.510417vw;
  height: calc(21.51042vw);
  height: calc(21.51042 * var(--layout-unit));
  margin-top: 0.104167vw;
  margin-top: calc(.10417vw);
  margin-top: calc(.10417 * var(--layout-unit));
  margin-left: 0.15625vw;
  margin-left: calc(.15625vw);
  margin-left: calc(.15625 * var(--layout-unit));
}

.factory-intro-frame img,
.factory-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.factory-intro-copy {
  padding: 3.1875vw 3.072917vw 0 3.020833vw;
  padding: calc(3.1875vw) calc(3.07292vw) 0 calc(3.02083vw);
  padding: calc(3.1875 * var(--layout-unit)) calc(3.07292 * var(--layout-unit)) 0 calc(3.02083 * var(--layout-unit));
}

.factory-intro-copy h2,
.factory-process h2 {
  color: #023b80;
  font-size: 2.083333vw;
  font-size: calc(2.08333vw);
  font-size: calc(2.08333 * var(--layout-unit));
  font-weight: 700;
  line-height: 2.395833vw;
  line-height: calc(2.39583vw);
  line-height: calc(2.39583 * var(--layout-unit));
}

.factory-intro-copy h2 {
  white-space: nowrap;
}

.factory-intro-copy p {
  margin-top: 1.491667vw;
  margin-top: calc(1.49167vw);
  margin-top: calc(1.49167 * var(--layout-unit));
  font-size: 0.9375vw;
  font-size: calc(.9375vw);
  font-size: calc(.9375 * var(--layout-unit));
  font-weight: 400;
  line-height: 1.770833vw;
  line-height: calc(1.77083vw);
  line-height: calc(1.77083 * var(--layout-unit));
}

.factory-photo-grid {
  display: grid;
  grid-template-columns: 445fr 446fr 445fr;
  grid-gap: 2.34375vw 2.708333vw;
  gap: 2.34375vw 2.708333vw;
  gap: calc(2.34375vw) calc(2.70833vw);
  gap: calc(2.34375 * var(--layout-unit)) calc(2.70833 * var(--layout-unit));
  margin: 3.958333vw 0.104167vw 0 0.208333vw;
  margin: calc(3.95833vw) calc(.10417vw) 0 calc(.20833vw);
  margin: calc(3.95833 * var(--layout-unit)) calc(.10417 * var(--layout-unit)) 0 calc(.20833 * var(--layout-unit));
}

.factory-photo-frame {
  
  border-radius: 0.833333vw;
  border-radius: calc(.83333vw);
  border-radius: calc(.83333 * var(--layout-unit));
}

.factory-process {
  padding: 3.75vw 12.65625vw 6.25vw 12.34375vw;
  padding: calc(3.75vw) calc(12.65625vw) calc(6.25vw) calc(12.34375vw);
  padding: calc(3.75 * var(--layout-unit)) calc(12.65625 * var(--layout-unit)) calc(6.25 * var(--layout-unit)) calc(12.34375 * var(--layout-unit));
}

.factory-process h2 {
  text-align: center;
}

.factory-process-steps {
  display: grid;
  grid-template-columns: repeat(12, min0);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 1.041667vw 2.083333vw;
  gap: 1.041667vw 2.083333vw;
  gap: calc(1.04167vw) calc(2.08333vw);
  gap: calc(1.04167 * var(--layout-unit)) calc(2.08333 * var(--layout-unit));
  padding: 0;
  padding-top: 2.864583vw;
  padding-top: calc(2.86458vw);
  padding-top: calc(2.86458 * var(--layout-unit));
  list-style: none;
}

.factory-process-steps li {
  position: relative;
  display: flex;
  grid-column: span 2;
  align-items: center;
  justify-content: center;
  height: 2.708333vw;
  height: calc(2.70833vw);
  height: calc(2.70833 * var(--layout-unit));
  border-radius: 0.3125vw;
  border-radius: calc(.3125vw);
  border-radius: calc(.3125 * var(--layout-unit));
  background: #073d7d;
  color: #fff;
  font-size: 1.041667vw;
  font-size: calc(1.04167vw);
  font-size: calc(1.04167 * var(--layout-unit));
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.factory-process-steps li:nth-child(n + 7) {
  grid-column: span 3;
}

.factory-process-steps li:not(:nth-child(6)):not(:last-child)::after {
  position: absolute;
  left: 100%;
  width: 2.083333vw;
  width: calc(2.08333vw);
  width: calc(2.08333 * var(--layout-unit));
  color: #003e7e;
  font-size: 1.875vw;
  font-size: calc(1.875vw);
  font-size: calc(1.875 * var(--layout-unit));
  font-weight: 400;
  content: '→';
}

.factory-inner-page .factory-footer.desktop,
.factory-inner-page .factory-footer.home-content {
  border-top: 0.364583vw solid #ee8301;
  border-top: calc(.36458vw) solid #ee8301;
  border-top: calc(.36458 * var(--layout-unit)) solid #ee8301;
}

.factory-inner-page #footer {
  height: 17.760417vw;
  height: calc(17.76042vw);
  height: calc(17.76042 * var(--layout-unit));
}

/* Expanded English copy keeps the same composition without clipping. */
html[lang="en"] .factory-intro-copy h2,
html[lang="ru"] .factory-intro-copy h2 {
  font-size: 1.566667vw;
  font-size: calc(1.56667vw);
  font-size: calc(1.56667 * var(--layout-unit));
  white-space: normal;
}

html[lang="en"] .factory-intro-copy p,
html[lang="ru"] .factory-intro-copy p {
  font-size: 0.833333vw;
  font-size: calc(.83333vw);
  font-size: calc(.83333 * var(--layout-unit));
  line-height: 1.458333vw;
  line-height: calc(1.45833vw);
  line-height: calc(1.45833 * var(--layout-unit));
}

html[lang="en"] .factory-process-steps li,
html[lang="ru"] .factory-process-steps li {
  font-size: 0.885417vw;
  font-size: calc(.88542vw);
  font-size: calc(.88542 * var(--layout-unit));
}

@media (hover: hover) and (pointer: fine) {
  .factory-intro-frame:hover img,
  .factory-photo-frame:hover img {
    transform: scale(1.045);
  }
}

@media (max-width: 1199px) {
  .factory-hero {
    height: 360px;
    height: calc(360px);
    height: calc(max(360px, min(48vw, 580px)));
  }

  .factory-hero-copy {
    top: 45%;
    right: 20px;
    bottom: auto;
    left: 20px;
  }

  .factory-hero h1 {
    font-size: 32px;
    font-size: calc(32px);
    font-size: calc(max(32px, min(4.5vw, 52px)));
    line-height: 1.3;
  }

  .factory-hero p {
    margin-top: 20px;
    font-size: 16px;
    font-size: calc(16px);
    font-size: calc(max(16px, min(2.5vw, 26px)));
    line-height: 1.6;
  }

  .factory-overview {
    padding: 48px 24px 0;
  }

  .factory-intro-card {
    grid-template-columns: 1fr 1fr;
    height: auto;
    border-radius: 22px;
  }

  .factory-intro-frame {
    height: 100%;
    min-height: 320px;
    margin: 0;
  }

  .factory-intro-copy {
    padding: 28px;
  }

  .factory-intro-copy h2,

  .factory-process h2,

  html[lang="en"] .factory-intro-copy h2,

  html[lang="ru"] .factory-intro-copy h2 {
    font-size: 24px;
    font-size: calc(24px);
    font-size: calc(max(24px, min(3vw, 36px)));
    line-height: 1.5;
    white-space: normal;
  }

  .factory-intro-copy p,

  html[lang="en"] .factory-intro-copy p,

  html[lang="ru"] .factory-intro-copy p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.9;
  }

  .factory-photo-grid {
    gap: 24px;
    margin: 36px 0 0;
  }

  .factory-photo-frame {
    height: auto;
    aspect-ratio: 445 / 346;
    border-radius: 14px;
  }

  .factory-process {
    padding: 48px 24px 64px;
  }

  .factory-process-steps {
    gap: 20px 24px;
    padding-top: 28px;
  }

  .factory-process-steps li,

  html[lang="en"] .factory-process-steps li,

  html[lang="ru"] .factory-process-steps li {
    min-height: 52px;
    height: auto;
    padding: 10px 6px;
    border-radius: 6px;
    font-size: 15px;
  }

  .factory-process-steps li:not(:nth-child(6)):not(:last-child)::after {
    width: 24px;
    font-size: 24px;
  }

  .factory-inner-page .factory-footer.mobile {
    border-top: 5px solid #ee8301;
  }
}

@media (max-width: 767px) {
  .factory-hero-photo {
    object-position: 57% center;
  }

  .factory-hero-copy {
    top: 43%;
  }

  .factory-overview {
    padding: 32px 20px 0;
  }

  .factory-intro-card {
    grid-template-columns: 1fr;
  }

  .factory-intro-frame {
    min-height: 0;
    height: auto;
    aspect-ratio: 764 / 413;
  }

  .factory-intro-copy {
    padding: 24px;
  }

  .factory-photo-grid {
    grid-template-columns: repeat(2, min0);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
  }

  .factory-process {
    padding: 40px 20px 48px;
  }

  .factory-process-steps {
    grid-template-columns: repeat(2, min0);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .factory-process-steps li,
  .factory-process-steps li:nth-child(n + 7) {
    grid-column: auto;
  }

  .factory-process-steps li::after {
    display: none;
  }

  .factory-process-steps li:nth-child(odd)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: auto;
    left: 100%;
    width: 24px;
    content: '→';
  }

  .factory-process-steps li:nth-child(even):not(:last-child)::after {
    display: block;
    top: 100%;
    right: auto;
    bottom: auto;
    left: calc(-100% - 24px);
    width: calc(200% + 24px);
    height: 28px;
    font-size: 20px;
    line-height: 28px;
    content: '↓';
  }
}

@media (prefers-reduced-motion: reduce) {
  .factory-intro-frame img,
  .factory-photo-frame img {
    transition: none;
  }
}

/* Full-size workshop photographs, independent from the PSD thumbnail layout. */
.factory-photo-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}

.factory-photo-open:focus-visible {
  outline-offset: -4px;
}

html.has-gallery-preview {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.factory-gallery-dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 72px 88px 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: "Noto Sans SC", 'Microsoft YaHei', sans-serif;
  overflow: hidden;
}

.factory-gallery-dialog::-ms-backdrop {
  background: rgba(4, 14, 26, 0.94);
}

.factory-gallery-dialog::backdrop {
  background: rgba(4, 14, 26, 0.94);
}

.factory-gallery-dialog[open] {
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
}

.factory-gallery-dialog .gallery-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.factory-gallery-dialog .gallery-large-image {
  display: block;
  max-width: 100%;
  max-width: 100%;
  max-width: min(100%, 1440px);
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: calc(100vh - 160px);
  max-height: calc(100dvh - 160px);
  object-fit: contain;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.factory-gallery-dialog figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  width: 100%;
  width: min(100%, 960px);
  padding-top: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.factory-gallery-dialog .gallery-counter {
  flex-shrink: 0;
  color: #b8c6d6;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.factory-gallery-dialog button {
  position: absolute;
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.factory-gallery-dialog button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.factory-gallery-dialog button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.factory-gallery-dialog .gallery-close {
  top: 20px;
  right: 24px;
}

.factory-gallery-dialog .gallery-previous {
  left: 24px;
  top: calc(50% - 24px);
}

.factory-gallery-dialog .gallery-next {
  right: 24px;
  top: calc(50% - 24px);
}

@media (max-width: 767px) {
  .factory-gallery-dialog {
    padding: 76px 16px 104px;
  }

  .factory-gallery-dialog .gallery-large-image {
    max-height: calc(100vh - 240px);
    max-height: calc(100dvh - 240px);
  }

  .factory-gallery-dialog figcaption {
    gap: 12px;
    font-size: 13px;
  }

  .factory-gallery-dialog .gallery-close {
    top: 16px;
    right: 16px;
  }

  .factory-gallery-dialog .gallery-previous,
  .factory-gallery-dialog .gallery-next {
    top: auto;
    bottom: 24px;
    bottom: max(24px, env(safe-area-inset-bottom));
  }

  .factory-gallery-dialog .gallery-previous {
    left: calc(50% - 64px);
  }

  .factory-gallery-dialog .gallery-next {
    right: calc(50% - 64px);
  }
}
  html.legacy-browser .factory-intro-frame:hover img,
html.legacy-browser .factory-photo-frame:hover img {
    transform: scale(1.045);
  }

