/* ==========================================================================
   /retail-brand-partnerships/ — Retail Liquidation & Reverse Logistics
   --------------------------------------------------------------------------
   Standalone stylesheet, enqueued only when the Retail & Brand Partnerships
   template is active. Mirrors src/sass/assets/_retail-brand-partnerships.scss.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 — PAGE WRAPPER
   -------------------------------------------------------------------------- */
.retail-brand {
  background: #ffffff;
  color: #000000;
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   02 — HERO ( extends existing .page-hero )
   -------------------------------------------------------------------------- */
.retail-brand .rbp-hero {
  background-color: #364A39;
  position: relative;
}

.retail-brand .rbp-hero .hero-image img {
  filter: grayscale(100%) brightness(1.2) contrast(105%);
}
.retail-brand .rbp-hero .hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: #364A39; mix-blend-mode: multiply; opacity: 0.8; pointer-events: none;
}

.retail-brand .rbp-hero .hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(242, 241, 237, 0.05) 1px, transparent 0);
  background-size: 34px 34px;
}

.retail-brand .rbp-hero .overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.45) 100%);
  z-index: 3;
}

.retail-brand .rbp-hero .hero-content {
  z-index: 3;
  max-width: 980px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.retail-brand .rbp-hero .hero-eyebrow {
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #F2F1ED;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.retail-brand .rbp-hero .hero-eyebrow::before,
.retail-brand .rbp-hero .hero-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(155, 145, 133, 0.7);
}

.retail-brand .rbp-hero .hero-content h1 {
  font-size: 72px;
  line-height: 78px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #F2F1ED;
  text-align: center;
  margin: 0;
}
@media (max-width: 900px) {
  .retail-brand .rbp-hero .hero-content h1 {
    font-size: 54px;
    line-height: 60px;
  }
}
@media (max-width: 540px) {
  .retail-brand .rbp-hero .hero-content h1 {
    font-size: 38px;
    line-height: 44px;
  }
}

.retail-brand .rbp-hero .hero-subhead {
  font-family: "courier-std", monospace;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: #F2F1ED;
  text-align: center;
  max-width: 700px;
  margin: 0;
}
@media (max-width: 540px) {
  .retail-brand .rbp-hero .hero-subhead {
    font-size: 14px;
  }
}

.retail-brand .rbp-hero .btns-wrapper {
  margin-top: 12px;
}

.retail-brand .rbp-hero .hero-doc-id {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 3;
  font-family: "courier-std", monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(242, 241, 237, 0.8);
}
@media (max-width: 540px) {
  .retail-brand .rbp-hero .hero-doc-id {
    top: 20px;
    left: 20px;
    font-size: 9px;
    letter-spacing: 0.3em;
  }
}

.retail-brand .rbp-hero .hero-spec-line {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: "courier-std", monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(242, 241, 237, 0.75);
  text-transform: uppercase;
  white-space: nowrap;
}
.retail-brand .rbp-hero .hero-spec-line .prefix {
  color: rgba(242, 241, 237, 0.4);
  margin-right: -4px;
}
@media (max-width: 540px) {
  .retail-brand .rbp-hero .hero-spec-line {
    font-size: 9px;
    gap: 10px;
    bottom: 24px;
  }
}

/* --------------------------------------------------------------------------
   03 — SECTION SCAFFOLDING
   -------------------------------------------------------------------------- */
.retail-brand .rbp-section {
  position: relative;
}

.retail-brand .section-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #000;
}
.retail-brand .section-marker .sec-num {
  color: inherit;
  font-weight: 700;
}
.retail-brand .section-marker .sec-divider,
.retail-brand .section-marker .sec-label {
  color: #9B9185;
}
.retail-brand .section-marker .sec-rule {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin-left: 10px;
}
.retail-brand .section-marker.light {
  color: #F2F1ED;
}
.retail-brand .section-marker.light .sec-rule {
  background: rgba(242, 241, 237, 0.18);
}
@media (max-width: 540px) {
  .retail-brand .section-marker {
    font-size: 10px;
    gap: 10px;
    margin-bottom: 24px;
  }
}

.retail-brand .heading-rule {
  width: 60px;
  height: 1px;
  background: #9B9185;
  margin: 0 0 32px;
}

/* --------------------------------------------------------------------------
   04 — INTRO ( SEC. 01 )
   -------------------------------------------------------------------------- */
.retail-brand .rbp-intro {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.retail-brand .rbp-intro h2 {
  font-size: 56px;
  line-height: 1.08;
  text-align: left;
  letter-spacing: 0.005em;
  margin: 0 0 24px;
  color: #000;
}
@media (max-width: 768px) {
  .retail-brand .rbp-intro h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .retail-brand .rbp-intro h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

.retail-brand .rbp-intro .intro-body {
  max-width: 760px;
  margin: 0;
}
.retail-brand .rbp-intro .intro-body p {
  text-align: left;
  font-family: "courier-std", monospace;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: #000;
  margin-bottom: 18px;
}
.retail-brand .rbp-intro .intro-body p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   05 — STREAMS ( SEC. 02 ) — DARK — CENTERPIECE
   -------------------------------------------------------------------------- */
.retail-brand .rbp-streams {
  background: #364A39;
  color: #F2F1ED;
}

.retail-brand .rbp-streams h2 {
  font-size: 56px;
  line-height: 1.08;
  text-align: left;
  letter-spacing: 0.005em;
  margin: 0 0 16px;
  color: #F2F1ED;
}
@media (max-width: 768px) {
  .retail-brand .rbp-streams h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .retail-brand .rbp-streams h2 {
    font-size: 32px;
    line-height: 38px;
  }
}

.retail-brand .rbp-streams .streams-intro {
  font-family: "courier-std", monospace;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: rgba(242, 241, 237, 0.92);
  max-width: 660px;
  margin: 0 0 64px;
}

.retail-brand .stream-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(242, 241, 237, 0.22);
}

.retail-brand .stream-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 8px;
  border-bottom: 1px solid rgba(242, 241, 237, 0.22);
  transition: background-color 0.3s ease, padding 0.3s ease;
}
.retail-brand .stream-item:hover {
  background: rgba(155, 145, 133, 0.08);
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 900px) {
  .retail-brand .stream-item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 28px;
    padding: 28px 8px;
  }
  .retail-brand .stream-item .stream-tag {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 540px) {
  .retail-brand .stream-item {
    grid-template-columns: 60px 1fr;
    gap: 8px 20px;
    padding: 24px 4px;
  }
}

.retail-brand .stream-item .stream-num {
  font-family: "din-condensed", sans-serif;
  font-size: 96px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #9B9185;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .retail-brand .stream-item .stream-num {
    font-size: 76px;
  }
}
@media (max-width: 540px) {
  .retail-brand .stream-item .stream-num {
    font-size: 52px;
  }
}

.retail-brand .stream-item .stream-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.retail-brand .stream-item .stream-name {
  font-family: "din-condensed", sans-serif;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #F2F1ED;
  text-align: left;
  margin: 0;
  transition: color 0.3s ease;
}
.retail-brand .stream-item:hover .stream-name {
  color: #ffffff;
}
@media (max-width: 768px) {
  .retail-brand .stream-item .stream-name {
    font-size: 30px;
  }
}
@media (max-width: 480px) {
  .retail-brand .stream-item .stream-name {
    font-size: 24px;
  }
}

.retail-brand .stream-item .stream-desc {
  font-family: "courier-std", monospace;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: rgba(242, 241, 237, 0.85);
  margin: 0;
  max-width: 560px;
}

.retail-brand .stream-item .stream-tag {
  font-family: "courier-std", monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid #9B9185;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   06 — RECOVERY ( SEC. 03 )
   -------------------------------------------------------------------------- */
.retail-brand .rbp-recovery {
  background: #ffffff;
  color: #000;
}

.retail-brand .rbp-recovery h2 {
  font-size: 56px;
  line-height: 1.08;
  text-align: left;
  letter-spacing: 0.005em;
  margin: 0 0 16px;
  color: #000;
}
@media (max-width: 768px) {
  .retail-brand .rbp-recovery h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .retail-brand .rbp-recovery h2 {
    font-size: 32px;
    line-height: 38px;
  }
}

.retail-brand .rbp-recovery .recovery-intro {
  font-family: "courier-std", monospace;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: #000;
  max-width: 580px;
  margin: 0 0 64px;
}

.retail-brand .recovery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}
@media (max-width: 900px) {
  .retail-brand .recovery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .retail-brand .recovery-grid {
    grid-template-columns: 1fr;
  }
}

.retail-brand .rec-card {
  position: relative;
  padding: 36px 28px 32px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: background-color 0.3s ease;
}
.retail-brand .rec-card:hover {
  background: rgba(155, 145, 133, 0.08);
}
.retail-brand .rec-card .rec-num {
  font-family: "din-condensed", sans-serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #9B9185;
}
.retail-brand .rec-card .rec-rule {
  width: 28px;
  height: 1px;
  background: #9B9185;
  margin-bottom: 4px;
}
.retail-brand .rec-card .rec-name {
  font-family: "din-condensed", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  color: #364A39;
  margin: 0;
}
.retail-brand .rec-card p {
  font-family: "courier-std", monospace;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: #000;
  margin: 0;
}

/* --------------------------------------------------------------------------
   07 — LOGISTICS ( SEC. 04 ) — half-tone-beige
   -------------------------------------------------------------------------- */
.retail-brand .rbp-logistics {
  background: rgba(155, 145, 133, 0.08);
  color: #000;
}

.retail-brand .rbp-logistics h2 {
  font-size: 56px;
  line-height: 1.08;
  text-align: left;
  letter-spacing: 0.005em;
  margin: 0 0 16px;
  color: #000;
}
@media (max-width: 768px) {
  .retail-brand .rbp-logistics h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .retail-brand .rbp-logistics h2 {
    font-size: 32px;
    line-height: 38px;
  }
}

.retail-brand .rbp-logistics .logistics-intro {
  font-family: "courier-std", monospace;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: #000;
  max-width: 580px;
  margin: 0 0 64px;
}

.retail-brand .logistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}
@media (max-width: 900px) {
  .retail-brand .logistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .retail-brand .logistics-grid {
    grid-template-columns: 1fr;
  }
}

.retail-brand .log-tile {
  position: relative;
  padding: 36px 28px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  transition: background-color 0.3s ease;
}
.retail-brand .log-tile:hover {
  background: rgba(155, 145, 133, 0.14);
}
.retail-brand .log-tile .log-num {
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
}
.retail-brand .log-tile .log-name {
  font-family: "din-condensed", sans-serif;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #364A39;
  margin-top: auto;
}
.retail-brand .log-tile .log-desc {
  font-family: "courier-std", monospace;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #000;
}

/* --------------------------------------------------------------------------
   08 — BUILT FOR ( SEC. 05 ) — DARK
   -------------------------------------------------------------------------- */
.retail-brand .rbp-served {
  background: #364A39;
  color: #F2F1ED;
}

.retail-brand .rbp-served h2 {
  font-size: 52px;
  line-height: 1.08;
  text-align: left;
  letter-spacing: 0.005em;
  margin: 0 0 16px;
  color: #F2F1ED;
}
@media (max-width: 768px) {
  .retail-brand .rbp-served h2 {
    font-size: 38px;
    line-height: 44px;
  }
}
@media (max-width: 480px) {
  .retail-brand .rbp-served h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

.retail-brand .rbp-served .served-intro {
  font-family: "courier-std", monospace;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: rgba(242, 241, 237, 0.92);
  max-width: 580px;
  margin: 0 0 64px;
}

.retail-brand .served-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(242, 241, 237, 0.22);
  border-left: 1px solid rgba(242, 241, 237, 0.22);
}
@media (max-width: 1024px) {
  .retail-brand .served-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .retail-brand .served-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .retail-brand .served-grid {
    grid-template-columns: 1fr;
  }
}

.retail-brand .served-cell {
  position: relative;
  padding: 36px 24px;
  border-right: 1px solid rgba(242, 241, 237, 0.22);
  border-bottom: 1px solid rgba(242, 241, 237, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 170px;
  transition: background-color 0.3s ease;
}
.retail-brand .served-cell:hover {
  background: rgba(155, 145, 133, 0.1);
}
.retail-brand .served-cell .sv-num {
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
}
.retail-brand .served-cell .sv-name {
  font-family: "din-condensed", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #F2F1ED;
}

/* --------------------------------------------------------------------------
   09 — BOTTOM CTA
   -------------------------------------------------------------------------- */
.retail-brand .rbp-cta {
  background: #F2F1ED;
  color: #000;
}

.retail-brand .rbp-cta .cta-frame {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 56px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  text-align: center;
}
@media (max-width: 540px) {
  .retail-brand .rbp-cta .cta-frame {
    padding: 48px 24px;
  }
}

.retail-brand .rbp-cta .cta-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #364A39;
  border-style: solid;
  border-width: 0;
  background: transparent;
}
.retail-brand .rbp-cta .cta-corner-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.retail-brand .rbp-cta .cta-corner-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.retail-brand .rbp-cta .cta-corner-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.retail-brand .rbp-cta .cta-corner-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.retail-brand .rbp-cta .cta-tag {
  display: inline-block;
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #9B9185;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.retail-brand .rbp-cta h2 {
  font-family: "din-condensed", sans-serif;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 18px;
  color: #000;
}
@media (max-width: 540px) {
  .retail-brand .rbp-cta h2 {
    font-size: 32px;
    line-height: 38px;
  }
}
.retail-brand .rbp-cta p {
  font-family: "courier-std", monospace;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: #000;
  max-width: 520px;
  margin: 0 auto 32px;
  text-align: center;
}
.retail-brand .rbp-cta .btns-wrapper {
  margin: 0 auto;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   10 — RELATED SERVICES
   -------------------------------------------------------------------------- */
.retail-brand .rbp-related {
  background: #ffffff;
  padding: 56px 0 64px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.retail-brand .rbp-related .related-label {
  display: block;
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
  margin-bottom: 22px;
}
.retail-brand .related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
@media (max-width: 540px) {
  .retail-brand .related-links {
    gap: 22px;
  }
}
.retail-brand .related-links a {
  font-family: "din-condensed", sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.retail-brand .related-links a:hover {
  color: #364A39;
  border-bottom-color: #364A39;
}
