/* Supplier partnership hero + application modal */
.hero-slide--supplier {
  background: #050509;
}
.hero-slide--supplier::after {
  background:
    linear-gradient(90deg, rgba(5,5,9,.90) 0%, rgba(5,5,9,.72) 30%, rgba(5,5,9,.18) 62%, rgba(5,5,9,.18) 100%),
    linear-gradient(180deg, rgba(5,5,9,.20) 0%, rgba(5,5,9,.18) 58%, rgba(5,5,9,.82) 100%);
}
.hero-slide--supplier .hero-slide__img {
  opacity: 1;
  display: block;
  pointer-events: none;
  object-position: center center;
}
.hero-slide--supplier .hero-slide__content {
  top: clamp(34px, 7vh, 88px);
  bottom: auto;
  max-width: min(760px, 56vw);
  padding-top: clamp(22px, 3vw, 42px);
}
.hero-slide--supplier .hero-slide__title {
  max-width: 760px;
}
.hero-slide--supplier .hero-slide__desc {
  max-width: 660px;
}
.supplier-title__nowrap,
.supplier-brand-nowrap {
  white-space: nowrap;
}
.supplier-hero__cta {
  min-width: 190px;
  justify-content: center;
}

body.supplier-modal-open {
  overflow: hidden;
}
.supplier-modal[hidden] { display: none !important; }
.supplier-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 12px;
}
.supplier-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 8, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.supplier-modal__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(860px, 100%);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(circle at 85% 10%, rgba(255,0,140,.16), transparent 34%),
    radial-gradient(circle at 12% 86%, rgba(93,213,255,.12), transparent 30%),
    rgba(10, 10, 18, .97);
  box-shadow: 0 40px 120px rgba(0,0,0,.62), 0 0 70px rgba(255,0,140,.12);
  padding: clamp(24px, 3vw, 38px);
  color: #f4f4fa;
}
.supplier-modal__dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.supplier-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.supplier-modal__close:hover { border-color: rgba(255,0,140,.7); }
.supplier-modal__eyebrow {
  margin-bottom: 12px;
  padding-right: 52px;
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.56);
}
.supplier-modal__dialog h2 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.supplier-modal__lead {
  margin: 14px 0 24px;
  max-width: 760px;
  color: rgba(240,240,248,.72);
  font-size: 16px;
  line-height: 1.55;
}
.supplier-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.supplier-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(240,240,248,.76);
}
.supplier-form__wide { grid-column: 1 / -1; }
.supplier-form input,
.supplier-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 13px 14px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.supplier-form textarea { resize: vertical; min-height: 82px; }
.supplier-form input:focus,
.supplier-form textarea:focus {
  border-color: rgba(255,0,140,.8);
  box-shadow: 0 0 0 3px rgba(255,0,140,.11);
  background: rgba(255,255,255,.065);
}
.supplier-form__honeypot {
  position: fixed !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.supplier-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}
.supplier-form__hint {
  color: rgba(240,240,248,.45);
  font-size: 12px;
}
.supplier-form__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.supplier-form__submit:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}
.supplier-form__status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14px;
}
.supplier-form__status.is-success { color: #7ee9b5; }
.supplier-form__status.is-error { color: #ff8cae; }

@media (max-width: 900px) {
  .hero-slide--supplier .hero-slide__content {
    top: 20px;
    max-width: 78vw;
  }
  .hero-slide--supplier::after {
    background:
      linear-gradient(90deg, rgba(5,5,9,.93) 0%, rgba(5,5,9,.70) 54%, rgba(5,5,9,.24) 100%),
      linear-gradient(180deg, rgba(5,5,9,.28) 0%, rgba(5,5,9,.26) 58%, rgba(5,5,9,.88) 100%);
  }
}
@media (max-width: 640px) {
  .hero-slide--supplier .hero-slide__img {
    object-position: 52% center;
  }
  .hero-slide--supplier .hero-slide__content {
    top: auto;
    bottom: 0;
    max-width: none;
    padding-bottom: 78px;
  }
  .hero-slide--supplier::after {
    background: linear-gradient(180deg, rgba(5,5,9,.46) 0%, rgba(5,5,9,.38) 34%, rgba(5,5,9,.92) 76%, rgba(5,5,9,.98) 100%);
  }
  .supplier-title__nowrap { white-space: normal; }
  .supplier-modal { padding: 8px; }
  .supplier-modal__dialog {
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
    padding: 24px 18px 18px;
  }
  .supplier-form__grid { grid-template-columns: 1fr; }
  .supplier-form__wide { grid-column: auto; }
  .supplier-form__footer {
    align-items: stretch;
    flex-direction: column;
  }
  .supplier-form__actions { width: 100%; }
  .supplier-form__actions .l-btn { flex: 1; justify-content: center; }
}
