/* Manufacturing layout and SANBO graphite and steel palette. */
.sx.sx-custom-manufacturing {
  --ink: #252d34;
  --muted: #505c64;
  --line: #d0d5d8;
  --paper: #f3f4f4;
  --sx-radius: 28px;
  --sx-accent: #30363a;
  --sx-accent-hover: #161d22;
  --sx-section-space: clamp(64px, 9.4vw, 144px);
  font: 17px/25px -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.sx-custom-manufacturing .sx-button {
  min-height: 44px;
  margin-top: 34px;
  padding: 11px 21px;
  border-color: transparent;
  border-radius: 980px;
  background: var(--sx-accent);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  line-height: 20px;
  box-shadow: none;
}

.sx-custom-manufacturing .sx-button:hover {
  background: var(--sx-accent-hover);
  color: #fff;
  box-shadow: none;
}

.sx-custom-manufacturing .sx-button-outline {
  background: transparent;
  color: var(--ink);
  border-color: #939da3;
}

.sx-custom-manufacturing :is(a, summary, button, input, textarea):focus-visible {
  outline-color: var(--sx-accent);
  outline-offset: 4px;
}

body:has(.sx-custom-manufacturing) #ast-scroll-top {
  display: none !important;
}

.sx-custom-manufacturing .sx-wrap {
  width: min(1260px, 88%);
}

.sx-custom-manufacturing .sx-mfg-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  min-height: 0;
  padding-block: clamp(48px, 7vw, 100px) clamp(64px, 8vw, 120px);
}

.sx-custom-manufacturing .sx-mfg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sx-custom-manufacturing .sx-mfg-actions .sx-button {
  margin-top: 0;
}

.sx-custom-manufacturing .sx-section,
.sx-custom-manufacturing .sx-mfg-band {
  padding-block: var(--sx-section-space);
}

.sx-custom-manufacturing .sx-mfg-band {
  background: var(--paper);
}

.sx-custom-manufacturing h1,
.sx-custom-manufacturing h2 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.sx-custom-manufacturing h1 {
  font-size: clamp(40px, 4.25vw, 80px);
}

.sx-custom-manufacturing h2 {
  font-size: clamp(32px, 3.3vw, 56px);
}

.sx-custom-manufacturing h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}

.sx-custom-manufacturing .sx-kicker {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.sx-custom-manufacturing .sx-lead {
  max-width: 25em;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.4;
  margin-top: 24px !important;
}

.sx-custom-manufacturing .sx-mfg-photo {
  border-radius: var(--sx-radius);
  aspect-ratio: 4 / 3;
}

.sx-custom-manufacturing .sx-mfg-pair .sx-section-head {
  margin-bottom: 20px;
}

.sx-custom-manufacturing .sx-mfg-pair > div > p {
  margin-block: 0 16px;
}

.sx-custom-manufacturing .sx-mfg-pair .sx-check {
  margin-block: 0;
}

.sx-custom-manufacturing .sx-mfg-pair .sx-button {
  margin-top: 24px;
}

@media (min-width: 901px) {
  .sx-custom-manufacturing :is(.sx-mfg-hero, .sx-mfg-pair) {
    align-items: stretch;
  }

  .sx-custom-manufacturing :is(.sx-mfg-hero, .sx-mfg-pair) > div {
    align-self: center;
  }

  .sx-custom-manufacturing :is(.sx-mfg-hero, .sx-mfg-pair) .sx-mfg-photo {
    min-height: clamp(300px, 27vw, 370px);
    aspect-ratio: auto;
  }

  .sx-custom-manufacturing :is(.sx-mfg-hero, .sx-mfg-pair) .sx-mfg-photo img {
    position: absolute;
    inset: 0;
  }
}

.sx-custom-manufacturing .sx-section-head {
  margin-bottom: 32px;
}

.sx-custom-manufacturing .sx-rows article p,
.sx-custom-manufacturing .sx-process p,
.sx-custom-manufacturing .sx-check li,
.sx-custom-manufacturing .sx-faq details p {
  font-size: 17px;
}

.sx-custom-manufacturing .sx-process {
  gap: 24px;
  margin-top: 48px;
}

.sx-custom-manufacturing .sx-process article {
  margin: 0;
  padding: 24px 0 0;
  border-right: 0;
  border-top-color: var(--line);
}

.sx-custom-manufacturing .sx-process article span {
  color: #6e6e73;
  font-size: 28px;
}

.sx-custom-manufacturing .sx-process h3 {
  margin: 24px 0 8px;
}

.sx-custom-manufacturing .sx-faq summary {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
}

/* Match the homepage inquiry panel in icam.css. */
.sx-custom-manufacturing .sx-batch {
  width: min(1440px, 88%);
  margin-inline: auto;
  padding-block: clamp(48px, 6vw, 80px) clamp(60px, 7vw, 92px);
  border-top: 1px solid #d6d8da;
}

.sx-custom-manufacturing .sx-batch-intro {
  margin: 0 auto 42px;
  text-align: center;
}

.sx-custom-manufacturing .sx-batch-intro .sx-kicker {
  color: #657680;
  font-size: clamp(14px, 1.4vw, 19px);
  font-weight: 400;
  margin-bottom: 14px;
}

.sx-custom-manufacturing .sx-batch-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 1.35;
}

.sx-custom-manufacturing .sx-batch-intro > p:last-child {
  font-size: 15px;
  line-height: 1.8;
}

#sx-batch-form {
  padding: 38px 44px 26px;
  border: 1px solid #b9bdc0;
  border-radius: 18px;
  background: linear-gradient(115deg, #ffffffb5, #ffffff70), url('steel-neutral-photo.webp') center/cover;
  box-shadow: inset 0 1px #fff, inset 1px 0 #ffffffe6, inset -1px -1px #969b9f55,
    0 3px #cacdd0, 0 4px #b0b4b7, 0 20px 35px -18px #30343855, 0 40px 65px -50px #34383b55;
  color: #42484d;
}

#sx-batch-form p {
  color: #42484d;
  font-size: 13px;
}

.sx-batch-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px 32px;
  margin-block: 12px 24px;
}

.sx-batch-fields label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.sx-batch-wide {
  grid-column: 1 / -1;
}

#sx-batch-form .sx-batch-fields :is(input, textarea) {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 3px;
  border: 0;
  border-bottom: 1px solid #8196a67a;
  border-radius: 0;
  background: linear-gradient(0deg, #ffffff28, transparent 55%);
  color: #42484d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

#sx-batch-form .sx-batch-fields :is(input, textarea)::placeholder {
  color: #626b71;
}

#sx-batch-form .sx-batch-fields :is(input, textarea):focus {
  border-bottom-color: #304b5c;
  box-shadow: 0 1px #304b5c;
  outline-offset: 2px;
}

#sx-batch-form .sx-batch-fields textarea {
  min-height: 90px;
  resize: vertical;
}

.sx-batch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.sx-batch-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.6;
}

.sx-batch-consent input {
  flex: none;
  margin-top: 3px;
  accent-color: var(--sx-accent);
}

.sx-batch-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#sx-batch-form .sx-batch-submit {
  min-width: 168px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 22px;
  border: 1px solid #444a4f;
  border-radius: 25px;
  background: linear-gradient(135deg, #62666b, #343a3f);
  box-shadow: inset 0 1px #a8adb1, 0 2px #2b3035, 0 5px 10px #34383d20;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

#sx-batch-form .sx-batch-submit:hover {
  background: linear-gradient(135deg, #50565b, #252b30);
}

#sx-batch-form .sx-batch-submit:disabled {
  opacity: .65;
  cursor: wait;
}

#sx-batch-form .sx-batch-status:not(:empty) {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .sx.sx-custom-manufacturing {
    padding-top: 140px;
  }

  .sx-custom-manufacturing [id] {
    scroll-margin-top: 168px;
  }

  .sx-custom-manufacturing .sx-mfg-hero,
  .sx-custom-manufacturing .sx-two {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .sx-custom-manufacturing .sx-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  #sx-batch-form {
    padding: 26px;
  }

  .sx-batch-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  #sx-batch-form .sx-batch-fields :is(input, textarea) {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .sx-custom-manufacturing .sx-process {
    grid-template-columns: minmax(0, 1fr);
  }
}
