/* Homepage-only brand treatment. No shared navigation or catalog overrides. */
.thread-banner {
  --banner-red: #cb6018;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 18px;
  margin: 0 0 28px;
  padding: 24px 18px;
  min-height: 128px;
  container-type: inline-size;
  overflow: hidden;
  background: #f0e9dc;
  color: #292824;
  border: 1px solid #c5beb1;
  border-top: 3px solid var(--banner-red);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 #fff9;
}
.thread-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("./assets/textures/diamond-plate.webp") left center / 600px auto;
  opacity: .055;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000 0%, transparent 85%);
}
.thread-banner-rod {
  width: 100%;
  height: clamp(12px, 1.3vw, 18px);
  object-fit: fill;
}
.catalog-site-layout .thread-hero .thread-banner h1 {
  margin: 0;
  max-width: none;
  font-family: var(--font-display, "Cabinet Grotesk", sans-serif);
  font-size: clamp(16px, 5.3cqw, 36px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.thread-banner .thread-banner-opening {
  font-size: inherit;
  font-weight: 500;
  letter-spacing: -.01em;
}
.thread-banner h1 strong { color: var(--banner-red); font-weight: inherit; }
html[data-theme="dark"] body .thread-hero .thread-banner h1 strong { color: var(--banner-red); }
.thread-brand-word {
  display: inline-block;
  width: 5.24em;
  height: 1em;
  vertical-align: -.09em;
  background: currentColor;
  -webkit-mask: url("./assets/homepage/retmay-wordmark-mask.png") center / contain no-repeat;
  mask: url("./assets/homepage/retmay-wordmark-mask.png") center / contain no-repeat;
  overflow: hidden;
  text-indent: -9999px;
}

.catalog-site-layout .thread-hero { padding-top: 24px; }
.catalog-site-layout .thread-hero .hero-grid { align-items: stretch; }
.catalog-site-layout .thread-hero .hero-copy,
.catalog-site-layout .thread-hero .hero-side {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}
.thread-hero .hero-copy > .proof-row { margin-bottom: 28px; }
.thread-hero .hero-intro-card {
  margin-top: auto;
  padding: 24px;
  border: 1px solid #ffffff20;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.thread-hero .hero-intro-card .eyebrow {
  margin: 0 0 10px;
  font-size: var(--text-xs);
  letter-spacing: .1em;
}
.thread-hero .hero-intro-card h2 {
  margin: 0 0 12px;
  max-width: none;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.thread-hero .hero-intro-card .hero-intro-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #f2eee5;
}
.catalog-site-layout .thread-hero .hero-side .heritage-badge {
  margin-top: auto;
}
.thread-hero .hero-panel { margin-bottom: 0; }
[data-theme="dark"] .thread-banner {
  --banner-red: #cb6018;
  color: #fff8ec;
  background: #262b2c;
  border-color: #555b5c;
  border-top-color: var(--banner-red);
  box-shadow: inset 0 1px 0 #ffffff0d;
}
[data-theme="dark"] .thread-banner::before { opacity: .18; }
@media (max-width: 900px) {
  .thread-banner { margin:0 0 24px; }
}
@media (max-width: 600px) {
  .thread-banner { gap:16px; padding:22px 18px; min-height:0; }
  .catalog-site-layout .thread-hero .thread-banner h1 { font-size:25px; white-space:normal; text-wrap:balance; }
  .thread-banner .thread-banner-opening { display:block; }
  .thread-banner::before { mask-image:linear-gradient(#000,transparent); }
}
