/* ==========================================================================
   /thrift-store-partnerships/ — Thrift Store Textile Recovery
   --------------------------------------------------------------------------
   Standalone stylesheet, enqueued only when the Thrift Store Partnerships
   template is active. Mirrors src/sass/assets/_thrift-store-partnerships.scss.
   ========================================================================== */

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

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

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

.thrift-store .tsp-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: 30px 30px;
}

.thrift-store .tsp-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;
}

.thrift-store .tsp-hero .hero-content {
  z-index: 3;
  max-width: 940px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.thrift-store .tsp-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;
}
.thrift-store .tsp-hero .hero-eyebrow::before,
.thrift-store .tsp-hero .hero-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(155, 145, 133, 0.7);
}

.thrift-store .tsp-hero .hero-content h1 {
  font-size: 76px;
  line-height: 80px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #F2F1ED;
  text-align: center;
  margin: 0;
}
@media (max-width: 900px) {
  .thrift-store .tsp-hero .hero-content h1 {
    font-size: 60px;
    line-height: 66px;
  }
}
@media (max-width: 540px) {
  .thrift-store .tsp-hero .hero-content h1 {
    font-size: 42px;
    line-height: 48px;
  }
}

.thrift-store .tsp-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: 680px;
  margin: 0;
}
@media (max-width: 540px) {
  .thrift-store .tsp-hero .hero-subhead {
    font-size: 14px;
  }
}

.thrift-store .tsp-hero .btns-wrapper {
  margin-top: 12px;
}

.thrift-store .tsp-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) {
  .thrift-store .tsp-hero .hero-doc-id {
    top: 20px;
    left: 20px;
    font-size: 9px;
    letter-spacing: 0.3em;
  }
}

.thrift-store .tsp-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;
}
.thrift-store .tsp-hero .hero-spec-line .prefix {
  color: rgba(242, 241, 237, 0.4);
  margin-right: -4px;
}
@media (max-width: 540px) {
  .thrift-store .tsp-hero .hero-spec-line {
    font-size: 9px;
    gap: 10px;
    bottom: 24px;
  }
}

/* --------------------------------------------------------------------------
   03 — SECTION SCAFFOLDING
   -------------------------------------------------------------------------- */
.thrift-store .tsp-section {
  position: relative;
}

.thrift-store .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;
}
.thrift-store .section-marker .sec-num {
  color: inherit;
  font-weight: 700;
}
.thrift-store .section-marker .sec-divider,
.thrift-store .section-marker .sec-label {
  color: #9B9185;
}
.thrift-store .section-marker .sec-rule {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin-left: 10px;
}
.thrift-store .section-marker.light {
  color: #F2F1ED;
}
.thrift-store .section-marker.light .sec-rule {
  background: rgba(242, 241, 237, 0.18);
}
@media (max-width: 540px) {
  .thrift-store .section-marker {
    font-size: 10px;
    gap: 10px;
    margin-bottom: 24px;
  }
}

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

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

.thrift-store .tsp-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) {
  .thrift-store .tsp-intro h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .thrift-store .tsp-intro h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

.thrift-store .tsp-intro .intro-body {
  max-width: 760px;
  margin: 0;
}
.thrift-store .tsp-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;
}
.thrift-store .tsp-intro .intro-body p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   05 — PROCESS / HOW IT WORKS ( SEC. 02 ) — DARK — CENTERPIECE
   -------------------------------------------------------------------------- */
.thrift-store .tsp-process {
  background: #364A39;
  color: #F2F1ED;
}

.thrift-store .tsp-process 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) {
  .thrift-store .tsp-process h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .thrift-store .tsp-process h2 {
    font-size: 32px;
    line-height: 38px;
  }
}

.thrift-store .tsp-process .process-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 72px;
}

.thrift-store .process-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1024px) {
  .thrift-store .process-flow {
    grid-template-columns: 1fr 1fr;
    gap: 48px 32px;
  }
  .thrift-store .process-flow .process-arrow {
    display: none;
  }
}
@media (max-width: 540px) {
  .thrift-store .process-flow {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.thrift-store .process-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.thrift-store .process-step .step-num {
  font-family: "din-condensed", sans-serif;
  font-size: 84px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #9B9185;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .thrift-store .process-step .step-num {
    font-size: 72px;
  }
}
.thrift-store .process-step .step-rule {
  width: 36px;
  height: 1px;
  background: #9B9185;
}
.thrift-store .process-step .step-name {
  font-family: "din-condensed", sans-serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  color: #F2F1ED;
  margin: 0 0 4px;
}
.thrift-store .process-step p {
  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;
}

.thrift-store .process-arrow {
  font-family: "din-condensed", sans-serif;
  font-size: 32px;
  line-height: 1;
  color: rgba(155, 145, 133, 0.7);
  align-self: center;
  padding-top: 24px;
  user-select: none;
}

/* --------------------------------------------------------------------------
   06 — CATALOG ( SEC. 03 )
   -------------------------------------------------------------------------- */
.thrift-store .tsp-catalog {
  background: #ffffff;
  color: #000;
}

.thrift-store .tsp-catalog 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) {
  .thrift-store .tsp-catalog h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .thrift-store .tsp-catalog h2 {
    font-size: 32px;
    line-height: 38px;
  }
}

.thrift-store .tsp-catalog .catalog-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;
}

.thrift-store .catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}
@media (max-width: 768px) {
  .thrift-store .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .thrift-store .catalog-grid {
    grid-template-columns: 1fr;
  }
}

.thrift-store .catalog-cell {
  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;
  justify-content: space-between;
  gap: 18px;
  min-height: 160px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.thrift-store .catalog-cell:hover {
  background: rgba(155, 145, 133, 0.08);
}
.thrift-store .catalog-cell .cell-num,
.thrift-store .catalog-cell .cell-tag {
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
}
.thrift-store .catalog-cell .cell-name {
  font-family: "din-condensed", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #364A39;
}

/* The 15th cell — contact CTA */
.thrift-store .catalog-cell-cta {
  background: rgba(155, 145, 133, 0.06);
  border-right: 1px solid #364A39;
  border-bottom: 1px solid #364A39;
  border-top: 1px solid #364A39;
  border-left: 1px solid #364A39;
  margin: -1px 0 0 -1px;
}
.thrift-store .catalog-cell-cta:hover {
  background: #364A39;
}
.thrift-store .catalog-cell-cta:hover .cell-tag,
.thrift-store .catalog-cell-cta:hover .cell-name,
.thrift-store .catalog-cell-cta:hover .cell-link {
  color: #F2F1ED;
}
.thrift-store .catalog-cell-cta .cell-tag {
  color: #364A39;
  font-weight: 700;
}
.thrift-store .catalog-cell-cta .cell-name {
  color: #000;
}
.thrift-store .catalog-cell-cta .cell-link {
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #364A39;
  transition: color 0.3s ease, transform 0.3s ease;
}

.thrift-store .catalog-footnote {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: "courier-std", monospace;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: #000;
}
.thrift-store .catalog-footnote .footnote-label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
  font-weight: 700;
  margin-right: 14px;
}

/* --------------------------------------------------------------------------
   07 — PROGRAMS ( SEC. 04 ) — half-tone-beige
   -------------------------------------------------------------------------- */
.thrift-store .tsp-programs {
  background: rgba(155, 145, 133, 0.08);
  color: #000;
}

.thrift-store .programs-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 1024px) {
  .thrift-store .programs-grid {
    gap: 56px;
  }
}
@media (max-width: 900px) {
  .thrift-store .programs-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.thrift-store .programs-content h2 {
  font-size: 48px;
  line-height: 1.1;
  text-align: left;
  letter-spacing: 0.005em;
  margin: 0 0 24px;
  color: #000;
}
@media (max-width: 768px) {
  .thrift-store .programs-content h2 {
    font-size: 36px;
    line-height: 42px;
  }
}
@media (max-width: 480px) {
  .thrift-store .programs-content h2 {
    font-size: 28px;
    line-height: 34px;
  }
}

.thrift-store .programs-content p {
  font-family: "courier-std", monospace;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: #000;
  margin: 0 0 16px;
}
.thrift-store .programs-content p:last-child {
  margin-bottom: 0;
}

.thrift-store .programs-list-wrap {
  padding-top: 8px;
}
.thrift-store .programs-list-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.thrift-store .programs-list-header .list-tag {
  font-family: "courier-std", monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
  font-weight: 700;
}
.thrift-store .programs-list-header .list-rule {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.thrift-store .programs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.thrift-store .programs-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.thrift-store .programs-list li:last-child {
  border-bottom: none;
}
.thrift-store .programs-list .pr-num {
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
  font-weight: 700;
}
.thrift-store .programs-list .pr-name {
  font-family: "din-condensed", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #364A39;
}
@media (max-width: 540px) {
  .thrift-store .programs-list .pr-name {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   08 — SERVED ( SEC. 05 ) — DARK
   -------------------------------------------------------------------------- */
.thrift-store .tsp-served {
  background: #364A39;
  color: #F2F1ED;
}

.thrift-store .tsp-served 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) {
  .thrift-store .tsp-served h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .thrift-store .tsp-served h2 {
    font-size: 32px;
    line-height: 38px;
  }
}

.thrift-store .tsp-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;
}

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

.thrift-store .served-cell {
  position: relative;
  padding: 36px 28px;
  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: 160px;
  transition: background-color 0.3s ease;
}
.thrift-store .served-cell:hover {
  background: rgba(155, 145, 133, 0.1);
}
.thrift-store .served-cell .sv-num {
  font-family: "courier-std", monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #9B9185;
}
.thrift-store .served-cell .sv-name {
  font-family: "din-condensed", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #F2F1ED;
}

/* --------------------------------------------------------------------------
   09 — WHY IT MATTERS ( SEC. 06 )
   -------------------------------------------------------------------------- */
.thrift-store .tsp-why {
  background: #ffffff;
  color: #000;
}

.thrift-store .tsp-why .why-content {
  max-width: 760px;
  margin: 0;
}

.thrift-store .tsp-why 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) {
  .thrift-store .tsp-why h2 {
    font-size: 40px;
    line-height: 46px;
  }
}
@media (max-width: 480px) {
  .thrift-store .tsp-why h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

.thrift-store .tsp-why p {
  text-align: left;
  font-family: "courier-std", monospace;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: #000;
  margin: 0 0 18px;
}
.thrift-store .tsp-why p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10 — BOTTOM CTA
   -------------------------------------------------------------------------- */
.thrift-store .tsp-cta {
  background: #F2F1ED;
  color: #000;
}

.thrift-store .tsp-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) {
  .thrift-store .tsp-cta .cta-frame {
    padding: 48px 24px;
  }
}

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

.thrift-store .tsp-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;
}
.thrift-store .tsp-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) {
  .thrift-store .tsp-cta h2 {
    font-size: 32px;
    line-height: 38px;
  }
}
.thrift-store .tsp-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;
}
.thrift-store .tsp-cta .btns-wrapper {
  margin: 0 auto;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   11 — RELATED SERVICES
   -------------------------------------------------------------------------- */
.thrift-store .tsp-related {
  background: #ffffff;
  padding: 56px 0 64px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.thrift-store .tsp-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;
}
.thrift-store .related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
@media (max-width: 540px) {
  .thrift-store .related-links {
    gap: 22px;
  }
}
.thrift-store .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;
}
.thrift-store .related-links a:hover {
  color: #364A39;
  border-bottom-color: #364A39;
}
