/* Supplier route: same navy, cyan, white and technical hierarchy as the buyer homepage. */
.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #D8E7F5;
}

.site-header .brand img {
  filter: none;
}

.site-header .nav-links {
  color: #102A43;
}

.site-header .nav-links .mini-cta {
  border-color: var(--pg-action);
  color: var(--pg-action);
}

.site-header .mobile-menu {
  color: #102A43;
}

.site-header .brand img {
  width: 174px;
}

.back-home {
  position: absolute;
  top: 84px;
  right: max(24px, calc((100vw - 1180px) / 2));
  z-index: 8;
  padding: 8px 12px;
  color: var(--pg-action);
  background: #fff;
  border: 1px solid #D8E7F5;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  background:
    linear-gradient(90deg, rgba(4, 20, 44, .96) 0%, rgba(5, 27, 57, .88) 42%, rgba(7, 31, 61, .24) 100%),
    url("/assets/paper-mill-hero-v3.jpg") center 52% / cover no-repeat;
  min-height: 820px;
  padding-bottom: 126px;
}

.supplier-brand-wave {
  position: absolute;
  right: -90px;
  bottom: -80px;
  z-index: 1;
  width: min(42vw, 620px);
  opacity: .22;
  pointer-events: none;
}

.hero::after {
  inset: auto 0 -1px;
  height: 118px;
  border: 0;
  border-radius: 0;
  transform: none;
  background: #fff;
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
  box-shadow: none;
}

.hero h1 {
  max-width: 900px;
}

.hero-cn {
  max-width: 760px;
  margin: 18px 0 26px;
  color: #bfe8f5;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
}

.grade-card,
.offer-box,
.about-card,
.scope-exclusions,
.segment,
.network-visual {
  border-radius: 0;
}

.market-strip {
  scroll-margin-top: 90px;
}

#submit {
  scroll-margin-top: 84px;
}

@media (max-width: 760px) {
  .back-home {
    position: static;
    display: block;
    border-width: 0 0 1px;
    padding: 10px 20px;
  }

  .hero {
    min-height: auto;
  }

  .supplier-brand-wave {
    right: -170px;
    bottom: -40px;
    width: 480px;
    opacity: .14;
  }
}

/* Full-width editorial showcase: reels, converting line and finished packaging. */
.terminal-cases {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background: #fff;
}

.terminal-cases-head {
  max-width: 1180px;
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  column-gap: 8vw;
  align-items: end;
}

.terminal-cases-head .eyebrow,
.terminal-cases-head h2,
.terminal-cases-head .zh-copy {
  grid-column: 1;
}

.terminal-cases-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(38px, 5vw, 66px);
}

.terminal-cases-head > p:not(.zh-copy) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.65;
}

.terminal-cases-head > p.zh-copy:last-child {
  grid-column: 2;
  grid-row: 3;
  margin: 12px 0 0;
  font-size: 16px;
}

.terminal-collage {
  position: relative;
  height: clamp(630px, 61vw, 850px);
  width: min(100%, 1600px);
  margin: 0 auto;
  isolation: isolate;
}

.terminal-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #e8eef2;
  box-shadow: 0 24px 60px rgba(7, 26, 54, .18);
}

.terminal-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terminal-image::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(4, 19, 41, .8));
  pointer-events: none;
}

.terminal-image figcaption {
  position: absolute;
  z-index: 1;
  left: 26px;
  bottom: 24px;
  color: #fff;
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 800;
  letter-spacing: .01em;
}

.terminal-image figcaption span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #83e4df;
  font-size: 11px;
  letter-spacing: .08em;
}

.terminal-image-reels::after {
  inset: 0 0 auto;
  height: 135px;
  background: linear-gradient(rgba(4, 19, 41, .62), transparent);
}

.terminal-image-reels figcaption {
  top: 24px;
  bottom: auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.terminal-image-reels {
  position: absolute;
  inset: 0 auto auto 0;
  width: 58%;
  height: 70%;
  clip-path: polygon(0 0, 100% 0, 94% 86%, 0 100%);
  z-index: 1;
}

.terminal-image-converting {
  position: absolute;
  top: 9%;
  right: 3%;
  width: 45%;
  height: 57%;
  border: 10px solid #fff;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 91%);
  z-index: 2;
}

.terminal-image-products {
  position: absolute;
  left: 12%;
  bottom: 0;
  width: 48%;
  height: 49%;
  border: 10px solid #fff;
  clip-path: polygon(0 10%, 91% 0, 100% 100%, 0 100%);
  z-index: 3;
}

.terminal-phone {
  position: absolute;
  z-index: 5;
  right: 8%;
  bottom: 0;
  width: 250px;
  height: 530px;
  padding: 12px;
  border: 3px solid #dce7ef;
  border-radius: 39px;
  background: #0B3A82;
  box-shadow: 0 30px 70px rgba(4, 19, 41, .34), 0 0 0 9px #fff;
  overflow: hidden;
}

.terminal-phone-camera {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 74px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #0B3A82;
}

.terminal-phone-top {
  height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px 0;
  color: #fff;
}

.terminal-phone-top img {
  width: 130px;
  height: auto;
  filter: none;
}

.terminal-phone-top span {
  font-size: 20px;
  line-height: 1;
}

.terminal-phone-screen {
  position: relative;
  height: calc(100% - 58px);
  overflow: hidden;
  border-radius: 1px 1px 27px 27px;
  background: #0b315f;
}

.terminal-phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terminal-phone-shade {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(5, 22, 46, .85));
}

.terminal-phone-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 34px;
  display: grid;
  gap: 10px;
}

.terminal-phone-caption span {
  margin-bottom: 4px;
  color: #8ce3dc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.terminal-phone-caption i {
  display: block;
  width: 82%;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .82);
}

.terminal-phone-caption i:last-child {
  width: 55%;
  background: rgba(255, 255, 255, .48);
}

.terminal-flow {
  position: absolute;
  z-index: 4;
  right: 26%;
  bottom: 15%;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 15px 19px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 36px rgba(7, 26, 54, .16);
  color: #0b315f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.terminal-flow b {
  color: #03a9c8;
  font-size: 17px;
}

.terminal-case-note {
  position: relative;
  z-index: 6;
  margin: 24px auto 0;
  color: #6d7a8b;
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
  }

  .terminal-cases-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .terminal-cases-head > p:not(.zh-copy),
  .terminal-cases-head > p.zh-copy:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .terminal-collage {
    height: 760px;
  }

  .terminal-phone {
    right: 5%;
    width: 215px;
    height: 455px;
  }

  .terminal-flow {
    right: 28%;
    bottom: 12%;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 780px;
    padding-top: 120px;
    padding-bottom: 105px;
    background-position: 61% center;
    background-image:
      linear-gradient(180deg, rgba(4, 20, 44, .95) 0%, rgba(5, 27, 57, .83) 54%, rgba(7, 31, 61, .36) 100%),
      url("/assets/paper-mill-hero-v3.jpg");
  }

  .hero::after {
    height: 86px;
    clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 100%);
  }

  .terminal-cases {
    padding: 66px 0 58px;
  }

  .terminal-cases-head {
    width: min(calc(100% - 28px), var(--max));
    margin-bottom: 28px;
  }

  .terminal-cases-head h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .terminal-cases-head > p:not(.zh-copy) {
    font-size: 16px;
  }

  .terminal-collage {
    height: 1020px;
    width: 100%;
    overflow: hidden;
  }

  .terminal-image-reels {
    top: 0;
    width: 100%;
    height: 360px;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .terminal-image-converting {
    top: 300px;
    right: -2%;
    width: 73%;
    height: 280px;
    border-width: 7px;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 90%);
  }

  .terminal-image-products {
    left: -2%;
    bottom: 118px;
    width: 83%;
    height: 310px;
    border-width: 7px;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  }

  .terminal-image figcaption {
    left: 15px;
    bottom: 18px;
    max-width: 80%;
    font-size: 13px;
  }

  .terminal-image-reels::after {
    height: 100px;
  }

  .terminal-image-reels figcaption {
    top: 15px;
  }

  .terminal-image figcaption span {
    width: 28px;
    height: 28px;
  }

  .terminal-phone {
    right: 8%;
    bottom: 14px;
    width: 166px;
    height: 350px;
    padding: 8px;
    border-width: 2px;
    border-radius: 28px;
    box-shadow: 0 20px 42px rgba(4, 19, 41, .32), 0 0 0 6px #fff;
  }

  .terminal-phone-camera {
    top: 5px;
    width: 52px;
    height: 12px;
  }

  .terminal-phone-top {
    height: 42px;
    padding: 8px 6px 0;
  }

  .terminal-phone-top img {
    width: 92px;
  }

  .terminal-phone-screen {
    height: calc(100% - 42px);
    border-radius: 1px 1px 20px 20px;
  }

  .terminal-phone-caption {
    left: 12px;
    right: 12px;
    bottom: 23px;
    gap: 8px;
  }

  .terminal-phone-caption span {
    font-size: 8px;
  }

  .terminal-phone-caption i {
    height: 4px;
  }

  .terminal-flow {
    right: auto;
    left: 13px;
    bottom: 25px;
    gap: 7px;
    padding: 11px 10px;
    font-size: 8px;
  }

  .terminal-flow b {
    font-size: 13px;
  }

  .terminal-case-note {
    width: min(calc(100% - 28px), var(--max));
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-cases *,
  .terminal-cases *::before,
  .terminal-cases *::after {
    transition: none;
    animation: none;
  }
}
